PJ41218: IN CERTAIN CASES A ZDBUG DISPLAY CAN RESULT IN AN OPR-4 OUT CDBS.

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

  • n/a
    

Problem summary

  • APAR NUMBER:  PJ41218
    PRODUCT:  TPF4
    FUNCTIONAL AREA:  DEBUG TOOL SUPPORT
    SHIPPED IN PUT:  26
    
    ABSTRACT:
    With PJ26666 applied, a CTL-4, CTL-74, or other dumps may occur
    when doing a ZDBUG or ZDDBG DISPLAY command when the maximum
    number of program names are registered.
    
    APAR CONTENTS:
    FEATURE   TYPE                STATUS    NAME
    Base      C                   Changed   source/rt/base/cdbs.c
    
    PREREQUISITE APARS:  To be applied in order listed.
    Base      C                   Changed   source/rt/base/cdbs.c
      PJ25632(09)  PJ25983(10)  PJ25981(10)  PJ26600(11)
    PJ26666(11)  PJ27160(13)  PJ27224(13)  PJ27383(13)  PJ28193(16)
     PJ28649(17)  PJ28809(17)  PJ31041(20)  PJ30778(23)  PJ32220(23)
    
    COMMENTS:
    In the ZDBUG/ZDDBG DISPLAY command code, an array of 81
    characters was declared in cdbs.c as a local variable for the
    list of program names. 81 characters were copied from the
    registration entry into the local variable. Then an sprintf was
    used to create the output line to display the list of program
    names. However, if the last character was not NULL, the sprintf
    may write past the end of the buffer corrupting the stack. As a
    result, a variety of dumps may occur.
    

Problem conclusion

  • SOLUTION:
    The cdbs.c logic was updated to ensure that the program name
    list local variable is NULL terminated.
    
    
    DEPENDENCIES
    
    SEGMENTS TO BE ASSEMBLED OR COMPILED:
    None.
    
    SEGMENTS TO BE LINK EDITED:
    cdbs40.exe (Shipped in Tar File)
    
    COREQS:
    None.
    
    MIGRATION CONSIDERATIONS:
    None.
    
    UPDATED INFORMATION UNITS:
    None.
    
    See your IBM representative if you need additional information.
    
    DOWNLOAD INSTRUCTIONS:
    http://www.ibm.com/software/htp/tpf/pages/maint.htm
    

Temporary fix

Comments

APAR Information

  • APAR number

    PJ41218

  • Reported component name

    TPF 4.1

  • Reported component ID

    5748T1401

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-09

  • Closed date

    2013-07-01

  • Last modified date

    2013-07-01

  • 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

    TPF 4.1

  • Fixed component ID

    5748T1401

Applicable component levels

  • R410 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

TPF

Software version:

410

Reference #:

PJ41218

Modified date:

2013-07-01

Translate my page

Machine Translation

Content navigation