Skip to main content

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

Fix information

  • Fixed component name

    XL C/C++ AIX

  • Fixed component ID

    5724X1300

Applicable component levels

  • RB10 PSY U858036

       UP C

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

XL C/C++ for AIX


Software version:
11.1


Reference #:
IV28202


Modified date:
2013-02-08

Translate my page

Content navigation