Skip to main content

TPF : Support : Maintenance

Skip to: Abstract | Comments | Solution | Migration | Download

APAR NUMBER:  PJ32257                         
PRODUCT:  TPF4
FUNCTIONAL AREA:  CONTINUOUS DATA COLLECTION (CDC)
SHIPPED IN PUT:  23
 

ABSTRACT:
Correct core corruption problem caused by CDC.
 
APAR CONTENTS:
FEATURE   TYPE                STATUS    NAME                              
Base      C                   Changed   source/rt/base/cdco.c
Base      C                   Changed   source/rt/base/cdcp.c
Base      C                   Changed   source/rt/base/cdct.c
 
PREREQUISITE APARS:  To be applied in order listed.
Base      C                   Changed   source/rt/base/cdco.c
 PJ29925(19)  PJ30215(20)  PJ30503(20)  PJ30589(20)    
 PJ31144(21)  PJ31207(21)  
Base      C                   Changed   source/rt/base/cdcp.c
 PJ27095(12)  PJ27775(15)  PJ28097(15)  PJ29925(19)    
 PJ30137(19)  PJ30215(20)  PJ30233(20)  PJ30253(20)  PJ30251(20)  
 PJ30465(20)  PJ30503(20)  PJ30701(20)  PJ30589(20)    
 PJ30610(20)  PJ30946(20)  PJ31004(20)  PJ31135(20)  PJ31144(21)  
 PJ31207(21)  PJ31664(21)  PJ31660(21)  
Base      C                   Changed   source/rt/base/cdct.c
 PJ29925(19)  PJ30589(20)  PJ31207(21)  
 
COMMENTS:
CDC configuration settings are stored in files in the file
system: /etc/TPFCDC/TDSx & TDS2x, where x is the CPUID. There
is a flaw when reading these files if these files exist and are
zero length. Configuration files of zero length are created
when command ZCDCO DISP command is entered prior to entering
ZCDCO INIT or ZCDCO CREATE. The flaw allows CDC to run with
uninitialized configuration data. As a result a collection can
store data to a random location in memory and cause core
corruption.
 

SOLUTION:
The solution is to initialize the structure CDC_TDS_ENT to zero
before the configuration files are read. If a configuration
file is zero length, this will provide a predictable value for
the structure.

Also file error handling has been improved.
 
 

DEPENDENCIES
 
SEGMENTS TO BE ASSEMBLED OR COMPILED:
None.
 
SEGMENTS TO BE LINK EDITED:
cdco40.exe (Shipped in Tar File)
cdcp40.exe (Shipped in Tar File)
cdct40.exe (Shipped in Tar File)
 
COREQS:
None.
 

MIGRATION CONSIDERATIONS:
None.
 
UPDATED INFORMATION UNITS:
None.
 
See your IBM representative if you need additional information.
 

DOWNLOAD INSTRUCTIONS:
http://www.ibm.com/software/htp/tpf/pages/maint.htm

 
-- END APAR PJ32257
      



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