diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-08-12 18:38:04 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-08-12 18:38:04 (GMT) |
commit | 4f0283db788fc1a0db94e7825567210021b3b594 (patch) | |
tree | eab3ec595784d2e3812234fe456069bd874df8f4 /src/H5Tconv.c | |
parent | ed51c0e302e1d422dcdd730448a8e9e06326985a (diff) | |
download | hdf5-4f0283db788fc1a0db94e7825567210021b3b594.zip hdf5-4f0283db788fc1a0db94e7825567210021b3b594.tar.gz hdf5-4f0283db788fc1a0db94e7825567210021b3b594.tar.bz2 |
Fixes a size mismatch when copying old-style to new-style references
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r-- | src/H5Tconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c index 15658cc..8bf36f0 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -3641,7 +3641,7 @@ H5T__conv_ref(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, if(0 == (buf_size = src->shared->u.atomic.u.r.cls->getsize( src->shared->u.atomic.u.r.file, s, src->shared->size, dst->shared->u.atomic.u.r.file, &dst_copy))) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "incorrect size") + HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "unable to obtain size of reference") /* Check if conversion buffer is large enough, resize if necessary. */ if(conv_buf_size < buf_size) { |