IBM Support

LI76151: 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

    LI76151

  • Reported component name

    XL C/C++ RHEL52

  • Reported component ID

    5724U8310

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-10

  • Closed date

    2011-06-10

  • Last modified date

    2011-06-10

  • 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++ RHEL52

  • Fixed component ID

    5724U8310

Applicable component levels



Document information

More support for: XL C/C++

Software version: A.1

Reference #: LI76151

Modified date: 10 June 2011