IBM Support

LI76260: DEMANGLE MEMORY LEAK

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the provided Demangle function routine to demangle
    C++ names, the runtime appears to be leaking one byte per call.
    

Local fix

  • N/A
    

Problem summary

  • PROBLEM DESCRIPTION:
    A memory leak in the demangler interface may occur with certain
    input strings.  This is caused by heap allocations of one byte;
    which, in certain cases, are not reclaimed.
    
    USERS AFFECTED:
    Users of the demangler library in the C++ runtime or
    libdemangle.
    

Problem conclusion

  • Did not use heap allocation for the case where the memory would
    not be explicitly freed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76260

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5724X1400

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-07-12

  • Closed date

    2011-07-12

  • Last modified date

    2011-07-12

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

    IZ98620

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5724X1400

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B10","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
16 October 2021