IBM Support

IV45246: SCANDIR/SCANDIR64 NAMELIST POSSIBLE MEMORY LEAK

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

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

Temporary fix

Comments

  • This APAR is being closed FIN. This means that a solution to
    this APAR is expected to be delivered from IBM in a release
    (if any) to be available within the next 24 months.
    

APAR Information

  • APAR number

    IV45246

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-07-08

  • Closed date

    2013-10-15

  • Last modified date

    2013-12-02

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

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

    IV52273 IV52738

Fix information

Applicable component levels

  • R610 PSY

       UP



Document information

More support for: AIX Enterprise Edition

Software version: 610

Operating system(s): AIX

Reference #: IV45246

Modified date: 02 December 2013