summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2019-04-06 03:18:00 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2019-04-06 03:18:00 (GMT)
commitf38fa53fee5e8caf1aa1a5356b48d692eb3a3d59 (patch)
tree9f63db17e5b054f77ddc054e544aac3e7c9f4133 /src/H5Shyper.c
parent227b7131d1e4b5edce1c3eecc9a7e7f560363093 (diff)
parent7fe665ebff3e86aaf1eef92199f757a5c0d1fe80 (diff)
downloadhdf5-f38fa53fee5e8caf1aa1a5356b48d692eb3a3d59.zip
hdf5-f38fa53fee5e8caf1aa1a5356b48d692eb3a3d59.tar.gz
hdf5-f38fa53fee5e8caf1aa1a5356b48d692eb3a3d59.tar.bz2
Merge pull request #1644 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10271-version-2-hyperslab-encoding to develop
* commit '7fe665ebff3e86aaf1eef92199f757a5c0d1fe80': Fix for HDFFV-10271 hyperslab encoding incorrect length.
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 0146bfd..6d42ec1 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -3506,6 +3506,7 @@ H5S__hyper_serialize(const H5S_t *space, uint8_t **p)
UINT64ENCODE(pp, space->select.sel_info.hslab->opt_diminfo[i].count);
UINT64ENCODE(pp, space->select.sel_info.hslab->opt_diminfo[i].block);
} /* end for */
+ len += (4 * space->extent.rank * 8);
} /* end if */
/* Check for a "regular" hyperslab selection */
else if(space->select.sel_info.hslab->diminfo_valid) {