summaryrefslogtreecommitdiffstats
path: root/src/H5Ocache.c
diff options
context:
space:
mode:
authorSongyu Lu <songyulu@hdfgroup.org>2019-02-12 19:48:49 (GMT)
committerSongyu Lu <songyulu@hdfgroup.org>2019-02-12 19:48:49 (GMT)
commit4e31361dad4add06792b652dbe5b97e501f9031d (patch)
treea8b1ca9d514a28d6d87e4a78d17994b27960891a /src/H5Ocache.c
parent9f9485a17a87b075f122b654c1f8426d9114a6df (diff)
downloadhdf5-4e31361dad4add06792b652dbe5b97e501f9031d.zip
hdf5-4e31361dad4add06792b652dbe5b97e501f9031d.tar.gz
hdf5-4e31361dad4add06792b652dbe5b97e501f9031d.tar.bz2
I'm bringing the fixes for the following Jira issues from the develop branch to 1.10 branch:
HDFFV-10571: Divided by Zero vulnerability. HDFFV-10601: Issues with chunk cache hash value calcuation. HDFFV-10607: Patches for warnings in the core libraries. HDFFV-10635: HDF5 library segmentation fault with H5Sselect_element.
Diffstat (limited to 'src/H5Ocache.c')
-rw-r--r--src/H5Ocache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ocache.c b/src/H5Ocache.c
index 1fa4b10..d63ceb1 100644
--- a/src/H5Ocache.c
+++ b/src/H5Ocache.c
@@ -1627,7 +1627,7 @@ H5O__chunk_deserialize(H5O_t *oh, haddr_t addr, size_t len, const uint8_t *image
done:
if(ret_value < 0 && udata->cont_msg_info->msgs) {
- udata->cont_msg_info->msgs = (H5O_chunk_t *)H5FL_SEQ_FREE(H5O_cont_t, udata->cont_msg_info->msgs);
+ udata->cont_msg_info->msgs = H5FL_SEQ_FREE(H5O_cont_t, udata->cont_msg_info->msgs);
udata->cont_msg_info->alloc_nmsgs = 0;
}
FUNC_LEAVE_NOAPI(ret_value)