PJ40812: TPF_HTTP_PERFORM1() CAN RUN OUT OF ECB HEAP.

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • See Problem Summary
    

Local fix

  • na
    

Problem summary

  • APAR NUMBER:  PJ40812
    PRODUCT:  z/TPF
    FUNCTIONAL AREA:  CURL
    SHIPPED IN PUT:  11
    
    ABSTRACT:
    SSL may cause the tpf_httpPerform1 function to run out of ECB
    heap when heap check mode is on.
    
    PACKAGE CONTENTS:
    Source Segments:
    None.
    
    Object Only Binaries:
    None.
    
    Configuration Independent Binaries:
    None.
    
    Support Files:
    None.
    
    OTHER BINARIES TO BUILD: YES
    (C) opensource/curl/output/lib/libCURL.so
    (C) opensource/curl/output/load/CURL.so
    (C) opensource/curl/output/obj/ssluse.o
    
    COMMENTS:
    z/TPF's tpf_httpPerform1 function uses libCURL which in turn
    uses SSL. Ported SSL code repeatedly calls calloc() for small
    amounts of ECB heap storage. This can cause the ECB to run out
    of storage when heap check mode is on.
    

Problem conclusion

  • SOLUTION:
    Determine at build time if libCURL should use the
    ENGINE_load_builtin_engines and SSL_load_error_strings SSL
    functions.
    They will now be skipped by default.
    This will improve the performance of z/TPF's HTTP and FTP
    clients and avoid ECB heap depletion while in heap check mode.
    Refer to the "APAR URL" section for the location of the updated
    z/TPF-modified version of libCURL.
    
    COREQS: NO
    None.
    
    MIGRATION CONSIDERATIONS: NO
    None.
    
    BUILD COMMANDS AND INSTRUCTIONS: YES
    #maketpf commands for linux
    maketpf -f CURL ssluse.o
    maketpf CURL link TPF_VERIFY_LINK_REFS=NO
    maketpf CURL link
    
    UPDATED INFORMATION UNITS: NO
    None.
    
    See your IBM representative if you need additional information.
    
    DOWNLOAD INSTRUCTIONS:
    http://www.ibm.com/software/htp/tpf/pages/maint.htm
    
    APAR URL:
    http://www.ibm.com/software/htp/tpf/ztpfmaint/put11/PJ40812.htm
    http://www.ibm.com/software/htp/tpf/ztpfmaint/curl.html
    

Temporary fix

Comments

APAR Information

  • APAR number

    PJ40812

  • 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-01-02

  • Closed date

    2014-08-12

  • Last modified date

    2014-08-12

  • 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

Document information


More support for:

TPF
z/TPF

Software version:

110

Reference #:

PJ40812

Modified date:

2014-08-12

Translate my page

Machine Translation

Content navigation