summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2019-01-04 17:46:29 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2019-01-04 17:46:29 (GMT)
commitf891c38c6e724e9032a534512618b9650be76377 (patch)
tree9738f44c0b6c826dd20638114c6c089fc94e49b1 /test
parent74a3710a996fca5ed7fcb4dd8919a7a8521de1de (diff)
downloadhdf5-f891c38c6e724e9032a534512618b9650be76377.zip
hdf5-f891c38c6e724e9032a534512618b9650be76377.tar.gz
hdf5-f891c38c6e724e9032a534512618b9650be76377.tar.bz2
Fixed CVE division-by-zero issues
Description: Fixed HDFFV-10577 and similar issues found in H5Dchunk.c. All the occurrences are in: H5D__create_chunk_map_single H5D__create_chunk_file_map_hyper H5D__chunk_allocate H5D__chunk_update_old_edge_chunks H5D__chunk_prune_by_extent H5D__chunk_copy_cb H5D__chunk_collective_fill Also updated RELEASE.txt for the chunk query functions and removed some blank lines in chunk_info.c. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1010test)
Diffstat (limited to 'test')
-rw-r--r--test/chunk_info.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/chunk_info.c b/test/chunk_info.c
index f5a6fdc..866fd68 100644
--- a/test/chunk_info.c
+++ b/test/chunk_info.c
@@ -1484,19 +1484,19 @@ test_get_chunk_info_110(hid_t fapl)
/* Set version bounds for creating file */
if(H5Pset_libver_bounds(fapl, low, high) < 0)
TEST_ERROR
-
+
/* Test getting chunk info when Single Chunk index type is used */
if(test_chunk_info_single_chunk(filename, fapl) < 0)
TEST_ERROR
-
+
/* Test getting chunk info when Implicit index type is used */
if(test_chunk_info_implicit(filename, fapl) < 0)
TEST_ERROR
-
+
/* Test getting chunk info when Fixed Array index type is used */
if(test_chunk_info_fixed_array(filename, fapl) < 0)
TEST_ERROR
-
+
/* Test getting chunk info when Extensible Array index type is used */
if(test_chunk_info_extensible_array(filename, fapl) < 0)
TEST_ERROR