Fix for HDFFV-10333:
1) Check for valid object header version for a refcount messge 2) Check for invalid fill value size 3) Check for invalid dimension size in a layout message 4) Add --enable-error-stack option to h5stat 5) Add error checks to h5stat.c 6) Add tests to h5stat and h5dump
This commit is contained in:
committed by
M. Scot Breitenfeld
parent
256f74f532
commit
78d4fbddbd
2
tools/test/h5stat/testfiles/h5stat_err_old_fill.ddl
Normal file
2
tools/test/h5stat/testfiles/h5stat_err_old_fill.ddl
Normal file
@@ -0,0 +1,2 @@
|
||||
Filename: h5stat_err_old_fill.h5
|
||||
h5stat error: unable to traverse objects/links in file "h5stat_err_old_fill.h5"
|
||||
BIN
tools/test/h5stat/testfiles/h5stat_err_old_fill.h5
Normal file
BIN
tools/test/h5stat/testfiles/h5stat_err_old_fill.h5
Normal file
Binary file not shown.
2
tools/test/h5stat/testfiles/h5stat_err_old_layout.ddl
Normal file
2
tools/test/h5stat/testfiles/h5stat_err_old_layout.ddl
Normal file
@@ -0,0 +1,2 @@
|
||||
Filename: h5stat_err_old_layout.h5
|
||||
h5stat error: unable to traverse objects/links in file "h5stat_err_old_layout.h5"
|
||||
BIN
tools/test/h5stat/testfiles/h5stat_err_old_layout.h5
Normal file
BIN
tools/test/h5stat/testfiles/h5stat_err_old_layout.h5
Normal file
Binary file not shown.
2
tools/test/h5stat/testfiles/h5stat_err_refcount.ddl
Normal file
2
tools/test/h5stat/testfiles/h5stat_err_refcount.ddl
Normal file
@@ -0,0 +1,2 @@
|
||||
Filename: h5stat_err_refcount.h5
|
||||
h5stat error: unable to traverse objects/links in file "h5stat_err_refcount.h5"
|
||||
BIN
tools/test/h5stat/testfiles/h5stat_err_refcount.h5
Normal file
BIN
tools/test/h5stat/testfiles/h5stat_err_refcount.h5
Normal file
Binary file not shown.
@@ -22,3 +22,4 @@ Usage: h5stat [OPTIONS] file
|
||||
than 0. The default threshold is 10.
|
||||
-s, --freespace Print free space information
|
||||
-S, --summary Print summary of file space information
|
||||
--enable-error-stack Prints messages from the HDF5 error stack as they occur
|
||||
|
||||
@@ -22,3 +22,4 @@ Usage: h5stat [OPTIONS] file
|
||||
than 0. The default threshold is 10.
|
||||
-s, --freespace Print free space information
|
||||
-S, --summary Print summary of file space information
|
||||
--enable-error-stack Prints messages from the HDF5 error stack as they occur
|
||||
|
||||
@@ -22,4 +22,5 @@ Usage: h5stat [OPTIONS] file
|
||||
than 0. The default threshold is 10.
|
||||
-s, --freespace Print free space information
|
||||
-S, --summary Print summary of file space information
|
||||
--enable-error-stack Prints messages from the HDF5 error stack as they occur
|
||||
h5stat error: missing file name
|
||||
|
||||
Reference in New Issue
Block a user