PJ41403: CTL-3 CNGA FOR TLDR LOAD CONTAING AN @FILE STATEMENT

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • See Problem Summary
    

Local fix

  • na
    

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.
    

Problem conclusion

  • 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
    

Temporary fix

Comments

APAR Information

  • APAR number

    PJ41403

  • Reported component name

    Z/TPF

  • Reported component ID

    5748T1501

  • Reported release

    110

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-15

  • Closed date

    2013-10-22

  • Last modified date

    2013-10-22

  • 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

    Z/TPF

  • Fixed component ID

    5748T1501

Applicable component levels

  • R110 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

TPF
z/TPF

Software version:

110

Reference #:

PJ41403

Modified date:

2013-10-22

Translate my page

Machine Translation

Content navigation