Transaction Processing Facility (TPF) - Online Maintenance
TPF Online Maintenance
TPF Online Maintenance
Skip to:
Abstract |
Comments |
Solution |
Related Segments |
Migration |
Download
SUBJECT: APAR NUMBER: PJ27392
REFERENCE: AREA: ISO-C SUPPORT
SEGMENT: CHDLDI40 - RELEASE: TPF4 (ObjOnly)
SEGMENT: CHDLOR40 - RELEASE: TPF4 (ObjOnly)
Pre-requisite APARs are:
FOR SEGMENT CHDLDI40 (ObjOnly) - REL TPF4
PJ25084 PJ25632 PJ25807 PJ26575
FOR SEGMENT CHDLOR40 (ObjOnly) - REL TPF4
PJ25084 PJ26575
To be applied in the order listed for each segment.
ABSTRACT OF PROBLEM
___________________
CTL-4 occurs when a long DLL function or variable name not found
COMMENTS ON PROBLEM
___________________
A CTL-4 occurs when a very long DLL function name or variable
name is not found in the DLL. When this condition occurs, the
name is moved into a buffer in an output message and a message
and SNAPC should occur.
However, when the name is too large to fit into the space
allocated for the name in the message, the move overlays storage
beyond the buffer and corrupts the stack. The corruption of the
stack causes the CTL-4.
SOLUTION
________
Modified code to check the length of DLL function name or vari-
able name. If the name is less than 128 characters, the output
buffer contains the complete name. If the name is 128 charac-
ters or greater, the output buffer contains the truncated name
followed by a blank and an asterisk. The stack is no longer
corrupted, and a CTL-4 does not occur. Instead, an output
message occurs and a SNAPC occurs, as per the original design.
DEPENDENCIES
____________
Related Segments Affected By This APAR.
_______________________________________
Segments to be assembled or compiled:
Segments to be link edited:
CISO40
Load Modules to be loaded:
CISO40
Migration Considerations
========================
None
No - original messages are not changed. The message may contain a
truncated DLL function name or variable name, but the message format
does not change.
BUILD/TEST INSTRUCTIONS
_______________________
===BUILD Instructions===
No special build instructions.
Stubs to be built:
None
===TEST Instructions===
No special test instructions.
-- END APAR PJ27392
Download file(s):
Login once to access server, leave window open, then
click on link(s) below.
Source |
Binary |