IBM Support

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

    IZ98620

  • Reported component name

    XLC C++ AIX

  • Reported component ID

    5724M1200

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-08

  • Closed date

    2011-05-11

  • Last modified date

    2011-05-12

Fix information

  • Fixed component name

    XL C++ RUNTIME

  • Fixed component ID

    5724U8101

Applicable component levels

  • RA10 PSY U843967

       UP C

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
12 May 2011