diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-06-19 00:28:37 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-06-19 00:28:37 (GMT) |
commit | 6a1e9a1fbe9606d0dd3452092cab17794e131e64 (patch) | |
tree | ad7de59c41adc97fe9e34274725aa11c8832a3ba /src | |
parent | 10535e0376d88e218cab782322bfc06f35835f31 (diff) | |
download | hdf5-6a1e9a1fbe9606d0dd3452092cab17794e131e64.zip hdf5-6a1e9a1fbe9606d0dd3452092cab17794e131e64.tar.gz hdf5-6a1e9a1fbe9606d0dd3452092cab17794e131e64.tar.bz2 |
Fixed a problem in the ohdr test where hard-coded strings passed
to H5Awrite() triggered -fsanitize failures.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Aint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Aint.c b/src/H5Aint.c index 2126444..808d9b3 100644 --- a/src/H5Aint.c +++ b/src/H5Aint.c @@ -771,7 +771,7 @@ H5A__write(H5A_t *attr, const H5T_t *mem_type, const void *buf) if(NULL == (attr->shared->data = H5FL_BLK_MALLOC(attr_buf, dst_type_size * nelmts))) HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "memory allocation failed") - /* Copy the attribute data into the user's buffer */ + /* Copy the attribute data into the attribute data buffer */ H5MM_memcpy(attr->shared->data, buf, (dst_type_size * nelmts)); } /* end else */ |