Skip to main content

Transaction Processing Facility (TPF) - Online Maintenance TPF : Support : Maintenance TPF : Support : Maintenance

JavaScript not Active

This page uses JavaScript. You must activate JavaScript in your browser to be sure youare able to view all of the information.

SUBJECT:         APAR  NUMBER: PJ27558  (HIPER)

REFERENCE:  AREA:     ISO-C SUPPORT
            SEGMENT:  CATOF40    - RELEASE:  TPF4  (ObjOnly)


Pre-requisite APARs are:
FOR SEGMENT CATOF40    (ObjOnly)   - REL TPF4
 PJ17852  PJ25089  PJ21337  PJ27367  
To be applied in the order listed for each segment.

ABSTRACT OF PROBLEM
___________________
With APAR PJ27367 applied, the atof() and strtod() functions may
produce unexpected behavior.


COMMENTS ON PROBLEM
___________________
APAR  PJ27367  modified  the  CATOF segment to provide long long
support.  However, when initializing a variable, the  code  ini-
tialized  past  the  end  of the variable's storage area.   This
resulted in following  variables  being  corrupted.    This  may
produce unpredictable behavior for the atof() and strtod() func-
tions.


SOLUTION
________
Initialized the variable correctly using the proper length.

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
Message changes
--------------------------------
no


BUILD/TEST INSTRUCTIONS
_______________________

-- END APAR PJ27558




Download file(s): Login once to access server, leave window open, then click on link(s) below. Source Binary