IBM Support

IV28202: EMPTY STRUCT ASSIGNMENT OPERATOR WRITING BYTE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The default assignment operator for an empty struct is writing a
    single byte during the assignment.  This can cause unexpected
    output, or overwritten data when a class is cast as an empty
    struct and the assignment operator is used.
    

Local fix

  • N/A
    

Problem summary

  • PROBLEM DESCRIPTION:
    An implicit copy assignment operator copies 1 byte for an empty
    class.
    
    USERS AFFECTED:
    Copy assignment objects with empty class type or casting to
    empty class type before copy assignment.
    

Problem conclusion

  • The issue was corrected, and the 1 byte is no longer copied.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV28202

  • Reported component name

    XL C/C++ AIX

  • Reported component ID

    5724X1300

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-19

  • Closed date

    2013-02-07

  • Last modified date

    2013-02-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IV31746 LI77150 LI77442

Fix information

  • Fixed component name

    XL C/C++ AIX

  • Fixed component ID

    5724X1300

Applicable component levels

  • RB10 PSY U858036

       UP C

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
08 February 2013