IBM Support

IV52273: SCANDIR/SCANDIR64 NAMELIST POSSIBLE MEMORY LEAK APPLIES TO AIX 6100-09

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • scandir/scandir64 second argument
    
      struct dirent * (* NameList [ ]);
    
    may produce core if not initially set to nil
    
    API documentation states The memory allocated to the
    array [NameList] can be deallocated by freeing each
    pointer
    in the array, and the array itself, with the free
    subroutine.
    
    scandir/scandir64 should set NameList array to nil if no
    memory
    has been allocated.
    

Local fix

Problem summary

  • SCANDIR/SCANDIR64 NAMELIST POSSIBLE MEMORY LEAK
    

Problem conclusion

  • fixed the memory leak .
    

Temporary fix

Comments

  • 6100-09 - use AIX APAR IV52273
    6100-09 - use AIX APAR IV52273
    6100-09 - use AIX APAR IV52273
    7100-03 - use AIX APAR IV52738
    

APAR Information

  • APAR number

    IV52273

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-11-19

  • Closed date

    2013-11-19

  • Last modified date

    2014-05-22

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

    IV45246

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

    U866357

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U866357

       UP14/05/21 I 1000



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV52273

Modified date: 22 May 2014