summaryrefslogtreecommitdiffstats
path: root/src/H5Pint.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-06-22 00:30:16 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-06-22 00:31:56 (GMT)
commit5a6afeffd44c3ba51ce0e0fa11053c83e0807685 (patch)
tree886d2428bf9db02561fa4edf77eeb7234ec5b7c3 /src/H5Pint.c
parent7ef0e3f941b96b9fbec0787d896e144f77b746bc (diff)
downloadhdf5-5a6afeffd44c3ba51ce0e0fa11053c83e0807685.zip
hdf5-5a6afeffd44c3ba51ce0e0fa11053c83e0807685.tar.gz
hdf5-5a6afeffd44c3ba51ce0e0fa11053c83e0807685.tar.bz2
Put the memcpy overlap check back into H5MM.
Diffstat (limited to 'src/H5Pint.c')
-rw-r--r--src/H5Pint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Pint.c b/src/H5Pint.c
index 04411a5..0670adc 100644
--- a/src/H5Pint.c
+++ b/src/H5Pint.c
@@ -3133,7 +3133,7 @@ H5P__class_get(const H5P_genclass_t *pclass, const char *name, void *value)
HGOTO_ERROR(H5E_PLIST, H5E_BADVALUE, FAIL, "property has zero size")
/* Copy the property value */
- HDmemcpy(value, prop->value, prop->size);
+ H5MM_memcpy(value, prop->value, prop->size);
done:
FUNC_LEAVE_NOAPI(ret_value)
@@ -3189,7 +3189,7 @@ H5P__class_set(const H5P_genclass_t *pclass, const char *name, const void *value
HGOTO_ERROR(H5E_PLIST, H5E_BADVALUE, FAIL, "property has zero size")
/* Copy the property value */
- HDmemcpy(prop->value, value, prop->size);
+ H5MM_memcpy(prop->value, value, prop->size);
done:
FUNC_LEAVE_NOAPI(ret_value)