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
dslat.txt
dslon.txt
dtype_file_readable.txt
dtype_file.txt
earth.pal
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
image24pixel.txt
image24plane.txt
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
test_ds_be.h5
test_ds_le.h5
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
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
test_table_cray.h5
test_table_le.h5
test_table.c Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
usa.wri