Skip to main content

TPF : Support : Maintenance

JavaScript not Active

TPF maintenance uses JavaScript. To download maintenance files you must activate JavaScript in your browser. Viewing APAR description files does not require JavaScript.

Skip to: Abstract | Comments | Solution | Related Segments | Migration | Download
APAR NUMBER:  PJ28372
PRODUCT:  TPF4
FUNCTIONAL AREA:  ISO-C SUPPORT
SHIPPED IN PUT:  16


ABSTRACT:
PJ28372 seals a memory leak located in cicont.c used by ICONV.

APAR CONTENTS:
FEATURE   TYPE                STATUS    NAME
Base      Object              Changed   obj/oco/cicont40.o

PREREQUISITE APARS:  To be applied in order listed.
Base      Object              Changed   obj/oco/cicont40.o
 PJ21337(12)  PJ27634(14)  PJ27786(15)


COMMENTS:
PJ28372 addresses a memory leakage issue with the iconv_open() api.
Iconv_open() will malloc
a "iconv_t" structure which it uses for
iconv() api processing.  Inside this structure iconv_open() will malloc
three more members.  Iconv_close() releases the memory for the structure
but not the members.  Hence, any application using ICONV processing will
have a small memory leak for every call.  However, this
leak can grow
to significant sizes when dealing with long life ECBs.


SOLUTION:
PJ28372 solves the memory leak issue in ICONV processing by simply
freeing the members of the structure
within the iconv_close() api.


DEPENDENCIES


SEGMENTS TO BE ASSEMBLED OR COMPILED:
None.


SEGMENTS TO BE LINK EDITED:
ciso40.exe (Shipped in Tar File)

COREQS:
None.


MIGRATION CONSIDERATIONS:
None.

DOWNLOAD INSTRUCTIONS:
http://www.ibm.com/software/htp/tpf/pages/maint.htm

-- END APAR PJ28372




Download file(s): Login once to access server, leave window open, then click on link(s) below. Source Binary