diff options
author | Songyu Lu <songyulu@hdfgroup.org> | 2019-02-12 19:48:49 (GMT) |
---|---|---|
committer | Songyu Lu <songyulu@hdfgroup.org> | 2019-02-12 19:48:49 (GMT) |
commit | 4e31361dad4add06792b652dbe5b97e501f9031d (patch) | |
tree | a8b1ca9d514a28d6d87e4a78d17994b27960891a /src/H5RS.c | |
parent | 9f9485a17a87b075f122b654c1f8426d9114a6df (diff) | |
download | hdf5-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/H5RS.c')
-rw-r--r-- | src/H5RS.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -137,7 +137,7 @@ done: REVISION LOG --------------------------------------------------------------------------*/ H5RS_str_t * -H5RS_wrap(char *s) +H5RS_wrap(const char *s) { H5RS_str_t *ret_value; /* Return value */ @@ -148,7 +148,7 @@ H5RS_wrap(char *s) HGOTO_ERROR(H5E_RS, H5E_NOSPACE, NULL, "memory allocation failed") /* Set the internal fields */ - ret_value->s = s; + ret_value->s = (char *)s; ret_value->wrapped = 1; ret_value->n = 1; |