IBM Support

IV69040: REALLOC() MAY CORRUPT MALLOC META DATA IF DATA ULIMIT IS REACHED APPLIES TO AIX 6100-09

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Documentation of realloc: "If no memory object can be
    acquired to accommodate the request, the object remains
    unchanged."
    
    In case "realloc(Pointer, Size)" fails, as the data
    ulimit
    is reached (errno ENOMEM) the memory pointed to by
    "Pointer"
    gets corrupted and fails to be freed later on.
    

Local fix

  • Make sure the code execution never hits a data memory
    limit.
    

Problem summary

  • Realloc() corrupts malloc data if data limit is crossed.
    

Problem conclusion

  • Fixing the malloc data.
    

Temporary fix

Comments

  • 6100-09 - use AIX APAR IV69040
    7100-03 - use AIX APAR IV68988
    

APAR Information

  • APAR number

    IV69040

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2015-01-29

  • Closed date

    2015-01-29

  • Last modified date

    2015-05-22

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

    IV67641

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

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U869547

       UP15/05/19 I 1000



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV69040

Modified date: 22 May 2015