diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2012-03-15 19:16:24 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2012-03-15 19:16:24 (GMT) |
commit | 3ee8b91dee10390a31d60fb6578b7e874060a50e (patch) | |
tree | f5423bd673c4b99eea985cd5888796ad71788acc /src/H5Cprivate.h | |
parent | d849a118c28f7bcb57798c1222b539adeb8dbe2b (diff) | |
download | hdf5-3ee8b91dee10390a31d60fb6578b7e874060a50e.zip hdf5-3ee8b91dee10390a31d60fb6578b7e874060a50e.tar.gz hdf5-3ee8b91dee10390a31d60fb6578b7e874060a50e.tar.bz2 |
[svn-r22072] Purpose: Fix rare corruption bug (HDFFV-7879)
Description:
When using the new object header format, it was possible for corruption to occur
if the first object header chunk changed size such that the lenght of the "chunk
0 size" field changed. This only occurred if there were messages that had not
been decoded. The original algorithm that changed the object header chunk size
marked all messages as dirty, causing those that had not been decoded to have
both the raw and native form invalidated. Changed the algorithm to avoid
marking messages dirty and added assertions to catch the case where messages
are dirtied without being decoded (or recently created) first.
Tested: jam, koala, ostrich (h5committest), durandal
Diffstat (limited to 'src/H5Cprivate.h')
0 files changed, 0 insertions, 0 deletions