summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2019-04-06 03:20:43 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2019-04-06 03:20:43 (GMT)
commitbd54c3022bbd2742ec900f10579769542f3ef5fa (patch)
tree9f63db17e5b054f77ddc054e544aac3e7c9f4133 /src/H5Shyper.c
parentace8e1a64f1c207288c0d557210134e959bc1252 (diff)
parentf38fa53fee5e8caf1aa1a5356b48d692eb3a3d59 (diff)
downloadhdf5-bd54c3022bbd2742ec900f10579769542f3ef5fa.zip
hdf5-bd54c3022bbd2742ec900f10579769542f3ef5fa.tar.gz
hdf5-bd54c3022bbd2742ec900f10579769542f3ef5fa.tar.bz2
Merge pull request #2 in ~VCHOI/my_third_fork from develop to bugfix/HDFFV-10365-h5sencode-decode-bug-when-num
* commit 'f38fa53fee5e8caf1aa1a5356b48d692eb3a3d59': 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) {