IBM Support

MF58741 - OSP-OTHER-UNPRED incorrect pointer arithmetic in optimized c

PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

OSP-OTHER-UNPRED incorrect pointer arithmetic in optimized c


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
NONE



NOTICE:
-------
Application of this PTF may disable or render ineffective programs that
use system memory addresses not generated by the IBM translator,
including programs that circumvent control technology designed to limit
interactive capacity to purchased levels.  This PTF may be a prerequisite
for future PTFs.  By applying this PTF you authorize and agree to the
foregoing.

This PTF is subject to the terms of the 'IBM License Agreement for Machine
Code', the terms of which were provided in a printed document that was
delivered with the machine.

SUBJECT TO ANY WARRANTIES WHICH CAN NOT BE EXCLUDED OR EXCEPT AS EXPLICITLY
AGREED TO IN THE APPLICABLE LICENSE AGREEMENT OR AN APPLICABLE SUPPORT
AGREEMENT, IBM MAKES NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON INFRINGEMENT,
REGARDING THE PTF.





APAR Error Description / Circumvention

-----------------------------------------------
Integrated Language Environment (ILE) modules, programs, and
service programs created with optimization levels 30 (*FULL) or
40 may compute incorrect pointer addresses.  Symptoms may
include exceptions (MCH0601, MCH3402, MCH3601), null pointers,
or unpredictable behavior caused by addressing an incorrect
memory location.

CORRECTION FOR APAR MA43862 :
-----------------------------
Licensed Internal Code for the optimizing translator has been
changed to generate correct pointer addresses.  Affected
modules, programs, and service programs must be re-created.

CIRCUMVENTION FOR APAR MA43862 :
--------------------------------
Change the module, program, or service program to use a low
optimization level (10 or 20).  For example:
CHGPGM ... OPTIMIZE(20)


Activation Instructions


None.




Special Instructions


If you have not experienced this problem, nothing needs to
be done.  If you have experienced this problem, you need to
do the following to re-create each affected program:

Use the DSPPGM or DSPSRVPGM command to see whether observable
information exists.

If the program has all observable information, then use the
CHGPGM or CHGSRVPGM command with keyword FRCCRT(*YES) to force
program re-creation.

If creation data has been made unobservable, you can
re-create the programs using other methods. One way is to
restore the programs, either after setting the QFRCCVNRST
system value to 7 or by specifying the FRCOBJCVN(*YES *ALL)
parameter on the restore command (RST, RSTOBJ or RSTLIB).
Another way to re-create programs without observable
creation data is to recompile the program source code, using
your choice of optimization level.


Default Instructions

THIS IS A DELAYED PTF TO BE APPLIED AT IPL TIME.



Supersedes

PTF/FIX NO(S).  APAR TITLE LINE
--------------  ------------------------------------------------------------
     NONE

Summary Information

System.............................. i
Models..............................
Release............................. V7R2M0
Licensed Program............... 5770999
APAR Fixed.......................... View details for APAR MA43862
Superseded by:......................
Recompile........................... Y
Library............................. QSYS
MRI Feature ........................ NONE
Cum Level........................... C4276720


System i Support

IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information.

Document information

More support for: i family

Software version: V7R2M0

Operating system(s): OS/400

Reference #: MF58741

Modified date: 22 August 2014