IBM Support

IV52738: SCANDIR/SCANDIR64 NAMELIST POSSIBLE MEMORY LEAK APPLIES TO AIX 7100-03

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

    IV52738

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-12-02

  • Closed date

    2013-12-02

  • Last modified date

    2014-05-23

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

    IV45246

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

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U866404

       UP14/05/22 I 1000



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV52738

Modified date: 23 May 2014