IBM Support

IV67641: REALLOC() MAY CORRUPT MALLOC META DATA IF DATA ULIMIT IS REACHED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

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

  • Issue with realloc() where it currupts malloc metada if data
    limit is reached.
    

Problem conclusion

Temporary fix

Comments

  • This APAR is being closed FIN. This means that a solution to
    this APAR is expected to be delivered from IBM in a release
    (if any) to be available within the next 24 months.
    

APAR Information

  • APAR number

    IV67641

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-12-07

  • Closed date

    2015-01-28

  • Last modified date

    2015-01-30

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

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

    IV68988 IV69040 IV69077

Fix information

Applicable component levels

  • R710 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 January 2015