A fix is available
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:
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
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
23 May 2014