IBM Support

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

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

APAR Information

  • APAR number

    IV69077

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2015-01-30

  • Closed date

    2015-01-30

  • Last modified date

    2015-11-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 V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U871299

       UP15/11/22 I 1000

[{"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:
22 November 2015