PJ41218: IN CERTAIN CASES A ZDBUG DISPLAY CAN RESULT IN AN OPR-4 OUT CDBS.
Closed as program error.
See 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.
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
Reported component name
Reported component ID
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