summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-04-05 16:34:58 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-04-05 16:34:58 (GMT)
commit7fe665ebff3e86aaf1eef92199f757a5c0d1fe80 (patch)
treed0f3085bc418ef97fc6de7d867c024f317d85250 /src
parent9e934e75fa9a66bdd95fd3656ca0c19f910123c7 (diff)
downloadhdf5-7fe665ebff3e86aaf1eef92199f757a5c0d1fe80.zip
hdf5-7fe665ebff3e86aaf1eef92199f757a5c0d1fe80.tar.gz
hdf5-7fe665ebff3e86aaf1eef92199f757a5c0d1fe80.tar.bz2
Fix for HDFFV-10271 hyperslab encoding incorrect length.
Diffstat (limited to 'src')
-rw-r--r--src/H5Shyper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 4cb5e28..2a5da1e 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -3507,6 +3507,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) {