diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-11-20 12:38:39 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-11-20 12:38:39 (GMT) |
commit | 973c40d85f97e283919eb8145b3f14d0ff6204d7 (patch) | |
tree | be2caa63b1edf10bc66e8ca133f785a0adb6ebfc | |
parent | 5f91db8d68d20d8106a58467c73fce15a953807a (diff) | |
download | hdf5-973c40d85f97e283919eb8145b3f14d0ff6204d7.zip hdf5-973c40d85f97e283919eb8145b3f14d0ff6204d7.tar.gz hdf5-973c40d85f97e283919eb8145b3f14d0ff6204d7.tar.bz2 |
[svn-r6104] Purpose:
Bug Fix
Description:
Free blocks of space in the file which were merged with a block before them
were not updating the free list information correctly, allowing space in
the file to over-allocated and potentially corrupted.
Solution:
Correct address of free block during merging.
Platforms tested:
Tested h5committest {arabica (fortran), eirene (fortran, C++)
modi4 (parallel, fortran)}
FreeBSD 4.7 (sleipnir)
-rw-r--r-- | src/H5FD.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1879,6 +1879,7 @@ H5FD_free(H5FD_t *file, H5FD_mem_t type, haddr_t addr, hsize_t size) curr->size+=size; /* Adjust the information about to memory block to include the merged block */ + addr=curr->addr; size=curr->size; /* Update the information about the merged node */ |