diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2010-04-15 19:22:26 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2010-04-15 19:22:26 (GMT) |
commit | 4fa6fd807dddf42e14d2c4c1c40caf11674bb849 (patch) | |
tree | ad5ab770cb6336c52eb4e17198d75510a436b2e1 /src/H5B.c | |
parent | 597e1d894ed72095f1d12217d3343ee2e78cbefd (diff) | |
download | hdf5-4fa6fd807dddf42e14d2c4c1c40caf11674bb849.zip hdf5-4fa6fd807dddf42e14d2c4c1c40caf11674bb849.tar.gz hdf5-4fa6fd807dddf42e14d2c4c1c40caf11674bb849.tar.bz2 |
[svn-r18568] Purpose: Fix error in call to memmove() in H5B_remove_helper. This error was
only reproducible through the use of electric fence.
Tested: Fedora (too minor for h5committest)
Diffstat (limited to 'src/H5B.c')
-rw-r--r-- | src/H5B.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1511,7 +1511,7 @@ H5B_remove_helper(H5F_t *f, hid_t dxpl_id, haddr_t addr, const H5B_class_t *type HDmemmove(bt->child + idx, bt->child + idx + 1, - (bt->nchildren - idx) * sizeof(haddr_t)); + (bt->nchildren - 1 - idx) * sizeof(haddr_t)); bt->nchildren -= 1; bt_flags |= H5AC__DIRTIED_FLAG; |