IBM Support

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

    IV00332

  • Reported component name

    XLC C++ AIX

  • Reported component ID

    5724S7100

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-11

  • Closed date

    2011-05-11

  • Last modified date

    2011-05-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

    XLC C++ AIX

  • Fixed component ID

    5724S7100

Applicable component levels

[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0"}]

Document Information

Modified date:
27 September 2021