A fix is available
APAR status
Closed as program error.
Error description
c/c++ applications that use fseek(SEEK_CUR) with a negative offset to seek backwards across volumes in a multivolume data set, and then call fread() to read data from the new position, may experience data loss.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: C/C++ users that use fseek(SEEK_CUR) * * with a negative offset to get a previous * * position across volumes on a multivolume * * data set. * **************************************************************** * PROBLEM DESCRIPTION: Using fseek(SEEK_CUR) with a negative * * offset to seek backwards across * * volumes in a multivolume data set, * * and then calling fread() to * * read data from the new position, may * * cause data loss. * **************************************************************** * RECOMMENDATION: * **************************************************************** Data loss may occur after calling fseek(SEEK_CUR) with a negative offset (used to seek backwards across volumes), followed by an fread() call used to read data from a multivolume data set.
Problem conclusion
Code is updated to prevent problem as described in the Problem Description.
Temporary fix
********* * HIPER * *********
Comments
APAR Information
APAR number
PK29718
Reported component name
LE C LIBRARY
Reported component ID
568819805
Reported release
730
Status
CLOSED PER
PE
NoPE
HIPER
YesHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2006-08-10
Closed date
2006-08-14
Last modified date
2006-10-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK17176
Modules/Macros
CELHOSRB CELQOSRB EDC40038
Fix information
Fixed component name
LE C LIBRARY
Fixed component ID
568819805
Applicable component levels
R730 PSY UK17176
UP06/08/29 P F608
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.
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVSBD","label":"Runtime"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"730","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"730","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":null,"label":null},"Product":{"code":"SG19O","label":"APARs - MVS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"730","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
03 October 2006