summaryrefslogtreecommitdiffstats
path: root/src/H5WB.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-13 17:10:02 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-13 17:10:02 (GMT)
commit1ce8ff1fea6b87732dc8a4acf2c995bb3fb6ea92 (patch)
tree3747cb9b67ba0190bdc72f0aff78fb8cfbea183b /src/H5WB.c
parent8ec3ad3d93c31d1ab8766fddd7190e2843d059d3 (diff)
downloadhdf5-1ce8ff1fea6b87732dc8a4acf2c995bb3fb6ea92.zip
hdf5-1ce8ff1fea6b87732dc8a4acf2c995bb3fb6ea92.tar.gz
hdf5-1ce8ff1fea6b87732dc8a4acf2c995bb3fb6ea92.tar.bz2
Check whether or not the shadow entry size is different from the
pagebuffer entry size. If the sizes are different, then release the old shadow space (using the correct size) and set the shadow page number to 0 so that H5F_update_vfd_swmr_metadata_file() will allocate new shadow space with the right size. Vailin says that this fixes the bug she found, where a 4096-byte buffer allocated by H5MV_alloc() is released with H5MV_free() as if it was 8192 bytes long.
Diffstat (limited to 'src/H5WB.c')
0 files changed, 0 insertions, 0 deletions