hdf5/hl/test
Sean McBride 3899e090df
Ubsan fixes (#498)
* Fixed use of null pointer identified by UBSan

UBSan warned:
runtime error: member access within null pointer of type 'named_dt_t' (aka 'struct named_dt_t')

with these two tests:
H5REPACK-committed_dt_DFF
H5REPACK-committed_dt

Reformulated per @gnuoyd suggestion.

* Fixed undefined float -> unsigned char conversion in HL_test_image

* Removed dead skip_overflow_tests_g global

The global `skip_overflow_tests_g` was being set but never read.

* Don't treat 2d array as 1d array, fixing UBSan complaint in `CPP_testhdf5`

* Committing clang-format changes

* Remove extra ']' in line 730.

* Committing clang-format changes

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
2021-05-03 10:22:53 -05:00
..
CMakeLists.txt OESS-98 merge with clang-format changes 2020-09-25 16:43:57 -05:00
CMakeTests.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
dsdata.txt [svn-r10498] Purpose: 2005-03-29 14:57:23 -05:00
dslat.txt [svn-r10498] Purpose: 2005-03-29 14:57:23 -05:00
dslon.txt [svn-r10498] Purpose: 2005-03-29 14:57:23 -05:00
dtype_file_readable.txt [svn-r12373] Purpose: Add debug information. 2006-05-23 17:02:29 -05:00
dtype_file.txt [svn-r12351] Purpose: Follow-up what's committed yesterday. 2006-05-17 13:09:12 -05:00
earth.pal [svn-r10507] Purpose: 2005-03-29 16:47:53 -05:00
gen_test_ds.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
gen_test_ld.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
h5hltest.h Fixed many -Wreserved-id-macro warnings by fixing header guard spelling (#361) 2021-02-22 22:29:56 -06:00
H5srcdir_str.h.in Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
image8.txt [svn-r10458] Purpose: 2005-03-28 10:24:10 -05:00
image24pixel.txt [svn-r10458] Purpose: 2005-03-28 10:24:10 -05:00
image24plane.txt [svn-r10458] Purpose: 2005-03-28 10:24:10 -05:00
Makefile.am Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
pal_rgb.h Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
sepia.pal [svn-r10507] Purpose: 2005-03-29 16:47:53 -05:00
test_ds_be.h5 [svn-r17566] Fix for Bug 1562. H5DSis_attached needed to account for platform dependent types. Added test and test files for LE and BE dimension scales. Reworked part of test_ds file as part of debug. 2009-10-01 11:17:17 -05:00
test_ds_le.h5 [svn-r17566] Fix for Bug 1562. H5DSis_attached needed to account for platform dependent types. Added test and test files for LE and BE dimension scales. Reworked part of test_ds file as part of debug. 2009-10-01 11:17:17 -05:00
test_ds.c Update clang config (#473) 2021-03-17 10:25:39 -05:00
test_dset_append.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
test_file_image.c Update clang config (#473) 2021-03-17 10:25:39 -05:00
test_h5do_compat.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
test_image.c Ubsan fixes (#498) 2021-05-03 10:22:53 -05:00
test_ld.c Update clang config (#473) 2021-03-17 10:25:39 -05:00
test_ld.h5 [svn-r29857] Description: 2016-05-03 01:27:55 -05:00
test_lite.c Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451) 2021-03-10 12:42:35 -06:00
test_packet_vlen.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
test_packet.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
test_table_be.h5 [svn-r23147] ported revisions 23081:23145 from the trunk 2013-01-09 15:23:07 -05:00
test_table_cray.h5 [svn-r23147] ported revisions 23081:23145 from the trunk 2013-01-09 15:23:07 -05:00
test_table_le.h5 [svn-r23147] ported revisions 23081:23145 from the trunk 2013-01-09 15:23:07 -05:00
test_table.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
usa.wri [svn-r10458] Purpose: 2005-03-28 10:24:10 -05:00