PJ41403: CTL-3 CNGA FOR TLDR LOAD CONTAING AN @FILE STATEMENT
Closed as program error.
See Problem Summary
APAR NUMBER: PJ41403 PRODUCT: z/TPF FUNCTIONAL AREA: LOADERS SHIPPED IN PUT: 10 ABSTRACT: Due to PJ32902, a CTL-3 (I000003) key protection exception may occur when loading a file using the image loader. PACKAGE CONTENTS: Source Segments: (C) base/rt/cill.c Object Only Binaries: None. Configuration Independent Binaries: (C) base/lib/libCNGA.so (C) base/load/CNGA.so (C) base/obj/cill.o Support Files: base/lst/CNGA.map base/lst/cill.lst OTHER BINARIES TO BUILD: NO None. COMMENTS: In segment cill.c, a malloc buffer is obtained when a data file needs to be converted from ASCII to EBCDIC. The malloc buffer is not obtained if the data file does not need to be converted from ASCII to EBCDIC. If the data file is large enough (more than 64 4KB records) then an attempt is made to initialize the malloc buffer to zeroes without checking if ASCII to EBCDIC conversion is being done. If no ASCII to EBCDIC conversion is being done on the data file then the initialization is attempted on a malloc buffer with an address of NULL. This causes a CTL-3 key protection exception. Also, a reference to a malloc buffer is made after the malloc buffer has been freed.
SOLUTION: Segment cill.c has been updated to check if the data file needs to be converted from ASCII to EBCDIC before initializing the malloc buffer. Also, the malloc buffer is freed after all references to the malloc buffer are done. COREQS: NO None. MIGRATION CONSIDERATIONS: NO None. BUILD COMMANDS AND INSTRUCTIONS: YES #maketpf commands for linux maketpf -f CNGA cill.o maketpf CNGA link TPF_VERIFY_LINK_REFS=NO maketpf CNGA link UPDATED INFORMATION UNITS: NO None. See your IBM representative if you need additional information. DOWNLOAD INSTRUCTIONS: http://www.ibm.com/software/htp/tpf/maint/maintztpf.html APAR URL: http://www.ibm.com/software/htp/tpf/ztpfmaint/put10/PJ41403.htm
Reported component name
Reported component ID
NoSpecatt / Xsystem
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
Fixed component ID
Applicable component levels