A fix is available
APAR status
Closed as program error.
Error description
mvs31fre cannot tolerate an element passed in to free from the I/O pool structure, which does not have a proper alloc header and thus the pgm check. Underneath that, there is a double free for a buffer. During fclose processing, through the I/O peg a call is made to osfree. osfree+BC frees mbufptr->buffer then later in the same routine osfree+EA frees fcb->savedbuf. When these two fields invalidly point to the same buffer, the double free occurs.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: C/C++ applications using fixed or variable * * datasets with type=record and * * multibuffering. * **************************************************************** * PROBLEM DESCRIPTION: C/C++ applications using type=record * * datasets with multibuffering may see a * * program check in mvs31fre. * **************************************************************** * RECOMMENDATION: * **************************************************************** See problem description.
Problem conclusion
The code was changed to fix the problem.
Temporary fix
Comments
APAR Information
APAR number
PM74689
Reported component name
LE C LIBRARY
Reported component ID
568819805
Reported release
770
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-10-10
Closed date
2013-02-05
Last modified date
2013-03-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK91402 UK91403
Modules/Macros
CELHP074 CELHP082 CELQP074 CELQP082 EDC4004F EDC40050
Fix information
Fixed component name
LE C LIBRARY
Fixed component ID
568819805
Applicable component levels
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.