summaryrefslogtreecommitdiffstats
path: root/test/CMakeTests.cmake
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2017-08-22 06:36:20 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2017-08-30 15:26:19 (GMT)
commitf6c94f3ba60d071ce1ba8b731a66e47fbc39c095 (patch)
tree85abe26d8eeaf8b8e75b8c5a0dc79c77008fcb15 /test/CMakeTests.cmake
parent56f532b1c6263035e38fc9b4845a0b312f9b0f9a (diff)
downloadhdf5-f6c94f3ba60d071ce1ba8b731a66e47fbc39c095.zip
hdf5-f6c94f3ba60d071ce1ba8b731a66e47fbc39c095.tar.gz
hdf5-f6c94f3ba60d071ce1ba8b731a66e47fbc39c095.tar.bz2
Fix for HDFFV-10216 segfault in H5G_node_cmp3 with corrupt h5 file
Fix H5HL_offset_into() to return error when offset exceeds heap data block size. Also fix other places that call this routine to detect error return.
Diffstat (limited to 'test/CMakeTests.cmake')
-rw-r--r--test/CMakeTests.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index 94b099c..ca2ca77 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -183,6 +183,7 @@ endforeach ()
set (HDF5_REFERENCE_TEST_FILES
aggr.h5
bad_compound.h5
+ bad_offset.h5
be_data.h5
be_extlink1.h5
be_extlink2.h5
@@ -1307,6 +1308,7 @@ if (HDF5_BUILD_GENERATORS)
# generator executables
set (H5_GENERATORS
+ gen_bad_offset
gen_bad_ohdr
gen_bogus
gen_cross