Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/hdf5-1.12.0+repack/hl/tools/h5watch/h5watchgentest.c
Examining data/hdf5-1.12.0+repack/hl/tools/h5watch/h5watch.c
Examining data/hdf5-1.12.0+repack/hl/tools/h5watch/swmr_check_compat_vfd.c
Examining data/hdf5-1.12.0+repack/hl/tools/h5watch/extend_dset.c
Examining data/hdf5-1.12.0+repack/hl/tools/gif2h5/h52gifgentst.c
Examining data/hdf5-1.12.0+repack/hl/tools/gif2h5/gif2hdf.c
Examining data/hdf5-1.12.0+repack/hl/tools/gif2h5/decompress.c
Examining data/hdf5-1.12.0+repack/hl/tools/gif2h5/gifread.c
Examining data/hdf5-1.12.0+repack/hl/tools/gif2h5/gif.h
Examining data/hdf5-1.12.0+repack/hl/tools/gif2h5/gif2mem.c
Examining data/hdf5-1.12.0+repack/hl/tools/gif2h5/hdf2gif.c
Examining data/hdf5-1.12.0+repack/hl/tools/gif2h5/writehdf.c
Examining data/hdf5-1.12.0+repack/hl/tools/gif2h5/hdfgifwr.c
Examining data/hdf5-1.12.0+repack/hl/fortran/src/H5LTfc.c
Examining data/hdf5-1.12.0+repack/hl/fortran/src/H5IMcc.h
Examining data/hdf5-1.12.0+repack/hl/fortran/src/H5LTf90proto.h
Examining data/hdf5-1.12.0+repack/hl/fortran/src/H5IMfc.c
Examining data/hdf5-1.12.0+repack/hl/fortran/src/H5DSfc.c
Examining data/hdf5-1.12.0+repack/hl/fortran/src/H5IMcc.c
Examining data/hdf5-1.12.0+repack/hl/fortran/src/H5TBfc.c
Examining data/hdf5-1.12.0+repack/hl/test/test_file_image.c
Examining data/hdf5-1.12.0+repack/hl/test/test_table.c
Examining data/hdf5-1.12.0+repack/hl/test/test_h5do_compat.c
Examining data/hdf5-1.12.0+repack/hl/test/test_image.c
Examining data/hdf5-1.12.0+repack/hl/test/pal_rgb.h
Examining data/hdf5-1.12.0+repack/hl/test/h5hltest.h
Examining data/hdf5-1.12.0+repack/hl/test/gen_test_ld.c
Examining data/hdf5-1.12.0+repack/hl/test/test_ld.c
Examining data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c
Examining data/hdf5-1.12.0+repack/hl/test/test_dset_append.c
Examining data/hdf5-1.12.0+repack/hl/test/test_ds.c
Examining data/hdf5-1.12.0+repack/hl/test/test_lite.c
Examining data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c
Examining data/hdf5-1.12.0+repack/hl/test/test_packet.c
Examining data/hdf5-1.12.0+repack/hl/c++/test/ptableTest.h
Examining data/hdf5-1.12.0+repack/hl/c++/test/ptableTest.cpp
Examining data/hdf5-1.12.0+repack/hl/c++/src/H5PacketTable.cpp
Examining data/hdf5-1.12.0+repack/hl/c++/src/H5PacketTable.h
Examining data/hdf5-1.12.0+repack/hl/c++/examples/ptExampleFL.cpp
Examining data/hdf5-1.12.0+repack/hl/src/H5PTpublic.h
Examining data/hdf5-1.12.0+repack/hl/src/H5LTprivate.h
Examining data/hdf5-1.12.0+repack/hl/src/H5DO.c
Examining data/hdf5-1.12.0+repack/hl/src/H5IM.c
Examining data/hdf5-1.12.0+repack/hl/src/H5DSpublic.h
Examining data/hdf5-1.12.0+repack/hl/src/H5LTparse.h
Examining data/hdf5-1.12.0+repack/hl/src/hdf5_hl.h
Examining data/hdf5-1.12.0+repack/hl/src/H5LD.c
Examining data/hdf5-1.12.0+repack/hl/src/H5DS.c
Examining data/hdf5-1.12.0+repack/hl/src/H5TBprivate.h
Examining data/hdf5-1.12.0+repack/hl/src/H5PTprivate.h
Examining data/hdf5-1.12.0+repack/hl/src/H5TB.c
Examining data/hdf5-1.12.0+repack/hl/src/H5HLprivate2.h
Examining data/hdf5-1.12.0+repack/hl/src/H5LTanalyze.c
Examining data/hdf5-1.12.0+repack/hl/src/H5LTpublic.h
Examining data/hdf5-1.12.0+repack/hl/src/H5LDpublic.h
Examining data/hdf5-1.12.0+repack/hl/src/H5DSprivate.h
Examining data/hdf5-1.12.0+repack/hl/src/H5DOpublic.h
Examining data/hdf5-1.12.0+repack/hl/src/H5LT.c
Examining data/hdf5-1.12.0+repack/hl/src/H5IMprivate.h
Examining data/hdf5-1.12.0+repack/hl/src/H5PT.c
Examining data/hdf5-1.12.0+repack/hl/src/H5IMpublic.h
Examining data/hdf5-1.12.0+repack/hl/src/H5TBpublic.h
Examining data/hdf5-1.12.0+repack/hl/src/H5LTparse.c
Examining data/hdf5-1.12.0+repack/hl/src/H5LDprivate.h
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_02.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_01.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_lite1.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_04.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_ds1.c
Examining data/hdf5-1.12.0+repack/hl/examples/pal_rgb.h
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_11.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_12.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_09.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_06.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_10.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_lite2.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_image1.c
Examining data/hdf5-1.12.0+repack/hl/examples/ptExampleFL.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_05.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_08.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_03.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_table_07.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_image2.c
Examining data/hdf5-1.12.0+repack/hl/examples/ex_lite3.c
Examining data/hdf5-1.12.0+repack/tools/test/h5diff/dynlib_diff.c
Examining data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c
Examining data/hdf5-1.12.0+repack/tools/test/h5copy/h5copygentest.c
Examining data/hdf5-1.12.0+repack/tools/test/h5copy/dynlib_copy.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/repart_test.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/talign.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_2.h
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_2_two_dims_gen.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_3_gaps_gen.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_4.h
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_1_one_dim_gen.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_1.h
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_4_printf_gen.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_3.h
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_common.h
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_5.h
Examining data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_5_stride_gen.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/clear_open_chk.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/h5repart_gentest.c
Examining data/hdf5-1.12.0+repack/tools/test/misc/h5clear_gentest.c
Examining data/hdf5-1.12.0+repack/tools/test/h5ls/dynlib_ls.c
Examining data/hdf5-1.12.0+repack/tools/test/h5import/h5importtest.c
Examining data/hdf5-1.12.0+repack/tools/test/h5jam/tellub.c
Examining data/hdf5-1.12.0+repack/tools/test/h5jam/getub.c
Examining data/hdf5-1.12.0+repack/tools/test/h5jam/h5jamgentest.c
Examining data/hdf5-1.12.0+repack/tools/test/h5format_convert/h5fc_gentest.c
Examining data/hdf5-1.12.0+repack/tools/test/h5format_convert/h5fc_chk_idx.c
Examining data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c
Examining data/hdf5-1.12.0+repack/tools/test/h5repack/h5repackgentest.c
Examining data/hdf5-1.12.0+repack/tools/test/h5repack/dynlib_rpk.c
Examining data/hdf5-1.12.0+repack/tools/test/h5repack/testh5repack_detect_szip.c
Examining data/hdf5-1.12.0+repack/tools/test/h5repack/dynlib_vrpk.c
Examining data/hdf5-1.12.0+repack/tools/test/h5stat/h5stat_gentest.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/zip_perf.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/sio_perf.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/overhead.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h
Examining data/hdf5-1.12.0+repack/tools/test/perform/iopipe.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h
Examining data/hdf5-1.12.0+repack/tools/test/perform/perf.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/direct_write_perf.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/pio_perf.h
Examining data/hdf5-1.12.0+repack/tools/test/perform/pio_engine.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/pio_perf.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/sio_perf.h
Examining data/hdf5-1.12.0+repack/tools/test/perform/chunk_cache.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/sio_engine.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c
Examining data/hdf5-1.12.0+repack/tools/test/perform/chunk.c
Examining data/hdf5-1.12.0+repack/tools/test/h5dump/binread.c
Examining data/hdf5-1.12.0+repack/tools/test/h5dump/dynlib_dump.c
Examining data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5diff.h
Examining data/hdf5-1.12.0+repack/tools/lib/io_timer.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5diff_dset.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_str.h
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_dump.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools.h
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_filters.c
Examining data/hdf5-1.12.0+repack/tools/lib/io_timer.h
Examining data/hdf5-1.12.0+repack/tools/lib/h5diff.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5diff_array.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5diff_util.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_str.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5trav.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_ref.c
Examining data/hdf5-1.12.0+repack/tools/lib/ph5diff.h
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_utils.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_dump.h
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_ref.h
Examining data/hdf5-1.12.0+repack/tools/lib/h5diff_attr.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_utils.h
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_type.c
Examining data/hdf5-1.12.0+repack/tools/lib/h5trav.h
Examining data/hdf5-1.12.0+repack/tools/lib/h5tools_error.h
Examining data/hdf5-1.12.0+repack/tools/libtest/h5tools_test_utils.c
Examining data/hdf5-1.12.0+repack/tools/src/h5diff/h5diff_common.h
Examining data/hdf5-1.12.0+repack/tools/src/h5diff/h5diff_main.c
Examining data/hdf5-1.12.0+repack/tools/src/h5diff/ph5diff_main.c
Examining data/hdf5-1.12.0+repack/tools/src/h5diff/h5diff_common.c
Examining data/hdf5-1.12.0+repack/tools/src/h5copy/h5copy.c
Examining data/hdf5-1.12.0+repack/tools/src/misc/h5debug.c
Examining data/hdf5-1.12.0+repack/tools/src/misc/h5repart.c
Examining data/hdf5-1.12.0+repack/tools/src/misc/h5mkgrp.c
Examining data/hdf5-1.12.0+repack/tools/src/misc/h5clear.c
Examining data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c
Examining data/hdf5-1.12.0+repack/tools/src/h5import/h5import.h
Examining data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c
Examining data/hdf5-1.12.0+repack/tools/src/h5jam/h5jam.c
Examining data/hdf5-1.12.0+repack/tools/src/h5jam/h5unjam.c
Examining data/hdf5-1.12.0+repack/tools/src/h5format_convert/h5format_convert.c
Examining data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.h
Examining data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_parse.c
Examining data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_filters.c
Examining data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_refs.c
Examining data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_main.c
Examining data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_opttable.c
Examining data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_copy.c
Examining data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_verify.c
Examining data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.c
Examining data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c
Examining data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.h
Examining data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_ddl.c
Examining data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_ddl.h
Examining data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_defines.h
Examining data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_extern.h
Examining data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.c
Examining data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.h
Examining data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c
Examining data/hdf5-1.12.0+repack/fortran/test/t.c
Examining data/hdf5-1.12.0+repack/fortran/test/t.h
Examining data/hdf5-1.12.0+repack/fortran/src/H5Gf.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5Tf.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5f90.h
Examining data/hdf5-1.12.0+repack/fortran/src/H5Sf.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5f90proto.h
Examining data/hdf5-1.12.0+repack/fortran/src/H5match_types.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5_f.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5Df.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5Zf.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5Ff.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5Ef.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5Rf.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5If.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5Of.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5Af.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5f90i.h
Examining data/hdf5-1.12.0+repack/fortran/src/H5f90kit.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5Pf.c
Examining data/hdf5-1.12.0+repack/fortran/src/H5Lf.c
Examining data/hdf5-1.12.0+repack/testpar/t_pshutdown.c
Examining data/hdf5-1.12.0+repack/testpar/t_chunk_alloc.c
Examining data/hdf5-1.12.0+repack/testpar/t_file_image.c
Examining data/hdf5-1.12.0+repack/testpar/t_shapesame.c
Examining data/hdf5-1.12.0+repack/testpar/t_filter_read.c
Examining data/hdf5-1.12.0+repack/testpar/testphdf5.h
Examining data/hdf5-1.12.0+repack/testpar/t_2Gio.c
Examining data/hdf5-1.12.0+repack/testpar/testpar.h
Examining data/hdf5-1.12.0+repack/testpar/t_mpi.c
Examining data/hdf5-1.12.0+repack/testpar/t_prestart.c
Examining data/hdf5-1.12.0+repack/testpar/t_filters_parallel.c
Examining data/hdf5-1.12.0+repack/testpar/t_span_tree.c
Examining data/hdf5-1.12.0+repack/testpar/t_bigio.c
Examining data/hdf5-1.12.0+repack/testpar/t_init_term.c
Examining data/hdf5-1.12.0+repack/testpar/t_ph5basic.c
Examining data/hdf5-1.12.0+repack/testpar/t_mdset.c
Examining data/hdf5-1.12.0+repack/testpar/t_dset.c
Examining data/hdf5-1.12.0+repack/testpar/t_prop.c
Examining data/hdf5-1.12.0+repack/testpar/testphdf5.c
Examining data/hdf5-1.12.0+repack/testpar/t_coll_chunk.c
Examining data/hdf5-1.12.0+repack/testpar/t_pflush1.c
Examining data/hdf5-1.12.0+repack/testpar/t_pread.c
Examining data/hdf5-1.12.0+repack/testpar/t_pflush2.c
Examining data/hdf5-1.12.0+repack/testpar/t_coll_md_read.c
Examining data/hdf5-1.12.0+repack/testpar/t_cache.c
Examining data/hdf5-1.12.0+repack/testpar/t_file.c
Examining data/hdf5-1.12.0+repack/testpar/t_filters_parallel.h
Examining data/hdf5-1.12.0+repack/testpar/t_cache_image.c
Examining data/hdf5-1.12.0+repack/test/dangle.c
Examining data/hdf5-1.12.0+repack/test/enum.c
Examining data/hdf5-1.12.0+repack/test/tselect.c
Examining data/hdf5-1.12.0+repack/test/big.c
Examining data/hdf5-1.12.0+repack/test/filter_plugin.c
Examining data/hdf5-1.12.0+repack/test/tconfig.c
Examining data/hdf5-1.12.0+repack/test/h5test.h
Examining data/hdf5-1.12.0+repack/test/gen_udlinks.c
Examining data/hdf5-1.12.0+repack/test/genall5.h
Examining data/hdf5-1.12.0+repack/test/cache.c
Examining data/hdf5-1.12.0+repack/test/tattr.c
Examining data/hdf5-1.12.0+repack/test/use_common.c
Examining data/hdf5-1.12.0+repack/test/gen_old_group.c
Examining data/hdf5-1.12.0+repack/test/filter_plugin3_dsets.c
Examining data/hdf5-1.12.0+repack/test/enc_dec_plist_cross_platform.c
Examining data/hdf5-1.12.0+repack/test/filter_plugin2_dsets.c
Examining data/hdf5-1.12.0+repack/test/reserved.c
Examining data/hdf5-1.12.0+repack/test/del_many_dense_attrs.c
Examining data/hdf5-1.12.0+repack/test/cmpd_dset.c
Examining data/hdf5-1.12.0+repack/test/null_vol_connector.h
Examining data/hdf5-1.12.0+repack/test/testhdf5.c
Examining data/hdf5-1.12.0+repack/test/gen_old_array.c
Examining data/hdf5-1.12.0+repack/test/swmr_start_write.c
Examining data/hdf5-1.12.0+repack/test/swmr_check_compat_vfd.c
Examining data/hdf5-1.12.0+repack/test/trefer_shutdown.c
Examining data/hdf5-1.12.0+repack/test/th5s.c
Examining data/hdf5-1.12.0+repack/test/gen_old_mtime.c
Examining data/hdf5-1.12.0+repack/test/vds_swmr_gen.c
Examining data/hdf5-1.12.0+repack/test/swmr_common.c
Examining data/hdf5-1.12.0+repack/test/vds.c
Examining data/hdf5-1.12.0+repack/test/tarray.c
Examining data/hdf5-1.12.0+repack/test/dtypes.c
Examining data/hdf5-1.12.0+repack/test/cache_logging.c
Examining data/hdf5-1.12.0+repack/test/swmr_generator.c
Examining data/hdf5-1.12.0+repack/test/swmr_remove_writer.c
Examining data/hdf5-1.12.0+repack/test/gen_specmetaread.c
Examining data/hdf5-1.12.0+repack/test/swmr_sparse_reader.c
Examining data/hdf5-1.12.0+repack/test/use_disable_mdc_flushes.c
Examining data/hdf5-1.12.0+repack/test/ohdr.c
Examining data/hdf5-1.12.0+repack/test/links_env.c
Examining data/hdf5-1.12.0+repack/test/titerate.c
Examining data/hdf5-1.12.0+repack/test/external_env.c
Examining data/hdf5-1.12.0+repack/test/farray.c
Examining data/hdf5-1.12.0+repack/test/err_compat.c
Examining data/hdf5-1.12.0+repack/test/objcopy_ref.c
Examining data/hdf5-1.12.0+repack/test/app_ref.c
Examining data/hdf5-1.12.0+repack/test/gen_sizes_lheap.c
Examining data/hdf5-1.12.0+repack/test/gen_deflate.c
Examining data/hdf5-1.12.0+repack/test/stab.c
Examining data/hdf5-1.12.0+repack/test/vol_plugin.c
Examining data/hdf5-1.12.0+repack/test/atomic_reader.c
Examining data/hdf5-1.12.0+repack/test/gen_bad_offset.c
Examining data/hdf5-1.12.0+repack/test/tid.c
Examining data/hdf5-1.12.0+repack/test/vds_swmr_reader.c
Examining data/hdf5-1.12.0+repack/test/testmeta.c
Examining data/hdf5-1.12.0+repack/test/swmr_reader.c
Examining data/hdf5-1.12.0+repack/test/set_extent.c
Examining data/hdf5-1.12.0+repack/test/use_append_mchunks.c
Examining data/hdf5-1.12.0+repack/test/unregister.c
Examining data/hdf5-1.12.0+repack/test/vds_swmr_writer.c
Examining data/hdf5-1.12.0+repack/test/twriteorder.c
Examining data/hdf5-1.12.0+repack/test/gen_noencoder.c
Examining data/hdf5-1.12.0+repack/test/links.c
Examining data/hdf5-1.12.0+repack/test/gen_old_layout.c
Examining data/hdf5-1.12.0+repack/test/swmr_writer.c
Examining data/hdf5-1.12.0+repack/test/tvlstr.c
Examining data/hdf5-1.12.0+repack/test/enc_dec_plist.c
Examining data/hdf5-1.12.0+repack/test/tunicode.c
Examining data/hdf5-1.12.0+repack/test/th5o.c
Examining data/hdf5-1.12.0+repack/test/filter_plugin4_groups.c
Examining data/hdf5-1.12.0+repack/test/freespace.c
Examining data/hdf5-1.12.0+repack/test/earray.c
Examining data/hdf5-1.12.0+repack/test/vfd.c
Examining data/hdf5-1.12.0+repack/test/file_image.c
Examining data/hdf5-1.12.0+repack/test/tchecksum.c
Examining data/hdf5-1.12.0+repack/test/gen_bounds.c
Examining data/hdf5-1.12.0+repack/test/gen_bad_ohdr.c
Examining data/hdf5-1.12.0+repack/test/flush2.c
Examining data/hdf5-1.12.0+repack/test/swmr.c
Examining data/hdf5-1.12.0+repack/test/chunk_info.c
Examining data/hdf5-1.12.0+repack/test/efc.c
Examining data/hdf5-1.12.0+repack/test/accum.c
Examining data/hdf5-1.12.0+repack/test/external.c
Examining data/hdf5-1.12.0+repack/test/flush1.c
Examining data/hdf5-1.12.0+repack/test/cache_image.c
Examining data/hdf5-1.12.0+repack/test/gen_nullspace.c
Examining data/hdf5-1.12.0+repack/test/tcheck_version.c
Examining data/hdf5-1.12.0+repack/test/pool.c
Examining data/hdf5-1.12.0+repack/test/extend.c
Examining data/hdf5-1.12.0+repack/test/gen_file_image.c
Examining data/hdf5-1.12.0+repack/test/ttst.c
Examining data/hdf5-1.12.0+repack/test/swmr_remove_reader.c
Examining data/hdf5-1.12.0+repack/test/gen_mergemsg.c
Examining data/hdf5-1.12.0+repack/test/external_fname.h
Examining data/hdf5-1.12.0+repack/test/gen_filespace.c
Examining data/hdf5-1.12.0+repack/test/cork.c
Examining data/hdf5-1.12.0+repack/test/cache_api.c
Examining data/hdf5-1.12.0+repack/test/filter_fail.c
Examining data/hdf5-1.12.0+repack/test/ttime.c
Examining data/hdf5-1.12.0+repack/test/ttsafe.c
Examining data/hdf5-1.12.0+repack/test/external_common.c
Examining data/hdf5-1.12.0+repack/test/gen_new_array.c
Examining data/hdf5-1.12.0+repack/test/cache_common.c
Examining data/hdf5-1.12.0+repack/test/ttsafe_acreate.c
Examining data/hdf5-1.12.0+repack/test/use_append_chunk.c
Examining data/hdf5-1.12.0+repack/test/tgenprop.c
Examining data/hdf5-1.12.0+repack/test/use.h
Examining data/hdf5-1.12.0+repack/test/getname.c
Examining data/hdf5-1.12.0+repack/test/dt_arith.c
Examining data/hdf5-1.12.0+repack/test/istore.c
Examining data/hdf5-1.12.0+repack/test/trefstr.c
Examining data/hdf5-1.12.0+repack/test/ttsafe_cancel.c
Examining data/hdf5-1.12.0+repack/test/unlink.c
Examining data/hdf5-1.12.0+repack/test/objcopy.c
Examining data/hdf5-1.12.0+repack/test/cache_common.h
Examining data/hdf5-1.12.0+repack/test/gen_bad_compound.c
Examining data/hdf5-1.12.0+repack/test/genall5.c
Examining data/hdf5-1.12.0+repack/test/ntypes.c
Examining data/hdf5-1.12.0+repack/test/mount.c
Examining data/hdf5-1.12.0+repack/test/atomic_writer.c
Examining data/hdf5-1.12.0+repack/test/vds_swmr.h
Examining data/hdf5-1.12.0+repack/test/space_overflow.c
Examining data/hdf5-1.12.0+repack/test/mf.c
Examining data/hdf5-1.12.0+repack/test/filter_plugin1_dsets.c
Examining data/hdf5-1.12.0+repack/test/testhdf5.h
Examining data/hdf5-1.12.0+repack/test/tmeta.c
Examining data/hdf5-1.12.0+repack/test/gen_plist.c
Examining data/hdf5-1.12.0+repack/test/H5srcdir.h
Examining data/hdf5-1.12.0+repack/test/theap.c
Examining data/hdf5-1.12.0+repack/test/mtime.c
Examining data/hdf5-1.12.0+repack/test/fheap.c
Examining data/hdf5-1.12.0+repack/test/fillval.c
Examining data/hdf5-1.12.0+repack/test/gen_bogus.c
Examining data/hdf5-1.12.0+repack/test/external_common.h
Examining data/hdf5-1.12.0+repack/test/ttsafe_error.c
Examining data/hdf5-1.12.0+repack/test/gheap.c
Examining data/hdf5-1.12.0+repack/test/direct_chunk.c
Examining data/hdf5-1.12.0+repack/test/gen_new_fill.c
Examining data/hdf5-1.12.0+repack/test/tsohm.c
Examining data/hdf5-1.12.0+repack/test/error_test.c
Examining data/hdf5-1.12.0+repack/test/evict_on_close.c
Examining data/hdf5-1.12.0+repack/test/s3comms.c
Examining data/hdf5-1.12.0+repack/test/tcoords.c
Examining data/hdf5-1.12.0+repack/test/filenotclosed.c
Examining data/hdf5-1.12.0+repack/test/tvltypes.c
Examining data/hdf5-1.12.0+repack/test/gen_filters.c
Examining data/hdf5-1.12.0+repack/test/gen_new_mtime.c
Examining data/hdf5-1.12.0+repack/test/btree2.c
Examining data/hdf5-1.12.0+repack/test/tskiplist.c
Examining data/hdf5-1.12.0+repack/test/swmr_addrem_writer.c
Examining data/hdf5-1.12.0+repack/test/vds_env.c
Examining data/hdf5-1.12.0+repack/test/vol.c
Examining data/hdf5-1.12.0+repack/test/testframe.c
Examining data/hdf5-1.12.0+repack/test/h5test.c
Examining data/hdf5-1.12.0+repack/test/bittests.c
Examining data/hdf5-1.12.0+repack/test/accum_swmr_reader.c
Examining data/hdf5-1.12.0+repack/test/cross_read.c
Examining data/hdf5-1.12.0+repack/test/null_vol_connector.c
Examining data/hdf5-1.12.0+repack/test/page_buffer.c
Examining data/hdf5-1.12.0+repack/test/trefer_deprec.c
Examining data/hdf5-1.12.0+repack/test/tmisc.c
Examining data/hdf5-1.12.0+repack/test/ttsafe.h
Examining data/hdf5-1.12.0+repack/test/hyperslab.c
Examining data/hdf5-1.12.0+repack/test/cache_tagging.c
Examining data/hdf5-1.12.0+repack/test/gen_cross.c
Examining data/hdf5-1.12.0+repack/test/dtransform.c
Examining data/hdf5-1.12.0+repack/test/lheap.c
Examining data/hdf5-1.12.0+repack/test/ttsafe_dcreate.c
Examining data/hdf5-1.12.0+repack/test/ros3.c
Examining data/hdf5-1.12.0+repack/test/tfile.c
Examining data/hdf5-1.12.0+repack/test/gen_new_super.c
Examining data/hdf5-1.12.0+repack/test/dsets.c
Examining data/hdf5-1.12.0+repack/test/gen_new_group.c
Examining data/hdf5-1.12.0+repack/test/trefer.c
Examining data/hdf5-1.12.0+repack/test/flushrefresh.c
Examining data/hdf5-1.12.0+repack/test/swmr_sparse_writer.c
Examining data/hdf5-1.12.0+repack/test/hdfs.c
Examining data/hdf5-1.12.0+repack/test/swmr_common.h
Examining data/hdf5-1.12.0+repack/c++/test/h5cpputil.h
Examining data/hdf5-1.12.0+repack/c++/test/tfile.cpp
Examining data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp
Examining data/hdf5-1.12.0+repack/c++/test/tcompound.cpp
Examining data/hdf5-1.12.0+repack/c++/test/tdspl.cpp
Examining data/hdf5-1.12.0+repack/c++/test/titerate.cpp
Examining data/hdf5-1.12.0+repack/c++/test/testhdf5.cpp
Examining data/hdf5-1.12.0+repack/c++/test/tarray.cpp
Examining data/hdf5-1.12.0+repack/c++/test/dsets.cpp
Examining data/hdf5-1.12.0+repack/c++/test/trefer.cpp
Examining data/hdf5-1.12.0+repack/c++/test/tfilter.cpp
Examining data/hdf5-1.12.0+repack/c++/test/tlinks.cpp
Examining data/hdf5-1.12.0+repack/c++/test/th5s.cpp
Examining data/hdf5-1.12.0+repack/c++/test/tobject.cpp
Examining data/hdf5-1.12.0+repack/c++/test/tattr.cpp
Examining data/hdf5-1.12.0+repack/c++/test/h5cpputil.cpp
Examining data/hdf5-1.12.0+repack/c++/test/ttypes.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5FcreatProp.h
Examining data/hdf5-1.12.0+repack/c++/src/H5AbstractDs.h
Examining data/hdf5-1.12.0+repack/c++/src/H5Object.h
Examining data/hdf5-1.12.0+repack/c++/src/H5Exception.h
Examining data/hdf5-1.12.0+repack/c++/src/H5CommonFG.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5AtomType.h
Examining data/hdf5-1.12.0+repack/c++/src/H5Exception.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5DcreatProp.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5DaccProp.h
Examining data/hdf5-1.12.0+repack/c++/src/H5Location.h
Examining data/hdf5-1.12.0+repack/c++/src/H5OcreatProp.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5FaccProp.h
Examining data/hdf5-1.12.0+repack/c++/src/H5IntType.h
Examining data/hdf5-1.12.0+repack/c++/src/H5CompType.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5OcreatProp.h
Examining data/hdf5-1.12.0+repack/c++/src/H5LcreatProp.h
Examining data/hdf5-1.12.0+repack/c++/src/H5Library.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5LaccProp.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5CommonFG.h
Examining data/hdf5-1.12.0+repack/c++/src/H5FaccProp.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5Attribute.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5ArrayType.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5PropList.h
Examining data/hdf5-1.12.0+repack/c++/src/H5ArrayType.h
Examining data/hdf5-1.12.0+repack/c++/src/H5DataSpace.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5FloatType.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5Library.h
Examining data/hdf5-1.12.0+repack/c++/src/H5IdComponent.h
Examining data/hdf5-1.12.0+repack/c++/src/H5StrType.h
Examining data/hdf5-1.12.0+repack/c++/src/H5VarLenType.h
Examining data/hdf5-1.12.0+repack/c++/src/H5LcreatProp.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5FcreatProp.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5Include.h
Examining data/hdf5-1.12.0+repack/c++/src/H5DxferProp.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5DataType.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5VarLenType.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5StrType.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5Group.h
Examining data/hdf5-1.12.0+repack/c++/src/H5DcreatProp.h
Examining data/hdf5-1.12.0+repack/c++/src/H5DataSet.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5EnumType.h
Examining data/hdf5-1.12.0+repack/c++/src/H5DaccProp.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5Attribute.h
Examining data/hdf5-1.12.0+repack/c++/src/H5IdComponent.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5DataSpace.h
Examining data/hdf5-1.12.0+repack/c++/src/H5Object.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5LaccProp.h
Examining data/hdf5-1.12.0+repack/c++/src/H5File.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5File.h
Examining data/hdf5-1.12.0+repack/c++/src/H5Location.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5CompType.h
Examining data/hdf5-1.12.0+repack/c++/src/H5PropList.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5EnumType.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5Cpp.h
Examining data/hdf5-1.12.0+repack/c++/src/H5Classes.h
Examining data/hdf5-1.12.0+repack/c++/src/H5IntType.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5FloatType.h
Examining data/hdf5-1.12.0+repack/c++/src/H5Alltypes.h
Examining data/hdf5-1.12.0+repack/c++/src/H5Group.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5DataSet.h
Examining data/hdf5-1.12.0+repack/c++/src/H5PredType.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5AbstractDs.cpp
Examining data/hdf5-1.12.0+repack/c++/src/H5CppDoc.h
Examining data/hdf5-1.12.0+repack/c++/src/H5DataType.h
Examining data/hdf5-1.12.0+repack/c++/src/H5PredType.h
Examining data/hdf5-1.12.0+repack/c++/src/H5DxferProp.h
Examining data/hdf5-1.12.0+repack/c++/src/H5AtomType.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/writedata.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/h5tutr_cmprss.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/extend_ds.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/compound.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/readdata.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/chunks.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/h5group.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/h5tutr_crtdat.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/h5tutr_extend.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/h5tutr_crtgrpar.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/create.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/h5tutr_subset.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/h5tutr_crtgrp.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/h5tutr_crtatt.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/h5tutr_crtgrpd.cpp
Examining data/hdf5-1.12.0+repack/c++/examples/h5tutr_rdwt.cpp
Examining data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c
Examining data/hdf5-1.12.0+repack/config/cmake_ext_mod/GetTimeOfDayTest.cpp
Examining data/hdf5-1.12.0+repack/config/cmake_ext_mod/HDFCXXTests.cpp
Examining data/hdf5-1.12.0+repack/config/cmake_ext_mod/HDFTests.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pACPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pLAPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5rImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pFCPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pGCPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pFAPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5sImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5oImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pGAPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5dImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5vlImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/nativeData.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pDAPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5sImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5eImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/exceptionImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pLAPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5fImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5oImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/nativeData.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5util.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5iImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pOCPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5rImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5iImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5lImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pGAPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pOCpyPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5aImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pDCPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pGCPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pDAPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pStrCPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/exceptionImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pACPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5jni.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5lImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5aImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pFAPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pStrCPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5gImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pDXPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5util.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pOCPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5Imp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pDXPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5Imp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5eImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5zImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5plImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5Constants.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pLCPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5tImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5fImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5tImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pLCPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pDCPLImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5vlImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pOCpyPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5pFCPLImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5plImp.h
Examining data/hdf5-1.12.0+repack/java/src/jni/h5zImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5gImp.c
Examining data/hdf5-1.12.0+repack/java/src/jni/h5dImp.h
Examining data/hdf5-1.12.0+repack/src/H5Lmodule.h
Examining data/hdf5-1.12.0+repack/src/H5B2module.h
Examining data/hdf5-1.12.0+repack/src/H5Tcset.c
Examining data/hdf5-1.12.0+repack/src/H5Lpublic.h
Examining data/hdf5-1.12.0+repack/src/H5Torder.c
Examining data/hdf5-1.12.0+repack/src/H5private.h
Examining data/hdf5-1.12.0+repack/src/H5WBprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Gnode.c
Examining data/hdf5-1.12.0+repack/src/H5Bpkg.h
Examining data/hdf5-1.12.0+repack/src/H5EAmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Dcontig.c
Examining data/hdf5-1.12.0+repack/src/H5Dmpio.c
Examining data/hdf5-1.12.0+repack/src/H5MFprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Dfarray.c
Examining data/hdf5-1.12.0+repack/src/H5Omtime.c
Examining data/hdf5-1.12.0+repack/src/H5Zfletcher32.c
Examining data/hdf5-1.12.0+repack/src/H5SLmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Onull.c
Examining data/hdf5-1.12.0+repack/src/H5Oattribute.c
Examining data/hdf5-1.12.0+repack/src/H5FA.c
Examining data/hdf5-1.12.0+repack/src/H5Cmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Adeprec.c
Examining data/hdf5-1.12.0+repack/src/H5Gint.c
Examining data/hdf5-1.12.0+repack/src/H5SMprivate.h
Examining data/hdf5-1.12.0+repack/src/H5FApkg.h
Examining data/hdf5-1.12.0+repack/src/H5Apublic.h
Examining data/hdf5-1.12.0+repack/src/H5MPpkg.h
Examining data/hdf5-1.12.0+repack/src/H5trace.c
Examining data/hdf5-1.12.0+repack/src/H5MFaggr.c
Examining data/hdf5-1.12.0+repack/src/H5Gent.c
Examining data/hdf5-1.12.0+repack/src/H5VLnative_dataset.c
Examining data/hdf5-1.12.0+repack/src/H5E.c
Examining data/hdf5-1.12.0+repack/src/H5SLprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Fmpi.c
Examining data/hdf5-1.12.0+repack/src/H5FDmpi.c
Examining data/hdf5-1.12.0+repack/src/H5Tpkg.h
Examining data/hdf5-1.12.0+repack/src/H5HGmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Toffset.c
Examining data/hdf5-1.12.0+repack/src/H5Ocont.c
Examining data/hdf5-1.12.0+repack/src/H5HGquery.c
Examining data/hdf5-1.12.0+repack/src/H5Oflush.c
Examining data/hdf5-1.12.0+repack/src/H5FL.c
Examining data/hdf5-1.12.0+repack/src/H5Zpublic.h
Examining data/hdf5-1.12.0+repack/src/H5Aprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Lpkg.h
Examining data/hdf5-1.12.0+repack/src/H5Fcwfs.c
Examining data/hdf5-1.12.0+repack/src/H5SM.c
Examining data/hdf5-1.12.0+repack/src/H5HLdbg.c
Examining data/hdf5-1.12.0+repack/src/H5VLnative_private.h
Examining data/hdf5-1.12.0+repack/src/H5Gcache.c
Examining data/hdf5-1.12.0+repack/src/H5FDmulti.c
Examining data/hdf5-1.12.0+repack/src/H5win32defs.h
Examining data/hdf5-1.12.0+repack/src/H5Gmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Obtreek.c
Examining data/hdf5-1.12.0+repack/src/H5Adense.c
Examining data/hdf5-1.12.0+repack/src/H5EAstat.c
Examining data/hdf5-1.12.0+repack/src/H5Tarray.c
Examining data/hdf5-1.12.0+repack/src/H5FAtest.c
Examining data/hdf5-1.12.0+repack/src/H5Fquery.c
Examining data/hdf5-1.12.0+repack/src/H5Sdbg.c
Examining data/hdf5-1.12.0+repack/src/H5HFmodule.h
Examining data/hdf5-1.12.0+repack/src/H5HFsection.c
Examining data/hdf5-1.12.0+repack/src/H5SMbtree2.c
Examining data/hdf5-1.12.0+repack/src/H5CXmodule.h
Examining data/hdf5-1.12.0+repack/src/H5RS.c
Examining data/hdf5-1.12.0+repack/src/H5STprivate.h
Examining data/hdf5-1.12.0+repack/src/H5HLcache.c
Examining data/hdf5-1.12.0+repack/src/H5B2.c
Examining data/hdf5-1.12.0+repack/src/H5AC.c
Examining data/hdf5-1.12.0+repack/src/hdf5.h
Examining data/hdf5-1.12.0+repack/src/H5B2dbg.c
Examining data/hdf5-1.12.0+repack/src/H5Clog.h
Examining data/hdf5-1.12.0+repack/src/H5Tbit.c
Examining data/hdf5-1.12.0+repack/src/H5EApkg.h
Examining data/hdf5-1.12.0+repack/src/H5ACpublic.h
Examining data/hdf5-1.12.0+repack/src/H5HFdtable.c
Examining data/hdf5-1.12.0+repack/src/H5Ounknown.c
Examining data/hdf5-1.12.0+repack/src/H5Ocache_image.c
Examining data/hdf5-1.12.0+repack/src/H5FDwindows.c
Examining data/hdf5-1.12.0+repack/src/H5Pprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Pdeprec.c
Examining data/hdf5-1.12.0+repack/src/H5FDcore.c
Examining data/hdf5-1.12.0+repack/src/H5Dlayout.c
Examining data/hdf5-1.12.0+repack/src/H5Itest.c
Examining data/hdf5-1.12.0+repack/src/H5Mprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Ocache.c
Examining data/hdf5-1.12.0+repack/src/H5MF.c
Examining data/hdf5-1.12.0+repack/src/H5HFtiny.c
Examining data/hdf5-1.12.0+repack/src/H5B2test.c
Examining data/hdf5-1.12.0+repack/src/H5B2int.c
Examining data/hdf5-1.12.0+repack/src/H5api_adpt.h
Examining data/hdf5-1.12.0+repack/src/H5Dvirtual.c
Examining data/hdf5-1.12.0+repack/src/H5HFcache.c
Examining data/hdf5-1.12.0+repack/src/H5TSprivate.h
Examining data/hdf5-1.12.0+repack/src/H5FDsec2.h
Examining data/hdf5-1.12.0+repack/src/H5Clog.c
Examining data/hdf5-1.12.0+repack/src/H5Pencdec.c
Examining data/hdf5-1.12.0+repack/src/H5Bmodule.h
Examining data/hdf5-1.12.0+repack/src/H5HLpkg.h
Examining data/hdf5-1.12.0+repack/src/H5Tfields.c
Examining data/hdf5-1.12.0+repack/src/H5PB.c
Examining data/hdf5-1.12.0+repack/src/H5Dio.c
Examining data/hdf5-1.12.0+repack/src/H5PLplugin_cache.c
Examining data/hdf5-1.12.0+repack/src/H5dbg.c
Examining data/hdf5-1.12.0+repack/src/H5FDmpio.c
Examining data/hdf5-1.12.0+repack/src/H5EA.c
Examining data/hdf5-1.12.0+repack/src/H5ACprivate.h
Examining data/hdf5-1.12.0+repack/src/H5VLnative_file.c
Examining data/hdf5-1.12.0+repack/src/H5Edefin.h
Examining data/hdf5-1.12.0+repack/src/H5FDmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Opublic.h
Examining data/hdf5-1.12.0+repack/src/H5SMmessage.c
Examining data/hdf5-1.12.0+repack/src/H5Pdcpl.c
Examining data/hdf5-1.12.0+repack/src/H5Dfill.c
Examining data/hdf5-1.12.0+repack/src/H5HFhdr.c
Examining data/hdf5-1.12.0+repack/src/H5Oshared.c
Examining data/hdf5-1.12.0+repack/src/H5CSprivate.h
Examining data/hdf5-1.12.0+repack/src/H5EAsblock.c
Examining data/hdf5-1.12.0+repack/src/H5Eprivate.h
Examining data/hdf5-1.12.0+repack/src/H5MFdbg.c
Examining data/hdf5-1.12.0+repack/src/H5Ochunk.c
Examining data/hdf5-1.12.0+repack/src/H5I.c
Examining data/hdf5-1.12.0+repack/src/H5Cpkg.h
Examining data/hdf5-1.12.0+repack/src/H5FDdirect.h
Examining data/hdf5-1.12.0+repack/src/H5VLpublic.h
Examining data/hdf5-1.12.0+repack/src/H5B2hdr.c
Examining data/hdf5-1.12.0+repack/src/H5Clog_json.c
Examining data/hdf5-1.12.0+repack/src/H5Cpublic.h
Examining data/hdf5-1.12.0+repack/src/H5Cdbg.c
Examining data/hdf5-1.12.0+repack/src/H5FAmodule.h
Examining data/hdf5-1.12.0+repack/src/H5version.h
Examining data/hdf5-1.12.0+repack/src/H5HFiter.c
Examining data/hdf5-1.12.0+repack/src/H5RSprivate.h
Examining data/hdf5-1.12.0+repack/src/H5FDdrvr_module.h
Examining data/hdf5-1.12.0+repack/src/H5D.c
Examining data/hdf5-1.12.0+repack/src/H5Rpkg.h
Examining data/hdf5-1.12.0+repack/src/H5Oshared.h
Examining data/hdf5-1.12.0+repack/src/H5FAint.c
Examining data/hdf5-1.12.0+repack/src/H5FDfamily.c
Examining data/hdf5-1.12.0+repack/src/H5B2stat.c
Examining data/hdf5-1.12.0+repack/src/H5HFman.c
Examining data/hdf5-1.12.0+repack/src/H5Einit.h
Examining data/hdf5-1.12.0+repack/src/H5WB.c
Examining data/hdf5-1.12.0+repack/src/H5Olink.c
Examining data/hdf5-1.12.0+repack/src/H5EAiblock.c
Examining data/hdf5-1.12.0+repack/src/H5B2private.h
Examining data/hdf5-1.12.0+repack/src/H5EAprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Epubgen.h
Examining data/hdf5-1.12.0+repack/src/H5Cquery.c
Examining data/hdf5-1.12.0+repack/src/H5Gobj.c
Examining data/hdf5-1.12.0+repack/src/H5Fdeprec.c
Examining data/hdf5-1.12.0+repack/src/H5EAtest.c
Examining data/hdf5-1.12.0+repack/src/H5Tdeprec.c
Examining data/hdf5-1.12.0+repack/src/H5Rint.c
Examining data/hdf5-1.12.0+repack/src/H5Fspace.c
Examining data/hdf5-1.12.0+repack/src/H5EAcache.c
Examining data/hdf5-1.12.0+repack/src/H5Groot.c
Examining data/hdf5-1.12.0+repack/src/H5Defl.c
Examining data/hdf5-1.12.0+repack/src/H5FDmpi.h
Examining data/hdf5-1.12.0+repack/src/H5Ddeprec.c
Examining data/hdf5-1.12.0+repack/src/H5Obogus.c
Examining data/hdf5-1.12.0+repack/src/H5Fdbg.c
Examining data/hdf5-1.12.0+repack/src/H5Cprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Rprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Doh.c
Examining data/hdf5-1.12.0+repack/src/H5Oshmesg.c
Examining data/hdf5-1.12.0+repack/src/H5HPprivate.h
Examining data/hdf5-1.12.0+repack/src/H5mpi.c
Examining data/hdf5-1.12.0+repack/src/H5B2leaf.c
Examining data/hdf5-1.12.0+repack/src/H5Smodule.h
Examining data/hdf5-1.12.0+repack/src/H5Ofsinfo.c
Examining data/hdf5-1.12.0+repack/src/H5C.c
Examining data/hdf5-1.12.0+repack/src/H5SL.c
Examining data/hdf5-1.12.0+repack/src/H5Spoint.c
Examining data/hdf5-1.12.0+repack/src/H5HGdbg.c
Examining data/hdf5-1.12.0+repack/src/H5Dmodule.h
Examining data/hdf5-1.12.0+repack/src/H5VLcallback.c
Examining data/hdf5-1.12.0+repack/src/H5CX.c
Examining data/hdf5-1.12.0+repack/src/H5Plapl.c
Examining data/hdf5-1.12.0+repack/src/H5FStest.c
Examining data/hdf5-1.12.0+repack/src/H5Gbtree2.c
Examining data/hdf5-1.12.0+repack/src/H5FDsec2.c
Examining data/hdf5-1.12.0+repack/src/H5R.c
Examining data/hdf5-1.12.0+repack/src/H5FSsection.c
Examining data/hdf5-1.12.0+repack/src/H5Dchunk.c
Examining data/hdf5-1.12.0+repack/src/H5Oprivate.h
Examining data/hdf5-1.12.0+repack/src/H5FDint.c
Examining data/hdf5-1.12.0+repack/src/H5VLnative_blob.c
Examining data/hdf5-1.12.0+repack/src/H5PLint.c
Examining data/hdf5-1.12.0+repack/src/H5Ocopy.c
Examining data/hdf5-1.12.0+repack/src/H5ACdbg.c
Examining data/hdf5-1.12.0+repack/src/H5FSdbg.c
Examining data/hdf5-1.12.0+repack/src/H5Ffake.c
Examining data/hdf5-1.12.0+repack/src/H5Epublic.h
Examining data/hdf5-1.12.0+repack/src/H5FD.c
Examining data/hdf5-1.12.0+repack/src/H5FDtest.c
Examining data/hdf5-1.12.0+repack/src/H5VLnative_object.c
Examining data/hdf5-1.12.0+repack/src/H5Pdapl.c
Examining data/hdf5-1.12.0+repack/src/H5Tdbg.c
Examining data/hdf5-1.12.0+repack/src/H5Zshuffle.c
Examining data/hdf5-1.12.0+repack/src/H5Dsingle.c
Examining data/hdf5-1.12.0+repack/src/H5FDros3.c
Examining data/hdf5-1.12.0+repack/src/H5Gdeprec.c
Examining data/hdf5-1.12.0+repack/src/H5HFspace.c
Examining data/hdf5-1.12.0+repack/src/H5PLpublic.h
Examining data/hdf5-1.12.0+repack/src/H5MPtest.c
Examining data/hdf5-1.12.0+repack/src/H5Gpkg.h
Examining data/hdf5-1.12.0+repack/src/H5ACproxy_entry.c
Examining data/hdf5-1.12.0+repack/src/H5HFstat.c
Examining data/hdf5-1.12.0+repack/src/H5Pmapl.c
Examining data/hdf5-1.12.0+repack/src/H5Gcompact.c
Examining data/hdf5-1.12.0+repack/src/H5Zscaleoffset.c
Examining data/hdf5-1.12.0+repack/src/H5Dint.c
Examining data/hdf5-1.12.0+repack/src/H5Otest.c
Examining data/hdf5-1.12.0+repack/src/H5Tfloat.c
Examining data/hdf5-1.12.0+repack/src/H5Spublic.h
Examining data/hdf5-1.12.0+repack/src/H5Tvisit.c
Examining data/hdf5-1.12.0+repack/src/H5Lprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Smpio.c
Examining data/hdf5-1.12.0+repack/src/H5Ddbg.c
Examining data/hdf5-1.12.0+repack/src/H5Iprivate.h
Examining data/hdf5-1.12.0+repack/src/H5MFpkg.h
Examining data/hdf5-1.12.0+repack/src/H5Odbg.c
Examining data/hdf5-1.12.0+repack/src/H5Rdeprec.c
Examining data/hdf5-1.12.0+repack/src/H5Imodule.h
Examining data/hdf5-1.12.0+repack/src/H5ACmpio.c
Examining data/hdf5-1.12.0+repack/src/H5FDhdfs.h
Examining data/hdf5-1.12.0+repack/src/H5timer.c
Examining data/hdf5-1.12.0+repack/src/H5FDpkg.h
Examining data/hdf5-1.12.0+repack/src/H5Odrvinfo.c
Examining data/hdf5-1.12.0+repack/src/H5Cprefetched.c
Examining data/hdf5-1.12.0+repack/src/H5Tmodule.h
Examining data/hdf5-1.12.0+repack/src/H5SMcache.c
Examining data/hdf5-1.12.0+repack/src/H5VLmodule.h
Examining data/hdf5-1.12.0+repack/src/H5F.c
Examining data/hdf5-1.12.0+repack/src/H5ESpublic.h
Examining data/hdf5-1.12.0+repack/src/H5ST.c
Examining data/hdf5-1.12.0+repack/src/H5Dselect.c
Examining data/hdf5-1.12.0+repack/src/H5Fio.c
Examining data/hdf5-1.12.0+repack/src/H5FDlog.c
Examining data/hdf5-1.12.0+repack/src/H5Plcpl.c
Examining data/hdf5-1.12.0+repack/src/H5Sprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Tenum.c
Examining data/hdf5-1.12.0+repack/src/H5HGpkg.h
Examining data/hdf5-1.12.0+repack/src/H5Zmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Pocpl.c
Examining data/hdf5-1.12.0+repack/src/H5FLprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Pdxpl.c
Examining data/hdf5-1.12.0+repack/src/H5Eterm.h
Examining data/hdf5-1.12.0+repack/src/H5Oattr.c
Examining data/hdf5-1.12.0+repack/src/H5A.c
Examining data/hdf5-1.12.0+repack/src/H5VL.c
Examining data/hdf5-1.12.0+repack/src/H5VMprivate.h
Examining data/hdf5-1.12.0+repack/src/H5MMprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Dbtree.c
Examining data/hdf5-1.12.0+repack/src/H5Rmodule.h
Examining data/hdf5-1.12.0+repack/src/H5MPprivate.h
Examining data/hdf5-1.12.0+repack/src/H5HG.c
Examining data/hdf5-1.12.0+repack/src/H5FDdirect.c
Examining data/hdf5-1.12.0+repack/src/H5Olayout.c
Examining data/hdf5-1.12.0+repack/src/H5VLnative_link.c
Examining data/hdf5-1.12.0+repack/src/H5Omodule.h
Examining data/hdf5-1.12.0+repack/src/H5Zpkg.h
Examining data/hdf5-1.12.0+repack/src/H5Mpkg.h
Examining data/hdf5-1.12.0+repack/src/H5ACmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Ipublic.h
Examining data/hdf5-1.12.0+repack/src/H5HLprivate.h
Examining data/hdf5-1.12.0+repack/src/H5HLint.c
Examining data/hdf5-1.12.0+repack/src/H5VM.c
Examining data/hdf5-1.12.0+repack/src/H5SMmodule.h
Examining data/hdf5-1.12.0+repack/src/H5MP.c
Examining data/hdf5-1.12.0+repack/src/H5Dpublic.h
Examining data/hdf5-1.12.0+repack/src/H5Sall.c
Examining data/hdf5-1.12.0+repack/src/H5Gprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Shyper.c
Examining data/hdf5-1.12.0+repack/src/H5VLconnector_passthru.h
Examining data/hdf5-1.12.0+repack/src/H5Gname.c
Examining data/hdf5-1.12.0+repack/src/H5Fpublic.h
Examining data/hdf5-1.12.0+repack/src/H5EAint.c
Examining data/hdf5-1.12.0+repack/src/H5Orefcount.c
Examining data/hdf5-1.12.0+repack/src/H5HFbtree2.c
Examining data/hdf5-1.12.0+repack/src/H5Fpkg.h
Examining data/hdf5-1.12.0+repack/src/H5Fsuper.c
Examining data/hdf5-1.12.0+repack/src/H5M.c
Examining data/hdf5-1.12.0+repack/src/H5HLprfx.c
Examining data/hdf5-1.12.0+repack/src/H5Oainfo.c
Examining data/hdf5-1.12.0+repack/src/H5FDfamily.h
Examining data/hdf5-1.12.0+repack/src/H5Abtree2.c
Examining data/hdf5-1.12.0+repack/src/H5Oalloc.c
Examining data/hdf5-1.12.0+repack/src/H5Pstrcpl.c
Examining data/hdf5-1.12.0+repack/src/H5B2pkg.h
Examining data/hdf5-1.12.0+repack/src/H5Ppkg.h
Examining data/hdf5-1.12.0+repack/src/H5Opkg.h
Examining data/hdf5-1.12.0+repack/src/H5FAstat.c
Examining data/hdf5-1.12.0+repack/src/H5FSprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Fprivate.h
Examining data/hdf5-1.12.0+repack/src/H5VLnative.h
Examining data/hdf5-1.12.0+repack/src/H5Tcommit.c
Examining data/hdf5-1.12.0+repack/src/H5Ztrans.c
Examining data/hdf5-1.12.0+repack/src/H5VLnative_datatype.c
Examining data/hdf5-1.12.0+repack/src/H5VLnative_group.c
Examining data/hdf5-1.12.0+repack/src/H5HFiblock.c
Examining data/hdf5-1.12.0+repack/src/H5FSpkg.h
Examining data/hdf5-1.12.0+repack/src/H5VLpassthru.c
Examining data/hdf5-1.12.0+repack/src/H5FOprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Apkg.h
Examining data/hdf5-1.12.0+repack/src/H5P.c
Examining data/hdf5-1.12.0+repack/src/H5Ptest.c
Examining data/hdf5-1.12.0+repack/src/H5EAhdr.c
Examining data/hdf5-1.12.0+repack/src/H5Zprivate.h
Examining data/hdf5-1.12.0+repack/src/H5MFmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Epkg.h
Examining data/hdf5-1.12.0+repack/src/H5Aint.c
Examining data/hdf5-1.12.0+repack/src/H5Mmodule.h
Examining data/hdf5-1.12.0+repack/src/H5PLmodule.h
Examining data/hdf5-1.12.0+repack/src/H5PLpath.c
Examining data/hdf5-1.12.0+repack/src/H5FAprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Pfapl.c
Examining data/hdf5-1.12.0+repack/src/H5Odeprec.c
Examining data/hdf5-1.12.0+repack/src/H5S.c
Examining data/hdf5-1.12.0+repack/src/H5Pmcpl.c
Examining data/hdf5-1.12.0+repack/src/H5Fefc.c
Examining data/hdf5-1.12.0+repack/src/H5MMpublic.h
Examining data/hdf5-1.12.0+repack/src/H5UC.c
Examining data/hdf5-1.12.0+repack/src/H5HFdblock.c
Examining data/hdf5-1.12.0+repack/src/H5FDmulti.h
Examining data/hdf5-1.12.0+repack/src/H5FDprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Tprecis.c
Examining data/hdf5-1.12.0+repack/src/H5Tref.c
Examining data/hdf5-1.12.0+repack/src/H5Emodule.h
Examining data/hdf5-1.12.0+repack/src/H5Amodule.h
Examining data/hdf5-1.12.0+repack/src/H5Pocpypl.c
Examining data/hdf5-1.12.0+repack/src/H5CXprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Tprivate.h
Examining data/hdf5-1.12.0+repack/src/H5FDs3comms.h
Examining data/hdf5-1.12.0+repack/src/H5Mpublic.h
Examining data/hdf5-1.12.0+repack/src/H5PLextern.h
Examining data/hdf5-1.12.0+repack/src/H5Edeprec.c
Examining data/hdf5-1.12.0+repack/src/H5Oginfo.c
Examining data/hdf5-1.12.0+repack/src/H5Opline.c
Examining data/hdf5-1.12.0+repack/src/H5FAhdr.c
Examining data/hdf5-1.12.0+repack/src/H5Oname.c
Examining data/hdf5-1.12.0+repack/src/H5HL.c
Examining data/hdf5-1.12.0+repack/src/H5Osdspace.c
Examining data/hdf5-1.12.0+repack/src/H5Tcompound.c
Examining data/hdf5-1.12.0+repack/src/H5Dbtree2.c
Examining data/hdf5-1.12.0+repack/src/H5Rpublic.h
Examining data/hdf5-1.12.0+repack/src/H5Ctest.c
Examining data/hdf5-1.12.0+repack/src/H5FSmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Gstab.c
Examining data/hdf5-1.12.0+repack/src/H5Fmount.c
Examining data/hdf5-1.12.0+repack/src/H5VLprivate.h
Examining data/hdf5-1.12.0+repack/src/H5make_libsettings.c
Examining data/hdf5-1.12.0+repack/src/H5FDstdio.c
Examining data/hdf5-1.12.0+repack/src/H5Sselect.c
Examining data/hdf5-1.12.0+repack/src/H5EAdblkpage.c
Examining data/hdf5-1.12.0+repack/src/H5EAdblock.c
Examining data/hdf5-1.12.0+repack/src/H5FAdblkpage.c
Examining data/hdf5-1.12.0+repack/src/H5FDs3comms.c
Examining data/hdf5-1.12.0+repack/src/H5Pint.c
Examining data/hdf5-1.12.0+repack/src/H5Ocopy_ref.c
Examining data/hdf5-1.12.0+repack/src/H5VLnative_token.c
Examining data/hdf5-1.12.0+repack/src/H5FScache.c
Examining data/hdf5-1.12.0+repack/src/H5Ostab.c
Examining data/hdf5-1.12.0+repack/src/H5Ftest.c
Examining data/hdf5-1.12.0+repack/src/H5Pacpl.c
Examining data/hdf5-1.12.0+repack/src/H5Ldeprec.c
Examining data/hdf5-1.12.0+repack/src/H5system.c
Examining data/hdf5-1.12.0+repack/src/H5Dcompact.c
Examining data/hdf5-1.12.0+repack/src/H5VLnative_attr.c
Examining data/hdf5-1.12.0+repack/src/H5Ppublic.h
Examining data/hdf5-1.12.0+repack/src/H5HLdblk.c
Examining data/hdf5-1.12.0+repack/src/H5Atest.c
Examining data/hdf5-1.12.0+repack/src/H5Znbit.c
Examining data/hdf5-1.12.0+repack/src/H5PLprivate.h
Examining data/hdf5-1.12.0+repack/src/H5HFdbg.c
Examining data/hdf5-1.12.0+repack/src/H5Dnone.c
Examining data/hdf5-1.12.0+repack/src/H5Olinfo.c
Examining data/hdf5-1.12.0+repack/src/H5Spkg.h
Examining data/hdf5-1.12.0+repack/src/H5Snone.c
Examining data/hdf5-1.12.0+repack/src/H5FDpublic.h
Examining data/hdf5-1.12.0+repack/src/H5Bcache.c
Examining data/hdf5-1.12.0+repack/src/H5G.c
Examining data/hdf5-1.12.0+repack/src/H5PLpkg.h
Examining data/hdf5-1.12.0+repack/src/H5FDwindows.h
Examining data/hdf5-1.12.0+repack/src/H5HFhuge.c
Examining data/hdf5-1.12.0+repack/src/H5Dprivate.h
Examining data/hdf5-1.12.0+repack/src/H5VLnative_introspect.c
Examining data/hdf5-1.12.0+repack/src/H5Fsuper_cache.c
Examining data/hdf5-1.12.0+repack/src/H5Cimage.c
Examining data/hdf5-1.12.0+repack/src/H5MFsection.c
Examining data/hdf5-1.12.0+repack/src/H5Bprivate.h
Examining data/hdf5-1.12.0+repack/src/H5O.c
Examining data/hdf5-1.12.0+repack/src/H5Goh.c
Examining data/hdf5-1.12.0+repack/src/H5UCprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Ofill.c
Examining data/hdf5-1.12.0+repack/src/H5Oefl.c
Examining data/hdf5-1.12.0+repack/src/H5Pmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Odtype.c
Examining data/hdf5-1.12.0+repack/src/H5Dscatgath.c
Examining data/hdf5-1.12.0+repack/src/H5Faccum.c
Examining data/hdf5-1.12.0+repack/src/H5VLpkg.h
Examining data/hdf5-1.12.0+repack/src/H5FAdbg.c
Examining data/hdf5-1.12.0+repack/src/H5PBmodule.h
Examining data/hdf5-1.12.0+repack/src/H5FDmpio.h
Examining data/hdf5-1.12.0+repack/src/H5Gdense.c
Examining data/hdf5-1.12.0+repack/src/H5HGcache.c
Examining data/hdf5-1.12.0+repack/src/H5ACpkg.h
Examining data/hdf5-1.12.0+repack/src/H5Gtest.c
Examining data/hdf5-1.12.0+repack/src/H5VLnative.c
Examining data/hdf5-1.12.0+repack/src/H5FAcache.c
Examining data/hdf5-1.12.0+repack/src/H5Cepoch.c
Examining data/hdf5-1.12.0+repack/src/H5Clog_trace.c
Examining data/hdf5-1.12.0+repack/src/H5Bdbg.c
Examining data/hdf5-1.12.0+repack/src/H5HFprivate.h
Examining data/hdf5-1.12.0+repack/src/H5PBprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Omessage.c
Examining data/hdf5-1.12.0+repack/src/H5SMpkg.h
Examining data/hdf5-1.12.0+repack/src/H5FSint.c
Examining data/hdf5-1.12.0+repack/src/H5B.c
Examining data/hdf5-1.12.0+repack/src/H5PL.c
Examining data/hdf5-1.12.0+repack/src/H5HP.c
Examining data/hdf5-1.12.0+repack/src/H5Zdeflate.c
Examining data/hdf5-1.12.0+repack/src/H5HF.c
Examining data/hdf5-1.12.0+repack/src/H5Glink.c
Examining data/hdf5-1.12.0+repack/src/H5HLmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Lexternal.c
Examining data/hdf5-1.12.0+repack/src/H5FDspace.c
Examining data/hdf5-1.12.0+repack/src/H5CS.c
Examining data/hdf5-1.12.0+repack/src/H5Sdeprec.c
Examining data/hdf5-1.12.0+repack/src/H5Tpad.c
Examining data/hdf5-1.12.0+repack/src/H5Cmpio.c
Examining data/hdf5-1.12.0+repack/src/H5Gpublic.h
Examining data/hdf5-1.12.0+repack/src/H5overflow.h
Examining data/hdf5-1.12.0+repack/src/H5Z.c
Examining data/hdf5-1.12.0+repack/src/H5Tfixed.c
Examining data/hdf5-1.12.0+repack/src/H5HFtest.c
Examining data/hdf5-1.12.0+repack/src/H5checksum.c
Examining data/hdf5-1.12.0+repack/src/H5PBpkg.h
Examining data/hdf5-1.12.0+repack/src/H5Ctag.c
Examining data/hdf5-1.12.0+repack/src/H5FSstat.c
Examining data/hdf5-1.12.0+repack/src/H5Eint.c
Examining data/hdf5-1.12.0+repack/src/H5public.h
Examining data/hdf5-1.12.0+repack/src/H5B2cache.c
Examining data/hdf5-1.12.0+repack/src/H5HFpkg.h
Examining data/hdf5-1.12.0+repack/src/H5FDros3.h
Examining data/hdf5-1.12.0+repack/src/H5FS.c
Examining data/hdf5-1.12.0+repack/src/H5FDcore.h
Examining data/hdf5-1.12.0+repack/src/H5Toh.c
Examining data/hdf5-1.12.0+repack/src/H5detect.c
Examining data/hdf5-1.12.0+repack/src/H5Zszip.c
Examining data/hdf5-1.12.0+repack/src/H5HGprivate.h
Examining data/hdf5-1.12.0+repack/src/H5Tnative.c
Examining data/hdf5-1.12.0+repack/src/H5Pfmpl.c
Examining data/hdf5-1.12.0+repack/src/H5VLint.c
Examining data/hdf5-1.12.0+repack/src/H5EAdbg.c
Examining data/hdf5-1.12.0+repack/src/H5Fsfile.c
Examining data/hdf5-1.12.0+repack/src/H5Fmodule.h
Examining data/hdf5-1.12.0+repack/src/H5T.c
Examining data/hdf5-1.12.0+repack/src/H5Tpublic.h
Examining data/hdf5-1.12.0+repack/src/H5FDhdfs.c
Examining data/hdf5-1.12.0+repack/src/H5Ipkg.h
Examining data/hdf5-1.12.0+repack/src/H5FDstdio.h
Examining data/hdf5-1.12.0+repack/src/H5L.c
Examining data/hdf5-1.12.0+repack/src/H5FAdblock.c
Examining data/hdf5-1.12.0+repack/src/H5MM.c
Examining data/hdf5-1.12.0+repack/src/H5FDlog.h
Examining data/hdf5-1.12.0+repack/src/H5Pgcpl.c
Examining data/hdf5-1.12.0+repack/src/H5Topaque.c
Examining data/hdf5-1.12.0+repack/src/H5Pfcpl.c
Examining data/hdf5-1.12.0+repack/src/H5MPmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Dtest.c
Examining data/hdf5-1.12.0+repack/src/H5VLpassthru.h
Examining data/hdf5-1.12.0+repack/src/H5Dpkg.h
Examining data/hdf5-1.12.0+repack/src/H5FLmodule.h
Examining data/hdf5-1.12.0+repack/src/H5Gloc.c
Examining data/hdf5-1.12.0+repack/src/H5Gtraverse.c
Examining data/hdf5-1.12.0+repack/src/H5Oint.c
Examining data/hdf5-1.12.0+repack/src/H5SMtest.c
Examining data/hdf5-1.12.0+repack/src/H5VLconnector.h
Examining data/hdf5-1.12.0+repack/src/H5Dearray.c
Examining data/hdf5-1.12.0+repack/src/H5Stest.c
Examining data/hdf5-1.12.0+repack/src/H5B2internal.c
Examining data/hdf5-1.12.0+repack/src/H5Tstrpad.c
Examining data/hdf5-1.12.0+repack/src/H5TS.c
Examining data/hdf5-1.12.0+repack/src/H5FO.c
Examining data/hdf5-1.12.0+repack/src/H5Fint.c
Examining data/hdf5-1.12.0+repack/src/H5Tconv.c
Examining data/hdf5-1.12.0+repack/src/H5.c
Examining data/hdf5-1.12.0+repack/src/H5Tvlen.c
Examining data/hdf5-1.12.0+repack/examples/h5_crtatt.c
Examining data/hdf5-1.12.0+repack/examples/h5_rdwt.c
Examining data/hdf5-1.12.0+repack/examples/h5_vds-exc.c
Examining data/hdf5-1.12.0+repack/examples/h5_vds-eiger.c
Examining data/hdf5-1.12.0+repack/examples/h5_crtgrpar.c
Examining data/hdf5-1.12.0+repack/examples/h5_drivers.c
Examining data/hdf5-1.12.0+repack/examples/h5_group.c
Examining data/hdf5-1.12.0+repack/examples/h5_attribute.c
Examining data/hdf5-1.12.0+repack/examples/h5_crtgrpd.c
Examining data/hdf5-1.12.0+repack/examples/h5_extend.c
Examining data/hdf5-1.12.0+repack/examples/h5_elink_unix2win.c
Examining data/hdf5-1.12.0+repack/examples/h5_vds-exclim.c
Examining data/hdf5-1.12.0+repack/examples/h5_vds-simpleIO.c
Examining data/hdf5-1.12.0+repack/examples/h5_select.c
Examining data/hdf5-1.12.0+repack/examples/h5_ref2reg_deprec.c
Examining data/hdf5-1.12.0+repack/examples/h5_ref_compat.c
Examining data/hdf5-1.12.0+repack/examples/h5_extlink.c
Examining data/hdf5-1.12.0+repack/examples/h5_vds-percival.c
Examining data/hdf5-1.12.0+repack/examples/h5_crtgrp.c
Examining data/hdf5-1.12.0+repack/examples/h5_subset.c
Examining data/hdf5-1.12.0+repack/examples/h5_shared_mesg.c
Examining data/hdf5-1.12.0+repack/examples/h5_write.c
Examining data/hdf5-1.12.0+repack/examples/h5_extend_write.c
Examining data/hdf5-1.12.0+repack/examples/h5_interm_group.c
Examining data/hdf5-1.12.0+repack/examples/h5_mount.c
Examining data/hdf5-1.12.0+repack/examples/h5_dtransform.c
Examining data/hdf5-1.12.0+repack/examples/h5_compound.c
Examining data/hdf5-1.12.0+repack/examples/h5_ref_extern.c
Examining data/hdf5-1.12.0+repack/examples/h5_read.c
Examining data/hdf5-1.12.0+repack/examples/ph5example.c
Examining data/hdf5-1.12.0+repack/examples/h5_vds.c
Examining data/hdf5-1.12.0+repack/examples/h5_vds-percival-unlim-maxmin.c
Examining data/hdf5-1.12.0+repack/examples/h5_crtdat.c
Examining data/hdf5-1.12.0+repack/examples/h5_chunk_read.c
Examining data/hdf5-1.12.0+repack/examples/h5_vds-percival-unlim.c
Examining data/hdf5-1.12.0+repack/examples/h5_cmprss.c
Examining data/hdf5-1.12.0+repack/examples/h5_reference_deprec.c

FINAL RESULTS:

data/hdf5-1.12.0+repack/src/H5private.h:717:29:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    #define HDchmod(S,M)    chmod(S,M)
data/hdf5-1.12.0+repack/src/H5private.h:720:31:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    #define HDchown(S,O,G)    chown(S,O,G)
data/hdf5-1.12.0+repack/src/H5private.h:1003:26:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
    #define HDgets(S)    gets(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:87:33:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#define HDchmod(S,M)            chmod(S,M)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:88:33:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#define HDchown(S,O,G)          chown(S,O,G)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:216:33:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
#define HDgets(S)               gets(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:102:33:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#define HDchmod(S,M)            chmod(S,M)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:103:33:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#define HDchown(S,O,G)          chown(S,O,G)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:231:33:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
#define HDgets(S)               gets(S)
data/hdf5-1.12.0+repack/c++/test/th5s.cpp:181:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(tmp_str, TESTFILE.c_str());
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:301:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    fp = popen("uname -m", "r");
data/hdf5-1.12.0+repack/config/cmake_ext_mod/HDFTests.c:248:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(formatString, "%%%sd", *currentArg);
data/hdf5-1.12.0+repack/config/cmake_ext_mod/HDFTests.c:249:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(s, formatString, x);
data/hdf5-1.12.0+repack/examples/ph5example.c:973:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(testfiles[i], "%s/ParaEg%d.h5", prefix, i);
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:139:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(data_file, srcdir);
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:142:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
 strcat(data_file,fname);
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:156:2:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
 fscanf( f, "%s", str );
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:158:2:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
 fscanf( f, "%s", str );
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:160:2:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
 fscanf( f, "%s", str );
data/hdf5-1.12.0+repack/hl/src/H5LTparse.c:854:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define YYFPRINTF fprintf
data/hdf5-1.12.0+repack/hl/src/H5TB.c:3179:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(field_names[i], member_name);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:92:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(filename, FILENAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:93:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(filename, argv[1]);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:94:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(filename, FILEEXT);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:118:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(filename, FILENAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:119:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(filename, fileext);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:120:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(filename, FILEEXT);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:153:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(dsname, DS_1_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:154:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(dsname, dsidx);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:159:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(dsname, DS_2_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:160:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(dsname, dsidx);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:165:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(dsname, DS_3_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:166:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(dsname, dsidx);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:171:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(dsname, DS_4_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:172:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(dsname, dsidx);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:281:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dsname, DATASET_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:294:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_1_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:299:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_2_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:304:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_3_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:309:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_4_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:342:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dsname, DATASET_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:355:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_1_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:360:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_2_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:365:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_3_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:370:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_4_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:403:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dsname, DATASET_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:411:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_1_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:413:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, SCALE_1_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:421:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_2_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:423:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, SCALE_2_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:431:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_3_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:433:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, SCALE_3_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:441:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_4_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:443:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, SCALE_4_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:480:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dsname, DATASET_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:488:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_1_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:490:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, DS_1_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:498:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_2_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:500:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, DS_2_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:508:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_3_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:510:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, DS_3_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:518:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(scalename, DS_4_NAME);
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:520:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, DS_4_NAME);
data/hdf5-1.12.0+repack/hl/test/test_ds.c:4878:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        if(fscanf( f, "%s %u", str, &j) && HDferror(f)) {
data/hdf5-1.12.0+repack/hl/test/test_image.c:804:8:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    if(fscanf(f, "%s", str) < 0 && HDferror(f)) {
data/hdf5-1.12.0+repack/hl/test/test_image.c:814:8:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    if(fscanf(f, "%s", str) < 0 && HDferror(f)) {
data/hdf5-1.12.0+repack/hl/test/test_image.c:824:8:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    if(fscanf(f, "%s", str) < 0 && HDferror(f)) {
data/hdf5-1.12.0+repack/hl/tools/gif2h5/hdf2gif.c:114:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(image_name , argv[arg_index]);
data/hdf5-1.12.0+repack/java/src/jni/h5util.c:369:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
                        sscanf(token, fmt_ullong, &tmp_ullong);
data/hdf5-1.12.0+repack/java/src/jni/h5util.c:373:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
                        sscanf(token, fmt_llong, &tmp_llong);
data/hdf5-1.12.0+repack/src/H5Eprivate.h:183:98:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    unsigned line, hid_t cls_id, hid_t maj_id, hid_t min_id, const char *fmt, ...)H5_ATTR_FORMAT(printf, 8, 9);
data/hdf5-1.12.0+repack/src/H5FDmulti.c:313:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(meta_name, "%%s%s", meta_ext);
data/hdf5-1.12.0+repack/src/H5FDmulti.c:331:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(raw_name, "%%s%s", raw_ext);
data/hdf5-1.12.0+repack/src/H5FDmulti.c:460:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(_memb_name[mt], "%%s-%c.h5", letters[mt]);
data/hdf5-1.12.0+repack/src/H5FDmulti.c:1982:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, file->fa.memb_name[mt], file->name);
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2100:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(canonical_request_dest, tmpstr);
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2117:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(signed_headers_dest, tmpstr);
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2131:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(canonical_request_dest, signed_headers_dest);
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2133:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(canonical_request_dest, EMPTY_SHA256);
data/hdf5-1.12.0+repack/src/H5FDs3comms.h:165:41:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#define S3COMMS_FORMAT_CREDENTIAL(dest, access, iso8601_date, region, service) \
data/hdf5-1.12.0+repack/src/H5FDs3comms.h:168:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
         (access), (iso8601_date), (region), (service))
data/hdf5-1.12.0+repack/src/H5VLpassthru.c:607:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(*str, "under_vol=%u;under_info={%s}", (unsigned)under_value, (under_vol_string ? under_vol_string : ""));
data/hdf5-1.12.0+repack/src/H5private.h:249:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(p_event_start, "start %s", FUNC);                       \
data/hdf5-1.12.0+repack/src/H5private.h:647:30:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    #define HDaccess(F,M)    access(F, M)
data/hdf5-1.12.0+repack/src/H5private.h:750:29:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
    #define HDcuserid(S)    cuserid(S)
data/hdf5-1.12.0+repack/src/H5private.h:772:30:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    #define HDexecv(S,AV)    execv(S,AV)
data/hdf5-1.12.0+repack/src/H5private.h:778:31:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    #define HDexecvp(S,AV)    execvp(S,AV)
data/hdf5-1.12.0+repack/src/H5private.h:982:29:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
    #define HDgetlogin()    getlogin()
data/hdf5-1.12.0+repack/src/H5private.h:1345:27:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    #define HDsnprintf    snprintf /*varargs*/
data/hdf5-1.12.0+repack/src/H5private.h:1348:26:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    #define HDsprintf    sprintf /*varargs*/
data/hdf5-1.12.0+repack/src/H5private.h:1354:35:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    #define HDsscanf(S,FMT,...)   sscanf(S,FMT,__VA_ARGS__)
data/hdf5-1.12.0+repack/src/H5private.h:1357:30:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    #define HDstrcat(X,Y)    strcat(X,Y)
data/hdf5-1.12.0+repack/src/H5private.h:1372:30:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    #define HDstrcpy(X,Y)    strcpy(X,Y)
data/hdf5-1.12.0+repack/src/H5private.h:1444:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    #define HDsystem(S)    system(S)
data/hdf5-1.12.0+repack/src/H5private.h:1531:34:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    #define HDvfprintf(F,FMT,A)  vfprintf(F,FMT,A)
data/hdf5-1.12.0+repack/src/H5private.h:1534:31:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    #define HDvprintf(FMT,A)  vprintf(FMT,A)
data/hdf5-1.12.0+repack/src/H5private.h:1537:34:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    #define HDvsprintf(S,FMT,A)  vsprintf(S,FMT,A)
data/hdf5-1.12.0+repack/src/H5private.h:1540:36:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    #define HDvsnprintf(S,N,FMT,A) vsnprintf(S,N,FMT,A)
data/hdf5-1.12.0+repack/src/H5system.c:283:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:286:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:289:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:292:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:302:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:305:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:308:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:311:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:322:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, (double)x);
data/hdf5-1.12.0+repack/src/H5system.c:325:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:333:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:336:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:370:33:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                            n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:382:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                            fprintf(stream, format_templ, "UNDEF");
data/hdf5-1.12.0+repack/src/H5system.c:390:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:398:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        n = fprintf(stream, format_templ, x);
data/hdf5-1.12.0+repack/src/H5system.c:404:25:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    n = fprintf(stream, format_templ, nout);
data/hdf5-1.12.0+repack/test/chunk_info.c:424:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(msg, "Should be using %s.\n", index_type_str(idx_type));
data/hdf5-1.12.0+repack/test/gen_udlinks.c:48:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(filename1, NAME_LE_1);
data/hdf5-1.12.0+repack/test/gen_udlinks.c:49:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(filename2, NAME_LE_2);
data/hdf5-1.12.0+repack/test/gen_udlinks.c:52:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(filename1, NAME_BE_1);
data/hdf5-1.12.0+repack/test/gen_udlinks.c:53:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(filename2, NAME_BE_2);
data/hdf5-1.12.0+repack/test/h5test.c:1468:16:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
H5_ATTR_FORMAT(printf, 1, 2)
data/hdf5-1.12.0+repack/test/h5test.h:191:71:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
H5TEST_DLL int  TestErrPrintf(const char *format, ...) H5_ATTR_FORMAT(printf, 1, 2);
data/hdf5-1.12.0+repack/test/s3comms.c:410:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    const char access[]   = "AKIAIOSFODNN7EXAMPLE";
data/hdf5-1.12.0+repack/test/s3comms.c:420:46:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
             S3COMMS_FORMAT_CREDENTIAL(dest, access, date, region, service) )
data/hdf5-1.12.0+repack/test/tcoords.c:117:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(dset_name, SINGLE_END_DSET);
data/hdf5-1.12.0+repack/test/tcoords.c:288:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(dset_name, SINGLE_END_DSET);
data/hdf5-1.12.0+repack/test/tcoords.c:467:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(dset_name, MULTI_ENDS_SEL_HYPER_DSET);
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:1952:22:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                if ( execv("t_cache_image", child_argv) == -1 ) {
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:4218:18:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            if ( execv("t_cache_image", child_argv) == -1 ) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:592:21:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
                if (fscanf(strm, "%s", buffer) < 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:762:21:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
                if (fscanf(strm, "%s", buffer) < 1) {
data/hdf5-1.12.0+repack/tools/test/h5dump/binread.c:82:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            printf(FORMAT,buf[i]);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:68:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(fname, argv[i+1]);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:264:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(buf_comp[i].s, buf_str[i]);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:379:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (tmp_name1, name);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:394:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (tmp_name2, name);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:402:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (tmp_name3, name);
data/hdf5-1.12.0+repack/tools/test/perform/direct_write_perf.c:640:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename, "%s.h5", FILENAME[0]);
data/hdf5-1.12.0+repack/tools/test/perform/iopipe.c:105:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf (HEADING "%1.2fuser %1.2fsystem %1.2felapsed %1.2fMB/s\n",
data/hdf5-1.12.0+repack/tools/test/perform/iopipe.c:108:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf (HEADING "%1.2felapsed %1.2fMB/s\n",
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:56:33:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#define HDaccess(F,M)           access(F, M)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:98:33:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
#define HDcuserid(S)            cuserid(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:110:33:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define HDexecv(S,AV)           execv(S,AV)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:112:33:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define HDexecvp(S,AV)          execvp(S,AV)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:208:33:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
#define HDgetlogin()            getlogin()
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:356:33:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define HDsnprintf              snprintf /*varargs*/
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:359:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define HDsprintf    sprintf /*varargs*/
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:378:33:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
#define HDstrcat(X,Y)           strcat(X,Y)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:382:33:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
#define HDstrcpy(X,Y)           strcpy(X,Y)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:406:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define HDsystem(S)             system(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:438:33:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define HDvfprintf(F,FMT,A)     vfprintf(F,FMT,A)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:439:33:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define HDvprintf(FMT,A)        vprintf(FMT,A)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:440:33:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
#define HDvsprintf(S,FMT,A)     vsprintf(S,FMT,A)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:445:35:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define HDvsnprintf(S,N,FMT,A) vsnprintf(S,N,FMT,A)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:71:33:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#define HDaccess(F,M)           access(F, M)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:113:33:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
#define HDcuserid(S)            cuserid(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:125:33:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define HDexecv(S,AV)           execv(S,AV)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:127:33:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define HDexecvp(S,AV)          execvp(S,AV)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:223:33:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
#define HDgetlogin()            getlogin()
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:371:33:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define HDsnprintf              snprintf /*varargs*/
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:374:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define HDsprintf    sprintf /*varargs*/
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:393:33:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
#define HDstrcat(X,Y)           strcat(X,Y)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:397:33:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
#define HDstrcpy(X,Y)           strcpy(X,Y)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:421:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define HDsystem(S)             system(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:453:33:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define HDvfprintf(F,FMT,A)     vfprintf(F,FMT,A)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:454:33:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define HDvprintf(FMT,A)        vprintf(FMT,A)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:455:33:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
#define HDvsprintf(S,FMT,A)     vsprintf(S,FMT,A)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:460:35:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define HDvsnprintf(S,N,FMT,A) vsnprintf(S,N,FMT,A)
data/hdf5-1.12.0+repack/c++/test/testhdf5.cpp:123:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (GetTestCleanup() && !getenv("HDF5_NOCLEANUP"))
data/hdf5-1.12.0+repack/examples/h5_drivers.c:39:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	cleanup_g = getenv("HDF5_NOCLEANUP") ? 0 : 1;
data/hdf5-1.12.0+repack/examples/ph5example.c:1029:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((env=getenv(PARAPREFIX))==NULL){
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:129:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
 char   *srcdir = getenv("srcdir"); /* the source directory */
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2560:48:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    ret = HDsnprintf(awspath, 117, "%s/.aws/", getenv("USERPROFILE")) ;
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2562:48:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    ret = HDsnprintf(awspath, 117, "%s/.aws/", getenv("HOME")) ;
data/hdf5-1.12.0+repack/src/H5TS.c:146:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection( &mutex->CriticalSection); 
data/hdf5-1.12.0+repack/src/H5TS.c:351:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&H5_g.init_lock.CriticalSection);
data/hdf5-1.12.0+repack/src/H5TSprivate.h:61:32:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
#define H5TS_mutex_init(mutex) InitializeCriticalSection(mutex)
data/hdf5-1.12.0+repack/src/H5TSprivate.h:62:39:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
#define H5TS_mutex_lock_simple(mutex) EnterCriticalSection(mutex)
data/hdf5-1.12.0+repack/src/H5private.h:961:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    #define HDgetenv(S)    getenv(S)
data/hdf5-1.12.0+repack/src/H5private.h:1209:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        #define HDrand()    random()
data/hdf5-1.12.0+repack/src/H5private.h:1212:31:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        #define HDrandom()    random()
data/hdf5-1.12.0+repack/src/H5private.h:1215:31:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        #define HDsrand(S)    srandom(S)
data/hdf5-1.12.0+repack/src/H5private.h:1218:33:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        #define HDsrandom(S)    srandom(S)
data/hdf5-1.12.0+repack/src/H5private.h:1228:31:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        #define HDsrand(S)    srand(S)
data/hdf5-1.12.0+repack/src/H5private.h:1231:33:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        #define HDsrandom(S)    srand(S)
data/hdf5-1.12.0+repack/src/H5private.h:1245:34:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    #define HDrealpath(F1,F2)    realpath(F1,F2)
data/hdf5-1.12.0+repack/src/H5private.h:1486:28:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    #define HDtmpnam(S)    tmpnam(S)
data/hdf5-1.12.0+repack/test/atomic_reader.c:240:18:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while((opt = getopt(argc, argv, "n:i:")) != -1) {
data/hdf5-1.12.0+repack/test/atomic_writer.c:133:18:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while((opt = getopt(argc, argv, "n:i:")) != -1) {
data/hdf5-1.12.0+repack/test/testframe.c:443:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        env_val = getenv("HDF5TestExpress");
data/hdf5-1.12.0+repack/test/testhdf5.c:85:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (GetTestCleanup() && !getenv("HDF5_NOCLEANUP"))
data/hdf5-1.12.0+repack/test/ttsafe.c:135:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (GetTestCleanup() && !getenv("HDF5_NOCLEANUP"))
data/hdf5-1.12.0+repack/test/twriteorder.c:130:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        c = getopt (argc, argv, cmd_options);
data/hdf5-1.12.0+repack/test/use_common.c:60:9:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt (argc, argv, nagg_options);
data/hdf5-1.12.0+repack/test/use_disable_mdc_flushes.c:99:9:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt (argc, argv, cmd_options);
data/hdf5-1.12.0+repack/tools/test/perform/chunk_cache.c:97:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (!getenv ("HDF5_NOCLEANUP")) {
data/hdf5-1.12.0+repack/tools/test/perform/overhead.c:138:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (!getenv ("HDF5_NOCLEANUP")) {
data/hdf5-1.12.0+repack/tools/test/perform/perf.c:411:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((c = getopt(argc, argv, "s:b:i:f:p:a:2:c")) != EOF) {
data/hdf5-1.12.0+repack/tools/test/perform/pio_engine.c:2645:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    clean_file_g = (getenv("HDF5_NOCLEANUP")==NULL) ? 1 : 0;
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:199:33:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
#define HDgetenv(S)             getenv(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:308:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDrand()                random()
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:309:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDrandom()              random()
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:365:33:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDsrand(S)              srandom(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:366:33:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDsrandom(S)            srandom(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:368:33:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDsrand(S)              srand(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:369:33:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDsrandom(S)            srand(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:420:33:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
#define HDtmpnam(S)             tmpnam(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:214:33:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
#define HDgetenv(S)             getenv(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:323:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDrand()                random()
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:324:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDrandom()              random()
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:380:33:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDsrand(S)              srandom(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:381:33:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDsrandom(S)            srandom(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:383:33:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDsrand(S)              srand(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:384:33:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define HDsrandom(S)            srand(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:435:33:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
#define HDtmpnam(S)             tmpnam(S)
data/hdf5-1.12.0+repack/c++/examples/h5tutr_cmprss.cpp:90:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char       name[1];
data/hdf5-1.12.0+repack/c++/src/H5Library.cpp:47:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void H5Library::open()
data/hdf5-1.12.0+repack/c++/src/H5Library.h:29:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        static void open();
data/hdf5-1.12.0+repack/c++/test/dsets.cpp:954:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buf[32];
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:306:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char short_name[5] = "File"; // to verify the read name
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1525:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char flstring_att_check[ATTR_LEN];
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1718:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char attr_name[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1723:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(attr_name, "attr %02u", attr_num);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1735:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(attr_name, "attr %02u", attr_num);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1746:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(attr_name, "attr %02u", attr_num);
data/hdf5-1.12.0+repack/c++/test/tcompound.cpp:123:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, orig, nelmts*sizeof(src_typ_t));
data/hdf5-1.12.0+repack/c++/test/tcompound.cpp:245:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, orig, nelmts*sizeof(src_typ_t));
data/hdf5-1.12.0+repack/c++/test/tcompound.cpp:369:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, orig, nelmts*sizeof(src_typ_t));
data/hdf5-1.12.0+repack/c++/test/tcompound.cpp:462:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    name[16];
data/hdf5-1.12.0+repack/c++/test/tcompound.cpp:468:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    name[16];
data/hdf5-1.12.0+repack/c++/test/tcompound.cpp:509:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, src, sizeof(src));
data/hdf5-1.12.0+repack/c++/test/tcompound.cpp:589:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, orig, nelmts*sizeof(src_typ_t));
data/hdf5-1.12.0+repack/c++/test/titerate.cpp:74:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NAMELEN];     /* The name of the object */
data/hdf5-1.12.0+repack/c++/test/titerate.cpp:145:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NAMELEN];     /* temporary name buffer */
data/hdf5-1.12.0+repack/c++/test/titerate.cpp:146:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *lnames[NDATASETS + 2];/* Names of the links created */
data/hdf5-1.12.0+repack/c++/test/titerate.cpp:171:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(name, "Dataset %d", i);
data/hdf5-1.12.0+repack/c++/test/tlinks.cpp:73:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/c++/test/tlinks.cpp:194:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/c++/test/tlinks.cpp:275:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   filename[1024];
data/hdf5-1.12.0+repack/c++/test/tlinks.cpp:415:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/c++/test/tlinks.cpp:552:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/c++/test/tlinks.cpp:635:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:239:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *string_ds_array[SPACE1_DIM1]= {
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:264:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char *string_ds_check[SPACE1_DIM1];
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:337:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata[SPACE1_DIM1] = {"one", "two", "", "four"};
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:338:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata2[SPACE1_DIM1] = {NULL, NULL, NULL, NULL};
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:339:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *rdata[SPACE1_DIM1];   // Information read in
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:573:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *wdata[SPACE1_DIM1] = {"one", "two", "three", "four"};
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:577:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char *rdata[SPACE1_DIM1];   // Information read in
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:779:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *string_att_array[SPACE1_DIM1]= {
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:808:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char *string_att_check[SPACE1_DIM1];
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:910:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[256]; // Buffer for names & data
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:912:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(name, "/set_%d", i);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:918:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(name, "/set_%d", i);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:925:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(name, "/set_%d", i);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:931:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(name, "/set_%d", i);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:937:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(name, "/set_%d", i);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:33:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char       s[16];
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:34:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char       s2[8];
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:42:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(s, &ld, 16);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:53:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&ld, s, 16);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:56:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(s2, &ll, 8);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:69:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(s2, &ull, 8);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:94:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char       s[16];
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:101:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(s, &ld, 16);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:110:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(s, &ld, 16);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:126:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(s, &ld, 16);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:157:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char       s[16];
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:165:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(s, &ld, 16);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:177:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&ld, s, 16);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:200:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char       s[16];
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:207:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(s, &ld, 16);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:216:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(s, &ld, 16);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:226:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(s, &ld, 16);
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:267:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy ((void *) ((char *) chpp + 1), &chp, sizeof (char *));
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:276:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy ((void *) ((char *) vlp + 1), &vl, sizeof (hvl_t));
data/hdf5-1.12.0+repack/config/cmake/ConversionTests.c:299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cpu[64];
data/hdf5-1.12.0+repack/config/cmake_ext_mod/HDFTests.c:247:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char formatString[64];
data/hdf5-1.12.0+repack/config/cmake_ext_mod/HDFTests.c:339:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if((fid=open("tst_file", O_CREAT | O_TRUNC | O_DIRECT, 0755))<0)
data/hdf5-1.12.0+repack/config/cmake_ext_mod/HDFTests.c:390:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *file = fopen( argv[0], "r" );
data/hdf5-1.12.0+repack/examples/h5_attribute.c:65:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char    string_out[80];     /* Buffer to read string attribute back */
data/hdf5-1.12.0+repack/examples/h5_interm_group.c:35:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     name[3];
data/hdf5-1.12.0+repack/examples/h5_ref2reg_deprec.c:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf1[10], buf2[10];
data/hdf5-1.12.0+repack/examples/ph5example.c:85:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char    testfiles[2][PATH_MAX];
data/hdf5-1.12.0+repack/examples/ph5example.c:1058:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mpi_name[MPI_MAX_PROCESSOR_NAME];
data/hdf5-1.12.0+repack/fortran/src/H5Df.c:691:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
       memcpy(&buf[i*max_len], c_buf[i].p, c_buf[i].len*sizeof(int_f));
data/hdf5-1.12.0+repack/fortran/src/H5Df.c:768:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        c_buf[i] = (char *) HDmalloc((size_t)len[i]+1);
data/hdf5-1.12.0+repack/fortran/src/H5Df.c:769:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(c_buf[i], tmp_p, (size_t)len[i]);
data/hdf5-1.12.0+repack/fortran/src/H5Df.c:858:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp_p, c_buf[i], strlen(c_buf[i]));
data/hdf5-1.12.0+repack/fortran/src/H5Df.c:1006:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
       memcpy(&buf[i*max_len], c_buf[i].p, c_buf[i].len*sizeof(real_f));
data/hdf5-1.12.0+repack/fortran/src/H5Pf.c:3445:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *c_memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/fortran/src/H5Pf.c:3469:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
       c_memb_name[i] = (char *)HDmalloc((size_t)len[i] + 1);
data/hdf5-1.12.0+repack/fortran/src/H5Pf.c:3570:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *c_memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/fortran/src/H5Pf.c:3596:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
       memcpy(tmp_p, c_memb_name[i], strlen(c_memb_name[i]));
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:146:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char chrA[64],chrB[64];
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:152:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char Real_C_TYPES[10][32];
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:161:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  c_header = fopen(CFILE, "w");
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:162:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fort_header = fopen(FFILE, "w");
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:207:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(Real_C_TYPES[i], "C_FLOAT");
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:211:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(Real_C_TYPES[i], "C_DOUBLE"); 
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:216:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(Real_C_TYPES[i], "C_LONG_DOUBLE");
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:223:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(Real_C_TYPES[i], "C_FLOAT128");
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:228:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(Real_C_TYPES[i], "C_FLOAT128");
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:236:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(Real_C_TYPES[i], "C_FLOAT128");
data/hdf5-1.12.0+repack/fortran/src/H5match_types.c:241:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(Real_C_TYPES[i], "C_FLOAT128");
data/hdf5-1.12.0+repack/fortran/test/t.c:87:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char filename[1024];
data/hdf5-1.12.0+repack/fortran/test/t.c:89:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char *c_base_name[1];
data/hdf5-1.12.0+repack/hl/c++/test/ptableTest.cpp:300:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filter_name[8];
data/hdf5-1.12.0+repack/hl/c++/test/ptableTest.cpp:597:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char d[STRING_LENGTH]; // null terminated string
data/hdf5-1.12.0+repack/hl/examples/ex_image1.c:20:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char buf [ WIDTH*HEIGHT ];
data/hdf5-1.12.0+repack/hl/examples/ex_image1.c:28:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 unsigned char pal[PAL_ENTRIES*3] = {  /* create a palette with 9 colors */
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:34:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 unsigned char  pal[ PAL_ENTRIES * 3 ];        /* palette array */
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:126:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 char   str[20];
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:130:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 char   data_file[512]="";          /* buffer to hold name of existing data file */
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:149:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
 f = fopen(data_file, "r");
data/hdf5-1.12.0+repack/hl/examples/ex_table_01.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_01.c:73:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/examples/ex_table_02.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_02.c:71:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 const char *field_names[NFIELDS] =
data/hdf5-1.12.0+repack/hl/examples/ex_table_03.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_03.c:61:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/examples/ex_table_04.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_04.c:52:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_04.c:71:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 const char *field_names[NFIELDS]  =     /* Define field information */
data/hdf5-1.12.0+repack/hl/examples/ex_table_05.c:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_05.c:73:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/examples/ex_table_06.c:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_06.c:50:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/examples/ex_table_07.c:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_07.c:61:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 const char *field_names[NFIELDS]  =     /* Define field information */
data/hdf5-1.12.0+repack/hl/examples/ex_table_08.c:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_08.c:75:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/examples/ex_table_09.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_09.c:70:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/examples/ex_table_10.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_10.c:70:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/examples/ex_table_11.c:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_11.c:61:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/examples/ex_table_12.c:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   name[16];
data/hdf5-1.12.0+repack/hl/examples/ex_table_12.c:62:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/examples/pal_rgb.h:14:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const unsigned char pal_rgb[256*3] = {255,255,255,
data/hdf5-1.12.0+repack/hl/fortran/src/H5TBfc.c:89:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if(NULL == (c_field_names[i] = (char *)HDmalloc((size_t)char_len_field_names[i] + 1)))
data/hdf5-1.12.0+repack/hl/fortran/src/H5TBfc.c:195:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if(NULL == (c_field_names[i] = (char *)HDmalloc((size_t)char_len_field_names[i] + 1)))
data/hdf5-1.12.0+repack/hl/src/H5LT.c:869:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                file_name[64];	        /* Filename buffer */
data/hdf5-1.12.0+repack/hl/src/H5LT.c:2329:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmp_str[TMP_LEN];
data/hdf5-1.12.0+repack/hl/src/H5LT.c:2364:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char             tmp_str[TMP_LEN];
data/hdf5-1.12.0+repack/hl/src/H5LT.c:2543:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmp_str[TMP_LEN];
data/hdf5-1.12.0+repack/hl/src/H5LTanalyze.c:1495:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                            H5LTyylval.ival = atoi(H5LTyytext);
data/hdf5-1.12.0+repack/hl/src/H5LTanalyze.c:2555:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(buf, myinput, input_len); 
data/hdf5-1.12.0+repack/hl/src/H5LTparse.c:1103:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/hdf5-1.12.0+repack/hl/src/H5LTparse.c:1292:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char yymsgbuf[128];
data/hdf5-1.12.0+repack/hl/src/H5TB.c:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attr_name[255];
data/hdf5-1.12.0+repack/hl/src/H5TB.c:1750:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attr_name[255];
data/hdf5-1.12.0+repack/hl/src/H5TB.c:2111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     table_title[255];
data/hdf5-1.12.0+repack/hl/src/H5TB.c:2112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attr_name[255];
data/hdf5-1.12.0+repack/hl/src/H5TB.c:2525:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attr_name[255];
data/hdf5-1.12.0+repack/hl/src/H5TB.c:2526:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     table_title[255];
data/hdf5-1.12.0+repack/hl/src/H5TB.c:2980:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attr_name[255];
data/hdf5-1.12.0+repack/hl/src/H5TB.c:3299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attr_name[255];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[65];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[65];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:151:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char dsname[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:279:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:282:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(dsname, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:295:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:300:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:305:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:310:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:340:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:341:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:343:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(dsname, "al2");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:356:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:361:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:366:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:371:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:400:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:401:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:402:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:404:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(dsname, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:412:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:414:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(name, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:422:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:424:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(name, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:432:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:434:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(name, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:442:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:444:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(name, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:476:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:477:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:478:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[32];
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:481:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(dsname, "al2");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:489:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:491:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(name, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:499:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:501:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(name, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:509:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:511:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(name, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:519:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(scalename, "al");
data/hdf5-1.12.0+repack/hl/test/gen_test_ds.c:521:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(name, "al");
data/hdf5-1.12.0+repack/hl/test/pal_rgb.h:14:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const unsigned char pal_rgb[256*3] = {255,255,255,
data/hdf5-1.12.0+repack/hl/test/test_ds.c:218:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[65];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:227:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[65];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:243:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   buf[DIM1_SIZE*DIM2_SIZE*DIM3_SIZE];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:247:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s1_wbuf[DIM1_SIZE] = {1,2,3};
data/hdf5-1.12.0+repack/hl/test/test_ds.c:248:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s11_wbuf[DIM1_SIZE] = {10,20,30};
data/hdf5-1.12.0+repack/hl/test/test_ds.c:249:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s2_wbuf[DIM2_SIZE] = {10,20,30,40};
data/hdf5-1.12.0+repack/hl/test/test_ds.c:250:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s21_wbuf[DIM2_SIZE] = {1,2,3,4};
data/hdf5-1.12.0+repack/hl/test/test_ds.c:251:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s22_wbuf[DIM2_SIZE] = {5,10,50,100};
data/hdf5-1.12.0+repack/hl/test/test_ds.c:252:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s3_wbuf[DIM3_SIZE] = {10,10,10,20,20,20,30,30,30,40,40,40};
data/hdf5-1.12.0+repack/hl/test/test_ds.c:253:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s31_wbuf[DIM3_SIZE] = {1,1,1,2,2,2,3,3,3,4,4,4};
data/hdf5-1.12.0+repack/hl/test/test_ds.c:254:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s32_wbuf[DIM3_SIZE] = {5,5,5,10,10,10,50,50,50,100,100,100};
data/hdf5-1.12.0+repack/hl/test/test_ds.c:255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s33_wbuf[DIM3_SIZE] = {6,6,6,12,12,12,53,53,53,120,120,120};
data/hdf5-1.12.0+repack/hl/test/test_ds.c:256:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:309:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:357:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:468:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:502:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:527:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:560:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:601:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:626:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:659:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:700:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:725:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:758:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:799:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:824:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:857:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:898:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:947:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:972:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1005:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[64];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dname[16];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1278:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1279:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1331:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1332:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1408:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1409:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1469:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1470:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1526:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1527:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1583:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1584:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1645:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1646:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1723:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1724:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1725:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1783:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1784:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1785:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1891:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1892:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1893:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1967:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1968:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:1969:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2035:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2036:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2037:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dsname[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    scalename[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[32];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2235:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sname[30];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2236:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dname[30];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2242:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dim0_label[16];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2243:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dim1_label[16];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2246:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dim0_labels[3];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2247:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dim1_labels[3];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:2255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char snames[3];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:4119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dname[30];                                        /* dataset name */
data/hdf5-1.12.0+repack/hl/test/test_ds.c:4307:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[30];                                         /* dataset name buffer */
data/hdf5-1.12.0+repack/hl/test/test_ds.c:4308:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    names[30];                                        /* dataset scale name buffer */
data/hdf5-1.12.0+repack/hl/test/test_ds.c:4309:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    namel[30];                                        /* dataset label name buffer */
data/hdf5-1.12.0+repack/hl/test/test_ds.c:4864:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     str[20];
data/hdf5-1.12.0+repack/hl/test/test_ds.c:4927:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    lbuf[255];                        /* label buffer */
data/hdf5-1.12.0+repack/hl/test/test_image.c:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          interlace[20];
data/hdf5-1.12.0+repack/hl/test/test_image.c:104:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pal[ PAL_ENTRIES * 3 ];        /* palette array */
data/hdf5-1.12.0+repack/hl/test/test_image.c:113:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pal_out[ PAL_ENTRIES * 3 ];    /* palette array */
data/hdf5-1.12.0+repack/hl/test/test_image.c:339:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char  pal[256*3]; /* buffer to hold an HDF5 palette */
data/hdf5-1.12.0+repack/hl/test/test_image.c:787:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   str[20];
data/hdf5-1.12.0+repack/hl/test/test_image.c:905:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          buffer[80];
data/hdf5-1.12.0+repack/hl/test/test_ld.c:84:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char  g_tmp_buf[TMP_BUF_SIZE];
data/hdf5-1.12.0+repack/hl/test/test_ld.c:854:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tbuf[2];    /* temporary buffer for testing */
data/hdf5-1.12.0+repack/hl/test/test_lite.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    data_char_in[DIM]    = {1,2,3,4,5,6};
data/hdf5-1.12.0+repack/hl/test/test_lite.c:66:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    data_char_out[DIM];
data/hdf5-1.12.0+repack/hl/test/test_lite.c:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    data_string_out[20];
data/hdf5-1.12.0+repack/hl/test/test_lite.c:493:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attr_str_out[20];
data/hdf5-1.12.0+repack/hl/test/test_lite.c:494:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attr_char_in[5]   = {1,2,3,4,5};
data/hdf5-1.12.0+repack/hl/test/test_lite.c:495:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attr_char_out[5];
data/hdf5-1.12.0+repack/hl/test/test_lite.c:506:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    attr_uchar_in[5]   = {1,2,3,4,5};
data/hdf5-1.12.0+repack/hl/test/test_lite.c:507:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    attr_uchar_out[5];
data/hdf5-1.12.0+repack/hl/test/test_lite.c:1380:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name1[16];
data/hdf5-1.12.0+repack/hl/test/test_packet.c:40:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
 char   name[16];
data/hdf5-1.12.0+repack/hl/test/test_packet.c:126:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    msg[80];        /* For error message */
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:180:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    msg[80];        /* For error message */
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:326:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    msg[80];        /* For error message */
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:499:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    msg[80];        /* For error message */
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:627:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lenthtype[20];
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:936:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:967:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char lenthtype[20];
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:1056:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    msg[80];        /* For error message */
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:1173:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    msg[80];        /* For error message */
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:1319:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    msg[80];        /* For error message */
data/hdf5-1.12.0+repack/hl/test/test_packet_vlen.c:1492:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    msg[80];        /* For error message */
data/hdf5-1.12.0+repack/hl/test/test_table.c:60:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   name[16];
data/hdf5-1.12.0+repack/hl/test/test_table.c:83:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   name[16];
data/hdf5-1.12.0+repack/hl/test/test_table.c:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   name[16];
data/hdf5-1.12.0+repack/hl/test/test_table.c:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   name[16];
data/hdf5-1.12.0+repack/hl/test/test_table.c:220:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tname[20];
data/hdf5-1.12.0+repack/hl/test/test_table.c:425:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *field_names4[NFIELDS+1] =
data/hdf5-1.12.0+repack/hl/test/test_table.c:436:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *field_names[NFIELDS]  =
data/hdf5-1.12.0+repack/hl/tools/gif2h5/gif2hdf.c:71:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(fpGif = fopen(GIFFileName,"rb"))) {
data/hdf5-1.12.0+repack/hl/tools/gif2h5/h52gifgentst.c:52:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pal[ PAL_ENTRIES * 3 ];        /* palette array */
data/hdf5-1.12.0+repack/hl/tools/gif2h5/hdf2gif.c:131:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(fpGif = fopen(GIFName , "wb")))
data/hdf5-1.12.0+repack/hl/tools/gif2h5/hdf2gif.c:141:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char          interlace[20];
data/hdf5-1.12.0+repack/hl/tools/gif2h5/hdfgifwr.c:429:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char accum[ 256 ];
data/hdf5-1.12.0+repack/hl/tools/gif2h5/writehdf.c:51:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ImageName[256];                /* Image name for the Image */
data/hdf5-1.12.0+repack/hl/tools/gif2h5/writehdf.c:102:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(ImageName , "Image%d" , i);
data/hdf5-1.12.0+repack/hl/tools/h5watch/h5watch.c:126:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char fmt_double[16], fmt_float[16];    /* Format info */
data/hdf5-1.12.0+repack/hl/tools/h5watch/h5watch.c:201:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(fmt_float, "%%1.%dg", FLT_DIG);
data/hdf5-1.12.0+repack/hl/tools/h5watch/h5watch.c:203:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(fmt_double, "%%1.%dg", DBL_DIG);
data/hdf5-1.12.0+repack/hl/tools/h5watch/h5watch.c:821:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        drivername[50];     /* VFD name */
data/hdf5-1.12.0+repack/java/src/jni/exceptionImp.c:249:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     *args[2];
data/hdf5-1.12.0+repack/java/src/jni/exceptionImp.c:378:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       *args[2];
data/hdf5-1.12.0+repack/java/src/jni/h5aImp.c:1128:59:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (!h5str_sprintf(ENVONLY, &h5str, aid, tid, &(((char *) readBuf)[i * typeSize]), typeSize, 0))
data/hdf5-1.12.0+repack/java/src/jni/h5aImp.c:1343:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            HDmemset(&(((char *) writeBuf)[i * typeSize]), 0, typeSize);
data/hdf5-1.12.0+repack/java/src/jni/h5aImp.c:1359:68:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (!h5str_convert(ENVONLY, (char **) &utf8, aid, tid, &(((char *) writeBuf)[i * typeSize]), 0))
data/hdf5-1.12.0+repack/java/src/jni/h5dImp.c:1284:59:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (!h5str_sprintf(ENVONLY, &h5str, did, tid, &(((char *) readBuf)[i * typeSize]), typeSize, 0))
data/hdf5-1.12.0+repack/java/src/jni/h5dImp.c:1548:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            HDmemset(&(((char *) writeBuf)[i * typeSize]), 0, typeSize);
data/hdf5-1.12.0+repack/java/src/jni/h5dImp.c:1564:68:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (!h5str_convert(ENVONLY, (char **) &utf8, did, tid, &(((char *) writeBuf)[i * typeSize]), 0))
data/hdf5-1.12.0+repack/java/src/jni/h5lImp.c:577:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    ((char *) linkValue)[infobuf.u.val_size] = '\0';
data/hdf5-1.12.0+repack/java/src/jni/h5pFAPLImp.c:610:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char               *member_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/java/src/jni/h5util.c:187:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    fmt_llong[8], fmt_ullong[8];
data/hdf5-1.12.0+repack/java/src/jni/h5util.c:206:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    cptr = &(((char *) out_buf)[out_buf_offset]);
data/hdf5-1.12.0+repack/java/src/jni/h5util.c:207:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    ucptr = &(((unsigned char *) out_buf)[out_buf_offset]);
data/hdf5-1.12.0+repack/java/src/jni/h5util.c:713:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    fmt_llong[8], fmt_ullong[8];
data/hdf5-1.12.0+repack/java/src/jni/h5util.c:1029:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char enum_name[1024];
data/hdf5-1.12.0+repack/java/src/jni/h5util.c:1495:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      tmp_str[256];
data/hdf5-1.12.0+repack/java/src/jni/h5util.c:1716:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      tmp_str[256];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:580:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[4];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:642:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[4];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:704:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[4];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:766:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[8];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:828:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[8];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:885:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[sizeof(int)];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:921:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[sizeof(float)];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:957:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[sizeof(short)];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:993:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[sizeof(double)];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:1029:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[sizeof(jlong)];
data/hdf5-1.12.0+repack/java/src/jni/nativeData.c:1065:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bytes[sizeof(jbyte)];
data/hdf5-1.12.0+repack/src/H5.c:262:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	loop[1024];
data/hdf5-1.12.0+repack/src/H5.c:585:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	pkg_name[32], *rest;
data/hdf5-1.12.0+repack/src/H5.c:742:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	lib_str[256];
data/hdf5-1.12.0+repack/src/H5AC.c:287:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char 	 prefix[H5C__PREFIX_LEN] = "";
data/hdf5-1.12.0+repack/src/H5ACpublic.h:456:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                     trace_file_name[H5AC__MAX_TRACE_FILE_NAME_LEN + 1];
data/hdf5-1.12.0+repack/src/H5B2dbg.c:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp_str[128];          /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5B2dbg.c:191:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp_str[128];          /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5B2dbg.c:303:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp_str[128];          /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5Clog_json.c:1034:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rw_s[16];
data/hdf5-1.12.0+repack/src/H5Cmpio.c:192:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		tbl_buf[1024];
data/hdf5-1.12.0+repack/src/H5Cpkg.h:4880:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char			prefix[H5C__PREFIX_LEN];
data/hdf5-1.12.0+repack/src/H5Dchunk.c:6660:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	ascii[32];
data/hdf5-1.12.0+repack/src/H5Dearray.c:432:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_str[128];     /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5Dearray.c:591:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_str[128];     /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5Dfarray.c:428:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_str[128];     /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5Dfarray.c:693:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_str[128];     /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5Dint.c:780:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char  continuation[1]  = ""; /* requred for work-around */
data/hdf5-1.12.0+repack/src/H5Dio.c:1136:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char                            local_no_collective_cause_string[512] = "";
data/hdf5-1.12.0+repack/src/H5Dio.c:1137:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char                            global_no_collective_cause_string[512] = "";
data/hdf5-1.12.0+repack/src/H5E.c:189:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lib_vers[128];         /* Buffer to constructu library version within */
data/hdf5-1.12.0+repack/src/H5EAdbg.c:260:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char temp_str[128];     /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5EAdbg.c:276:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char temp_str[128];     /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5EAdbg.c:367:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char temp_str[128];     /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5EAtest.c:332:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_str[128];     /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5Eint.c:110:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char	H5E_mpi_error_str[MPI_MAX_ERROR_STRING];
data/hdf5-1.12.0+repack/src/H5Eprivate.h:119:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern	char	H5E_mpi_error_str[MPI_MAX_ERROR_STRING];
data/hdf5-1.12.0+repack/src/H5FAtest.c:311:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_str[128];     /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5FD.c:236:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!cls->open || !cls->close)
data/hdf5-1.12.0+repack/src/H5FD.c:285:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    HDassert(cls->open && cls->close);
data/hdf5-1.12.0+repack/src/H5FD.c:720:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == driver->open)
data/hdf5-1.12.0+repack/src/H5FD.c:740:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == (file = (driver->open)(name, flags, fapl_id, maxaddr)))
data/hdf5-1.12.0+repack/src/H5FDhdfs.h:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    namenode_name[H5FD__HDFS_NODE_NAME_SPACE + 1];
data/hdf5-1.12.0+repack/src/H5FDhdfs.h:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    user_name[H5FD__HDFS_USER_NAME_SPACE + 1];
data/hdf5-1.12.0+repack/src/H5FDhdfs.h:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    kerberos_ticket_cache[H5FD__HDFS_KERB_CACHE_PATH_SPACE + 1];
data/hdf5-1.12.0+repack/src/H5FDlog.c:83:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            filename[H5FD_MAX_FILENAME_LEN];    /* Copy of file name from open operation */
data/hdf5-1.12.0+repack/src/H5FDmpi.c:302:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgbuf[1];
data/hdf5-1.12.0+repack/src/H5FDmpi.c:357:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgbuf[1];
data/hdf5-1.12.0+repack/src/H5FDmpio.c:812:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char debug_str[128];
data/hdf5-1.12.0+repack/src/H5FDmulti.c:73:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        *memb_name[H5FD_MEM_NTYPES];    /*name generators               */
data/hdf5-1.12.0+repack/src/H5FDmulti.c:202:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(x, s, str_len);
data/hdf5-1.12.0+repack/src/H5FDmulti.c:279:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char		*memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/src/H5FDmulti.c:280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		meta_name[H5FD_MULT_MAX_FILE_NAME_LEN];
data/hdf5-1.12.0+repack/src/H5FDmulti.c:281:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		raw_name[H5FD_MULT_MAX_FILE_NAME_LEN];
data/hdf5-1.12.0+repack/src/H5FDmulti.c:432:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		_memb_name[H5FD_MEM_NTYPES][16];
data/hdf5-1.12.0+repack/src/H5FDmulti.c:433:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char		*_memb_name_ptrs[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/src/H5FDmulti.c:495:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(fa.memb_map, memb_map, H5FD_MEM_NTYPES*sizeof(H5FD_mem_t));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:496:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(fa.memb_fapl, memb_fapl, H5FD_MEM_NTYPES*sizeof(hid_t));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:497:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(fa.memb_name, memb_name, H5FD_MEM_NTYPES*sizeof(char*));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:498:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(fa.memb_addr, memb_addr, H5FD_MEM_NTYPES*sizeof(haddr_t));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:549:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(memb_map, fa->memb_map, H5FD_MEM_NTYPES*sizeof(H5FD_mem_t));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:567:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(memb_addr, fa->memb_addr, H5FD_MEM_NTYPES*sizeof(haddr_t));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:678:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p, &(file->fa.memb_addr[mt]), sizeof(haddr_t));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:681:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p, &memb_eoa, sizeof(haddr_t));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:726:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		x[2*H5FD_MEM_NTYPES*8];
data/hdf5-1.12.0+repack/src/H5FDmulti.c:732:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char		*memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/src/H5FDmulti.c:770:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(x, buf, (nseen*2*8));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:899:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(new_fa, old_fa, sizeof(H5FD_multi_fapl_t));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:1217:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(type_map, file->fa.memb_map, sizeof(file->fa.memb_map));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:1968:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    tmp[H5FD_MULT_MAX_FILE_NAME_LEN];
data/hdf5-1.12.0+repack/src/H5FDpublic.h:282:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    H5FD_t *(*open)(const char *name, unsigned flags, hid_t fapl,
data/hdf5-1.12.0+repack/src/H5FDros3.c:768:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              iso8601now[ISO8601_SIZE];
data/hdf5-1.12.0+repack/src/H5FDros3.c:769:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char     signing_key[SHA256_DIGEST_LENGTH];
data/hdf5-1.12.0+repack/src/H5FDros3.h:83:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    aws_region[H5FD_ROS3_MAX_REGION_LEN + 1];
data/hdf5-1.12.0+repack/src/H5FDros3.h:84:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    secret_id[H5FD_ROS3_MAX_SECRET_ID_LEN + 1];
data/hdf5-1.12.0+repack/src/H5FDros3.h:85:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    secret_key[H5FD_ROS3_MAX_SECRET_KEY_LEN + 1];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:1550:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char authorization[512+1];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:1560:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer1[512+1]; /* -> Canonical Request -> Signature */
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:1561:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer2[256+1]; /* -> String To Sign -> Credential */
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:1562:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char iso8601now[ISO8601_SIZE];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:1563:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char signed_headers[48+1];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:1813:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char     curlerrbuf[CURL_ERROR_SIZE];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2019:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmpstr[256+1];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2295:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char md[SHA256_DIGEST_LENGTH];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2391:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        profile_line[32];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2392:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buffer[128];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2452:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char        line_prefix[128];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2549:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char awspath[117];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2550:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filepath[128];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2574:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    credfile = fopen(filepath, "r");
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2599:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    credfile = fopen(filepath, "r");
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3009:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char       s[2]          = {c, 0};
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3010:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char       hex[3]        = {0, 0, 0};
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3050:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char stack[4]  = {0, 0, 0, 0};
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3181:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char  datekey[SHA256_DIGEST_LENGTH];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3182:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char  dateregionkey[SHA256_DIGEST_LENGTH];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3183:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char  dateregionservicekey[SHA256_DIGEST_LENGTH];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3308:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char checksum[SHA256_DIGEST_LENGTH * 2 + 1];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3310:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          day[9];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3311:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          hexsum[SHA256_DIGEST_LENGTH * 2 + 1];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3315:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          tmp[128];
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:3525:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   hex_buffer[13];
data/hdf5-1.12.0+repack/src/H5FDsec2.c:60:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            filename[H5FD_MAX_FILENAME_LEN];    /* Copy of file name from open operation */
data/hdf5-1.12.0+repack/src/H5FDstdio.c:353:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        f = fopen(name, "rb+");
data/hdf5-1.12.0+repack/src/H5FDstdio.c:355:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        f = fopen(name, "rb");
data/hdf5-1.12.0+repack/src/H5FDstdio.c:361:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            f = fopen(name, "wb+");
data/hdf5-1.12.0+repack/src/H5Fsuper_cache.c:920:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                drv_name[9];    /* Name of driver */
data/hdf5-1.12.0+repack/src/H5Gtraverse.c:489:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                comp_buf[1024];     /* Temporary buffer for path components */
data/hdf5-1.12.0+repack/src/H5HFdbg.c:451:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char temp_str[32];      /* Temporary string for formatting */
data/hdf5-1.12.0+repack/src/H5HFdbg.c:640:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_str[64];                  /* Temporary string, for formatting */
data/hdf5-1.12.0+repack/src/H5HGdbg.c:135:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buf[64];
data/hdf5-1.12.0+repack/src/H5HLdbg.c:88:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char temp_str[32];
data/hdf5-1.12.0+repack/src/H5L.c:2263:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ((char *)buf)[size - 1] = '\0';
data/hdf5-1.12.0+repack/src/H5L.c:2281:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            ((char *)buf)[0] = '\0';
data/hdf5-1.12.0+repack/src/H5Lexternal.c:133:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        local_group_name[H5L_EXT_TRAVERSE_BUF_SIZE];  /* Local buffer to hold group name */
data/hdf5-1.12.0+repack/src/H5MM.c:58:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[H5MM_SIG_SIZE];   /* Signature for the block, to indicate it was allocated with H5MM* interface */
data/hdf5-1.12.0+repack/src/H5MM.c:99:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char H5MM_block_signature_s[H5MM_SIG_SIZE] = {'H', '5', 'M', 'M'};
data/hdf5-1.12.0+repack/src/H5MM.c:100:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char H5MM_block_head_guard_s[H5MM_HEAD_GUARD_SIZE] = {'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F'};
data/hdf5-1.12.0+repack/src/H5MM.c:101:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char H5MM_block_tail_guard_s[H5MM_TAIL_GUARD_SIZE] = {'B', 'E', 'E', 'F', 'D', 'E', 'A', 'D'};
data/hdf5-1.12.0+repack/src/H5Oattr.c:800:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		buf[128];       /* Temporary string buffer */
data/hdf5-1.12.0+repack/src/H5Ocopy_ref.c:118:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    tmp_obj_name[80];
data/hdf5-1.12.0+repack/src/H5Ocopy_ref.c:166:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char zeros[H5R_OBJ_REF_BUF_SIZE] = { 0 };
data/hdf5-1.12.0+repack/src/H5Ocopy_ref.c:228:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char zeros[H5R_DSET_REG_REF_BUF_SIZE] = { 0 };
data/hdf5-1.12.0+repack/src/H5Odbg.c:341:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buf[128];          /* Buffer for formatting time info */
data/hdf5-1.12.0+repack/src/H5Odtype.c:1676:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		buf[256];
data/hdf5-1.12.0+repack/src/H5Oefl.c:553:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char		    buf[64];
data/hdf5-1.12.0+repack/src/H5Oint.c:788:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    HDassert(obj_class->open);
data/hdf5-1.12.0+repack/src/H5Oint.c:789:40:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == (ret_value = obj_class->open(obj_loc, opened_type)))
data/hdf5-1.12.0+repack/src/H5Omtime.c:453:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buf[128];
data/hdf5-1.12.0+repack/src/H5Opkg.h:342:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void	*(*open)(const H5G_loc_t *, H5I_type_t *);	/*open an object of this class */
data/hdf5-1.12.0+repack/src/H5Opline.c:665:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[32];
data/hdf5-1.12.0+repack/src/H5Opline.c:688:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    field_name[32];
data/hdf5-1.12.0+repack/src/H5Oprivate.h:772:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                name[9];                /* Driver name */
data/hdf5-1.12.0+repack/src/H5PLpath.c:217:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    H5PL_paths_g[idx] = (char *)H5MM_xfree(H5PL_paths_g[idx]);
data/hdf5-1.12.0+repack/src/H5PLpath.c:316:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            H5PL_paths_g[u] = (char *)H5MM_xfree(H5PL_paths_g[u]);
data/hdf5-1.12.0+repack/src/H5PLpath.c:529:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    H5PL_paths_g[idx] = (char *)H5MM_xfree(H5PL_paths_g[idx]);
data/hdf5-1.12.0+repack/src/H5PLpath.c:717:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                service[2048];
data/hdf5-1.12.0+repack/src/H5Rint.c:99:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char string[64];
data/hdf5-1.12.0+repack/src/H5Tdbg.c:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	bandwidth[32];
data/hdf5-1.12.0+repack/src/H5Tnative.c:328:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    comp_mname[u] = (char *)H5MM_xfree(comp_mname[u]);
data/hdf5-1.12.0+repack/src/H5Tpkg.h:173:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	name[H5T_NAMELEN];	/*name for debugging only	     */
data/hdf5-1.12.0+repack/src/H5Tpkg.h:361:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	name[H5T_NAMELEN];	/*name for debugging only	     */
data/hdf5-1.12.0+repack/src/H5Tref.c:316:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char zeros[H5T_REF_MEM_SIZE] = { 0 };
data/hdf5-1.12.0+repack/src/H5Tref.c:391:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char file_name_buf_static[256];         /* File name */
data/hdf5-1.12.0+repack/src/H5Tref.c:462:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char file_name_buf_static[256];     /* File name */
data/hdf5-1.12.0+repack/src/H5VLcallback.c:1090:30:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == cls->attr_cls.open)
data/hdf5-1.12.0+repack/src/H5VLcallback.c:1094:44:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == (ret_value = (cls->attr_cls.open)(obj, loc_params, name, aapl_id, dxpl_id, req)))
data/hdf5-1.12.0+repack/src/H5VLcallback.c:1936:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == cls->dataset_cls.open)
data/hdf5-1.12.0+repack/src/H5VLcallback.c:1940:47:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == (ret_value = (cls->dataset_cls.open)(obj, loc_params, name, dapl_id, dxpl_id, req)))
data/hdf5-1.12.0+repack/src/H5VLcallback.c:2805:34:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == cls->datatype_cls.open)
data/hdf5-1.12.0+repack/src/H5VLcallback.c:2809:48:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == (ret_value = (cls->datatype_cls.open)(obj, loc_params, name, tapl_id, dxpl_id, req)))
data/hdf5-1.12.0+repack/src/H5VLcallback.c:3460:30:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == cls->file_cls.open)
data/hdf5-1.12.0+repack/src/H5VLcallback.c:3464:44:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == (ret_value = (cls->file_cls.open)(name, flags, fapl_id, dxpl_id, req)))
data/hdf5-1.12.0+repack/src/H5VLcallback.c:4148:31:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == cls->group_cls.open)
data/hdf5-1.12.0+repack/src/H5VLcallback.c:4152:45:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == (ret_value = (cls->group_cls.open)(obj, loc_params, name, gapl_id, dxpl_id, req)))
data/hdf5-1.12.0+repack/src/H5VLcallback.c:5380:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == cls->object_cls.open)
data/hdf5-1.12.0+repack/src/H5VLcallback.c:5384:46:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(NULL == (ret_value = (cls->object_cls.open)(obj, params, opened_type, dxpl_id, req)))
data/hdf5-1.12.0+repack/src/H5VLconnector.h:314:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void *(*open)(void *obj, const H5VL_loc_params_t *loc_params, const char *attr_name,
data/hdf5-1.12.0+repack/src/H5VLconnector.h:331:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void *(*open)(void *obj, const H5VL_loc_params_t *loc_params, const char *name,
data/hdf5-1.12.0+repack/src/H5VLconnector.h:349:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void *(*open)(void *obj, const H5VL_loc_params_t *loc_params, const char * name,
data/hdf5-1.12.0+repack/src/H5VLconnector.h:362:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void *(*open)(const char *name, unsigned flags, hid_t fapl_id, hid_t dxpl_id, void **req);
data/hdf5-1.12.0+repack/src/H5VLconnector.h:375:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void *(*open)(void *obj, const H5VL_loc_params_t *loc_params, const char *name,
data/hdf5-1.12.0+repack/src/H5VLconnector.h:404:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void *(*open)(void *obj, const H5VL_loc_params_t *loc_params, H5I_type_t *opened_type,
data/hdf5-1.12.0+repack/src/H5VLpassthru.c:646:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(under_vol_info_str, under_vol_info_start + 1, (size_t)((under_vol_info_end - under_vol_info_start) - 1));
data/hdf5-1.12.0+repack/src/H5VMprivate.h:494:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char H5VM_bit_set_g[8] = {0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01};
data/hdf5-1.12.0+repack/src/H5VMprivate.h:495:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char H5VM_bit_clear_g[8] = {0x7F, 0xBF, 0xDF, 0xEF, 0xF7, 0xFB, 0xFD, 0xFE};
data/hdf5-1.12.0+repack/src/H5Z.c:135:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char comment[16], bandwidth[32];
data/hdf5-1.12.0+repack/src/H5Zprivate.h:58:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		_name[H5Z_COMMON_NAME_LEN];	/*internal filter name		     */
data/hdf5-1.12.0+repack/src/H5Zscaleoffset.c:1146:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            minbits_mask = ((unsigned char *)*buf)[i];
data/hdf5-1.12.0+repack/src/H5Zscaleoffset.c:1155:64:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        minval_size = sizeof(unsigned long long) <= ((unsigned char *)*buf)[4] ?
data/hdf5-1.12.0+repack/src/H5Zscaleoffset.c:1156:63:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      sizeof(unsigned long long) : ((unsigned char *)*buf)[4];
data/hdf5-1.12.0+repack/src/H5Zscaleoffset.c:1159:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            minval_mask = ((unsigned char *)*buf)[5+i];
data/hdf5-1.12.0+repack/src/H5Zscaleoffset.c:1261:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            ((unsigned char *)outbuf)[i] = (unsigned char)((minbits & ((uint32_t)0xff << i*8)) >> i*8);
data/hdf5-1.12.0+repack/src/H5Zscaleoffset.c:1263:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((unsigned char *)outbuf)[4] = sizeof(unsigned long long);
data/hdf5-1.12.0+repack/src/H5Zscaleoffset.c:1266:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            ((unsigned char *)outbuf)[5+i] = (unsigned char)((minval & ((unsigned long long)0xff << i*8)) >> i*8);
data/hdf5-1.12.0+repack/src/H5detect.c:298:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char _buf1[sizeof(TYPE)], _buf3[sizeof(TYPE)];                   \
data/hdf5-1.12.0+repack/src/H5detect.c:299:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char _pad_mask[sizeof(TYPE)];                                    \
data/hdf5-1.12.0+repack/src/H5detect.c:1159:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           real_name[30];
data/hdf5-1.12.0+repack/src/H5detect.c:1160:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           host_name[256];
data/hdf5-1.12.0+repack/src/H5make_libsettings.c:143:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        real_name[30];
data/hdf5-1.12.0+repack/src/H5make_libsettings.c:144:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        host_name[256];
data/hdf5-1.12.0+repack/src/H5private.h:238:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char p_event_start[128];
data/hdf5-1.12.0+repack/src/H5private.h:684:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    #define HDatoi(S)    atoi(S)
data/hdf5-1.12.0+repack/src/H5private.h:687:26:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    #define HDatol(S)    atol(S)
data/hdf5-1.12.0+repack/src/H5private.h:863:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    #define HDfopen(S,M)    fopen(S,M)
data/hdf5-1.12.0+repack/src/H5private.h:1126:32:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    #define HDmemcpy(X,Y,Z)    memcpy(X,Y,Z)
data/hdf5-1.12.0+repack/src/H5private.h:1150:30:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    #define HDopen(F,...)    open(F,__VA_ARGS__)
data/hdf5-1.12.0+repack/src/H5private.h:1483:28:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    #define HDtmpfile()    tmpfile()
data/hdf5-1.12.0+repack/src/H5private.h:1897:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    '_'!=((const char *)S)[2]       /* underscore at position 2     */  \
data/hdf5-1.12.0+repack/src/H5private.h:1898:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    && '_'!=((const char *)S)[3]    /* underscore at position 3     */  \
data/hdf5-1.12.0+repack/src/H5private.h:1900:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((const char *)S)[4]                    /* pos 4 exists     */  \
data/hdf5-1.12.0+repack/src/H5private.h:1902:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        && '_'==((const char *)S)[4]            /* pos 4 underscore */  \
data/hdf5-1.12.0+repack/src/H5system.c:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  modifier[8];
data/hdf5-1.12.0+repack/src/H5system.c:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  *rest, format_templ[128];
data/hdf5-1.12.0+repack/src/H5system.c:865:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Wlogin_buffer[WloginBuffer_count];
data/hdf5-1.12.0+repack/src/H5system.c:1043:24:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    if(0 == (nwchars = MultiByteToWideChar(CP_UTF8, 0, s, -1, NULL, 0)))
data/hdf5-1.12.0+repack/src/H5system.c:1051:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    if(0 == MultiByteToWideChar(CP_UTF8, 0, s, -1, ret_s, nwchars))
data/hdf5-1.12.0+repack/src/H5trace.c:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                buf[64], *rest;
data/hdf5-1.12.0+repack/src/H5trace.c:177:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char tmp[320];
data/hdf5-1.12.0+repack/test/H5srcdir.h:27:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char srcdir_path[1024] = "";
data/hdf5-1.12.0+repack/test/H5srcdir.h:30:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char srcdir_testpath[1024] = "";
data/hdf5-1.12.0+repack/test/accum.c:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  filename[1024];
data/hdf5-1.12.0+repack/test/accum.c:1833:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  filename[1024];
data/hdf5-1.12.0+repack/test/accum_swmr_reader.c:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  filename[1024];
data/hdf5-1.12.0+repack/test/app_ref.c:61:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *IDNAME[T_NUMCLASSES] = {
data/hdf5-1.12.0+repack/test/app_ref.c:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/atomic_reader.c:243:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if((temp = atoi(optarg)) < 0) {
data/hdf5-1.12.0+repack/test/atomic_reader.c:250:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if((temp = atoi(optarg)) < 0) {
data/hdf5-1.12.0+repack/test/atomic_reader.c:276:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            if((fd = open(FILENAME, O_RDONLY, 0644)) < 0) {
data/hdf5-1.12.0+repack/test/atomic_writer.c:136:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if((temp = atoi(optarg)) < 0) {
data/hdf5-1.12.0+repack/test/atomic_writer.c:143:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if((temp = atoi(optarg)) < 0) {
data/hdf5-1.12.0+repack/test/atomic_writer.c:169:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((fd = open(FILENAME, O_RDWR|O_TRUNC|O_CREAT, 0664)) < 0) {
data/hdf5-1.12.0+repack/test/big.c:291:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[1024], name[1024];
data/hdf5-1.12.0+repack/test/big.c:493:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	ln[128], *s;
data/hdf5-1.12.0+repack/test/big.c:604:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[1024];
data/hdf5-1.12.0+repack/test/big.c:639:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[1024];
data/hdf5-1.12.0+repack/test/big.c:678:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[1024];
data/hdf5-1.12.0+repack/test/btree2.c:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];         /* Filename to use */
data/hdf5-1.12.0+repack/test/btree2.c:184:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];         /* Filename to use */
data/hdf5-1.12.0+repack/test/btree2.c:2968:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];         /* Filename to use */
data/hdf5-1.12.0+repack/test/btree2.c:8636:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];         /* Filename to use */
data/hdf5-1.12.0+repack/test/btree2.c:9307:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];         /* Filename to use */
data/hdf5-1.12.0+repack/test/btree2.c:9805:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];         /* Filename to use */
data/hdf5-1.12.0+repack/test/btree2.c:9806:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename_tmp[1024];     /* Temporary file name */
data/hdf5-1.12.0+repack/test/cache.c:4982:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    msg[128];
data/hdf5-1.12.0+repack/test/cache.c:5201:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    msg[128];
data/hdf5-1.12.0+repack/test/cache.c:9211:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    msg[128];
data/hdf5-1.12.0+repack/test/cache.c:12521:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    msg[128];
data/hdf5-1.12.0+repack/test/cache.c:12702:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    msg[128];
data/hdf5-1.12.0+repack/test/cache.c:12889:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char   msg[128];
data/hdf5-1.12.0+repack/test/cache.c:13120:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char   msg[128];
data/hdf5-1.12.0+repack/test/cache.c:13972:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    msg[128];
data/hdf5-1.12.0+repack/test/cache.c:14149:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char   msg[128];
data/hdf5-1.12.0+repack/test/cache.c:14250:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    msg[128];
data/hdf5-1.12.0+repack/test/cache.c:15248:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    msg[128];
data/hdf5-1.12.0+repack/test/cache.c:36537:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache.c:36809:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_api.c:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_api.c:528:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_api.c:888:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_api.c:900:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[64];
data/hdf5-1.12.0+repack/test/cache_api.c:1762:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char msg[128];
data/hdf5-1.12.0+repack/test/cache_api.c:1938:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_api.c:1939:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char msg[128];
data/hdf5-1.12.0+repack/test/cache_common.c:2608:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    msg[256];
data/hdf5-1.12.0+repack/test/cache_common.c:5854:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char msg[256];
data/hdf5-1.12.0+repack/test/cache_image.c:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[64];
data/hdf5-1.12.0+repack/test/cache_image.c:448:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[64];
data/hdf5-1.12.0+repack/test/cache_image.c:1036:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[64];
data/hdf5-1.12.0+repack/test/cache_image.c:1338:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:1624:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:1894:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:2272:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:2610:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:2898:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:3190:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:3620:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:3927:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:4319:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:4730:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:4731:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char process_group_name[512];
data/hdf5-1.12.0+repack/test/cache_image.c:5255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:5672:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:6055:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:6473:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:6764:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:7360:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_image.c:7832:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/cache_logging.c:46:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        group_name[12];
data/hdf5-1.12.0+repack/test/cache_logging.c:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/cache_tagging.c:754:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char gname[16];          /* group name buffer */
data/hdf5-1.12.0+repack/test/cache_tagging.c:887:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dsetname[500];      /* Name of dataset */
data/hdf5-1.12.0+repack/test/cache_tagging.c:1011:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attrname[500];         /* Name of attribute */
data/hdf5-1.12.0+repack/test/cache_tagging.c:3432:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[500];
data/hdf5-1.12.0+repack/test/chunk_info.c:423:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[256];
data/hdf5-1.12.0+repack/test/chunk_info.c:466:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[FILENAME_BUF_SIZE];   /* File name */
data/hdf5-1.12.0+repack/test/chunk_info.c:1413:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[FILENAME_BUF_SIZE];   /* File name */
data/hdf5-1.12.0+repack/test/chunk_info.c:1688:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[FILENAME_BUF_SIZE];   /* File name */
data/hdf5-1.12.0+repack/test/chunk_info.c:1761:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[FILENAME_BUF_SIZE];   /* File name */
data/hdf5-1.12.0+repack/test/cmpd_dset.c:1811:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[16];           /* Member name */
data/hdf5-1.12.0+repack/test/cmpd_dset.c:2211:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    fname[256];
data/hdf5-1.12.0+repack/test/cork.c:311:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attrname[500];         /* Name of attribute */
data/hdf5-1.12.0+repack/test/cork.c:763:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attrname[500];                 /* Name of attribute */
data/hdf5-1.12.0+repack/test/cork.c:932:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attrname[500];                 /* Name of attribute */
data/hdf5-1.12.0+repack/test/cross_read.c:356:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dangle.c:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/dangle.c:150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/dangle.c:241:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/dangle.c:337:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/dangle.c:424:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/dangle.c:529:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/del_many_dense_attrs.c:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char aname[50];             /* Name of attribute            */
data/hdf5-1.12.0+repack/test/del_many_dense_attrs.c:74:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[100];         /* File name                    */
data/hdf5-1.12.0+repack/test/dsets.c:511:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:645:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:758:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:952:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:1102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_BUF_SIZE];    /* File name */
data/hdf5-1.12.0+repack/test/dsets.c:2802:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    orig_data[10][20];
data/hdf5-1.12.0+repack/test/dsets.c:2803:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    new_data[10][20];
data/hdf5-1.12.0+repack/test/dsets.c:3616:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char   b[2][2];
data/hdf5-1.12.0+repack/test/dsets.c:3953:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[30];       /* fixed-length string, no-op type */
data/hdf5-1.12.0+repack/test/dsets.c:3957:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char o[5]; /* Opaque field, no-op type */
data/hdf5-1.12.0+repack/test/dsets.c:5289:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    buf[32];
data/hdf5-1.12.0+repack/test/dsets.c:5927:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:6288:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:7112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:7744:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:7857:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:8069:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:8357:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:8709:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:8831:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:8999:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:9411:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];    /* File name */
data/hdf5-1.12.0+repack/test/dsets.c:9836:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];    /* File name */
data/hdf5-1.12.0+repack/test/dsets.c:10163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        wbuf[4][3];     /* Write buffer */
data/hdf5-1.12.0+repack/test/dsets.c:10164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        rbuf[4][3];     /* Read buffer */
data/hdf5-1.12.0+repack/test/dsets.c:10165:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE] = "";  /* old test file name */
data/hdf5-1.12.0+repack/test/dsets.c:10302:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:10417:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:10509:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:10758:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:10878:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:10998:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:11120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:11515:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:12810:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/test/dsets.c:12900:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];    /* Filename */
data/hdf5-1.12.0+repack/test/dsets.c:13025:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  srcfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:13026:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  vfilename1[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:13027:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  vfilename2[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dsets.c:13164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[FILENAME_BUF_SIZE] = "";
data/hdf5-1.12.0+repack/test/dsets.c:13277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/dt_arith.c:532:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s[128];
data/hdf5-1.12.0+repack/test/dt_arith.c:904:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dt_arith.c:913:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    str[256];        /*message string    */
data/hdf5-1.12.0+repack/test/dt_arith.c:1347:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dt_arith.c:1354:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    str[256];        /*message string    */
data/hdf5-1.12.0+repack/test/dt_arith.c:1666:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        str[256];        /*hello string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:1676:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    src_bits[32];        /*src value in LE order    */
data/hdf5-1.12.0+repack/test/dt_arith.c:1677:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    dst_bits[32];        /*dest value in LE order*/
data/hdf5-1.12.0+repack/test/dt_arith.c:2723:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[256];
data/hdf5-1.12.0+repack/test/dt_arith.c:2849:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        str[256];        /*hello string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:3419:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        str[256];        /*hello string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:3431:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    src_bits[32];        /*src value in LE order    */
data/hdf5-1.12.0+repack/test/dt_arith.c:3432:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    dst_bits[32];        /*dest value in LE order*/
data/hdf5-1.12.0+repack/test/dt_arith.c:4609:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char        bits[32], mant_bits[32];
data/hdf5-1.12.0+repack/test/dt_arith.c:4884:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char        str[256];        /*string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:4912:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char        str[256];        /*string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:4998:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char        str[256];        /*string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:5017:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char        str[256];        /*hello string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:5030:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char        str[256];        /*hello string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:5123:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char        str[256];        /*string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:5149:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char        str[256];        /*string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:5169:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char        str[256];        /*string        */
data/hdf5-1.12.0+repack/test/dt_arith.c:5186:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char        str[256];        /*string        */
data/hdf5-1.12.0+repack/test/dtypes.c:1089:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    name[16];
data/hdf5-1.12.0+repack/test/dtypes.c:1095:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    name[16];
data/hdf5-1.12.0+repack/test/dtypes.c:1716:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:1941:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:1955:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)(wdata[i].text.p))[len - 2] = (char)(((char *)(wdata[i].text.p))[len - 2] + i);
data/hdf5-1.12.0+repack/test/dtypes.c:1955:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)(wdata[i].text.p))[len - 2] = (char)(((char *)(wdata[i].text.p))[len - 2] + i);
data/hdf5-1.12.0+repack/test/dtypes.c:2446:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char x[COMPOUND13_ARRAY_SIZE + 1];
data/hdf5-1.12.0+repack/test/dtypes.c:2453:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:2591:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:2969:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:3128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:3211:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:3334:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:3464:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:3467:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        enum_name[16];
data/hdf5-1.12.0+repack/test/dtypes.c:3702:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:3834:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:4620:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s[80];
data/hdf5-1.12.0+repack/test/dtypes.c:4706:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char pattern[3];
data/hdf5-1.12.0+repack/test/dtypes.c:4777:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    buf[4];
data/hdf5-1.12.0+repack/test/dtypes.c:5074:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    buf[1]; /*not really used*/
data/hdf5-1.12.0+repack/test/dtypes.c:5327:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:5890:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];         /* Buffer for filename */
data/hdf5-1.12.0+repack/test/dtypes.c:6418:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:6547:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:6850:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:6952:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:7117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:7268:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/dtypes.c:7269:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ascii2[4], utf8_2[4];
data/hdf5-1.12.0+repack/test/dtypes.c:7620:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char char_arr[ARRAY_LEN];
data/hdf5-1.12.0+repack/test/earray.c:171:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char filename_g[EARRAY_FILENAME_LEN];
data/hdf5-1.12.0+repack/test/earray.c:1011:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename_tmp[EARRAY_FILENAME_LEN];      /* Temporary file name */
data/hdf5-1.12.0+repack/test/earray.c:2510:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char test_str[128];         /* String for describing test */
data/hdf5-1.12.0+repack/test/efc.c:36:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char filename[6][128];
data/hdf5-1.12.0+repack/test/enc_dec_plist.c:192:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char msg[80];           /* Message for file version bounds */
data/hdf5-1.12.0+repack/test/enc_dec_plist_cross_platform.c:167:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/enum.c:460:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nam[100];
data/hdf5-1.12.0+repack/test/enum.c:645:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	name[1024];
data/hdf5-1.12.0+repack/test/err_compat.c:469:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/error_test.c:431:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                maj[MSG_SIZE];
data/hdf5-1.12.0+repack/test/error_test.c:432:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                min[MSG_SIZE];
data/hdf5-1.12.0+repack/test/error_test.c:433:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                cls[MSG_SIZE];
data/hdf5-1.12.0+repack/test/error_test.c:679:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/evict_on_close.c:131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[FILENAME_BUF_SIZE];    /* decorated file name          */
data/hdf5-1.12.0+repack/test/evict_on_close.c:190:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char subgroup_name[SUBGROUP_NAME_SIZE];
data/hdf5-1.12.0+repack/test/evict_on_close.c:286:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char subgroup_name[SUBGROUP_NAME_SIZE];
data/hdf5-1.12.0+repack/test/evict_on_close.c:625:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char subgroup_name[SUBGROUP_NAME_SIZE];
data/hdf5-1.12.0+repack/test/extend.c:242:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char			filename[1024];
data/hdf5-1.12.0+repack/test/external.c:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    buf1[1024];
data/hdf5-1.12.0+repack/test/external.c:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    buf2[1024];
data/hdf5-1.12.0+repack/test/external.c:459:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char exname[AEF_EXNAME_MAX_LEN+1];
data/hdf5-1.12.0+repack/test/external.c:685:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];     /* file names                           */
data/hdf5-1.12.0+repack/test/external.c:809:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[1024];     /* file name                            */
data/hdf5-1.12.0+repack/test/external.c:856:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name1[64], name2[64];
data/hdf5-1.12.0+repack/test/external.c:927:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    cwdpath[1024];      /* working directory                    */
data/hdf5-1.12.0+repack/test/external.c:928:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];     /* file name                            */
data/hdf5-1.12.0+repack/test/external.c:1017:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    cwdpath[1024];      /* working directory                    */
data/hdf5-1.12.0+repack/test/external.c:1018:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];     /* file name                            */
data/hdf5-1.12.0+repack/test/external.c:1111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    cwdpath[1024];      /* working directory                    */
data/hdf5-1.12.0+repack/test/external.c:1112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];     /* file name                            */
data/hdf5-1.12.0+repack/test/external.c:1116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    buffer[1024];       /* buffer to read efile_prefix          */
data/hdf5-1.12.0+repack/test/external.c:1265:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[1024];     /* file names                           */
data/hdf5-1.12.0+repack/test/external.c:1360:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[1024];     /* file name for test_1* funcs          */
data/hdf5-1.12.0+repack/test/external_common.c:43:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	    filename[1024];     /* file name                            */
data/hdf5-1.12.0+repack/test/external_env.c:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    cwdpath[1024];        /* working directory                    */
data/hdf5-1.12.0+repack/test/external_env.c:56:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];        /* file name                            */
data/hdf5-1.12.0+repack/test/external_env.c:60:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    buffer[1024];       /* buffer to read efile_prefix          */
data/hdf5-1.12.0+repack/test/farray.c:110:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char filename_g[FARRAY_FILENAME_LEN];
data/hdf5-1.12.0+repack/test/farray.c:735:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename_tmp[FARRAY_FILENAME_LEN];     /* Temporary file name          */
data/hdf5-1.12.0+repack/test/fheap.c:366:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id[MAX_HEAP_ID_LEN]; /* Heap ID for object inserted */
data/hdf5-1.12.0+repack/test/fheap.c:1851:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:1969:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:2122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:2298:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:2471:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:2815:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:2938:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:3082:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:3217:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:3221:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id[HEAP_ID_LEN]; /* Heap ID for object */
data/hdf5-1.12.0+repack/test/fheap.c:3328:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:3428:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:3523:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:3621:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:3726:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:3832:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:3942:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:4037:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:4139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:4239:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:4348:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:4445:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:4540:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:4641:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:4750:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:4852:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:4962:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:5069:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:5166:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:5274:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:5376:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:5485:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:5595:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:5701:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:5808:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:5922:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:6041:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:6152:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:6266:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:6394:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:6398:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id[HEAP_ID_LEN]; /* Heap ID for object */
data/hdf5-1.12.0+repack/test/fheap.c:6547:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:6551:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id[HEAP_ID_LEN]; /* Heap ID for object */
data/hdf5-1.12.0+repack/test/fheap.c:6552:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char obj[SMALL_OBJ_SIZE1]; /* Buffer for object to insert */
data/hdf5-1.12.0+repack/test/fheap.c:6710:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:6714:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id1[HEAP_ID_LEN]; /* Heap ID for first object */
data/hdf5-1.12.0+repack/test/fheap.c:6715:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id2[HEAP_ID_LEN]; /* Heap ID for second object */
data/hdf5-1.12.0+repack/test/fheap.c:6716:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char obj[SMALL_OBJ_SIZE1]; /* Buffer for object to insert */
data/hdf5-1.12.0+repack/test/fheap.c:6903:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:6907:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id[HEAP_ID_LEN]; /* Heap ID for object */
data/hdf5-1.12.0+repack/test/fheap.c:7071:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:7075:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id1[HEAP_ID_LEN]; /* Heap ID for first object */
data/hdf5-1.12.0+repack/test/fheap.c:7076:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id2[HEAP_ID_LEN]; /* Heap ID for second object */
data/hdf5-1.12.0+repack/test/fheap.c:7314:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:7318:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id1[HEAP_ID_LEN]; /* Heap ID for first object */
data/hdf5-1.12.0+repack/test/fheap.c:7319:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id2[HEAP_ID_LEN]; /* Heap ID for second object */
data/hdf5-1.12.0+repack/test/fheap.c:7320:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id3[HEAP_ID_LEN]; /* Heap ID for third object */
data/hdf5-1.12.0+repack/test/fheap.c:7615:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:7619:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id[100][MAX_HEAP_ID_LEN]; /* Heap ID for object inserted */
data/hdf5-1.12.0+repack/test/fheap.c:7621:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char a[10];
data/hdf5-1.12.0+repack/test/fheap.c:7622:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char b[40];
data/hdf5-1.12.0+repack/test/fheap.c:7730:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:7803:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:7891:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:7961:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:8033:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:8109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:8179:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:8253:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:8336:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:8413:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:8511:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:8620:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:8716:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:8860:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:9025:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:9151:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:9277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:9400:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:9528:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:9673:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:9842:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:9995:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:10174:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:10302:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:10439:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:10590:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:10752:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:10914:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:11080:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:11241:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:11420:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:11634:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:11830:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:12057:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:12188:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:12359:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:12472:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:12586:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:12738:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:12970:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:13277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:13702:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:13921:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:14073:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:14306:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:14916:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:14926:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id[HEAP_ID_LEN]; /* Heap ID for object */
data/hdf5-1.12.0+repack/test/fheap.c:15091:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:15101:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id1[HEAP_ID_LEN]; /* Heap ID for object #1 */
data/hdf5-1.12.0+repack/test/fheap.c:15102:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char heap_id2[HEAP_ID_LEN]; /* Heap ID for object #2 */
data/hdf5-1.12.0+repack/test/fheap.c:15425:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:15523:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char temp_id[MAX_HEAP_ID_LEN];         /* Temp. heap ID holder */
data/hdf5-1.12.0+repack/test/fheap.c:15631:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:15741:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char temp_id[MAX_HEAP_ID_LEN];         /* Temp. heap ID holder */
data/hdf5-1.12.0+repack/test/fheap.c:15858:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/fheap.c:15864:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tiny_heap_id[HEAP_ID_LEN]; /* Heap ID for 'tiny' object */
data/hdf5-1.12.0+repack/test/fheap.c:15865:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char huge_heap_id[HEAP_ID_LEN]; /* Heap ID for 'huge' object */
data/hdf5-1.12.0+repack/test/fheap.c:16134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[FHEAP_FILENAME_LEN];         /* Filename to use */
data/hdf5-1.12.0+repack/test/file_image.c:533:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/file_image.c:534:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    copied_filename[1024];
data/hdf5-1.12.0+repack/test/file_image.c:688:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char file_name[1024] = "\0";
data/hdf5-1.12.0+repack/test/file_image.c:781:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char member_file_name[1024];
data/hdf5-1.12.0+repack/test/file_image.c:897:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if(((char *)image_ptr)[i] != ((char *)file_image_ptr)[i])
data/hdf5-1.12.0+repack/test/file_image.c:897:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if(((char *)image_ptr)[i] != ((char *)file_image_ptr)[i])
data/hdf5-1.12.0+repack/test/file_image.c:967:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char  *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/file_image.c:968:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char file_name[1024] = "\0";
data/hdf5-1.12.0+repack/test/filenotclosed.c:67:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  filename[100];        /* File name */
data/hdf5-1.12.0+repack/test/fillval.c:295:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/fillval.c:394:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/fillval.c:1084:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/fillval.c:1860:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/fillval.c:2253:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/filter_fail.c:365:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/filter_plugin.c:833:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     subgroup_name[256];
data/hdf5-1.12.0+repack/test/filter_plugin.c:898:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        subgroup_name[256];
data/hdf5-1.12.0+repack/test/filter_plugin.c:957:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         path[256];
data/hdf5-1.12.0+repack/test/filter_plugin.c:958:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         temp_name[256];
data/hdf5-1.12.0+repack/test/filter_plugin.c:1356:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/filter_plugin4_groups.c:88:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((void *)dst, (const void *)(*buf), nbytes);
data/hdf5-1.12.0+repack/test/filter_plugin4_groups.c:92:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((void *)dst, (const void *)GROUP_SUFFIX, SUFFIX_LEN);
data/hdf5-1.12.0+repack/test/flush1.c:76:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    group_name[32];         /* group name                       */
data/hdf5-1.12.0+repack/test/flush1.c:203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];     /* filename                                 */
data/hdf5-1.12.0+repack/test/flush2.c:138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    group_name[32];         /* group name                       */
data/hdf5-1.12.0+repack/test/flush2.c:251:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];     /* filename                                 */
data/hdf5-1.12.0+repack/test/freespace.c:452:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/freespace.c:592:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/freespace.c:927:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/freespace.c:1312:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/freespace.c:1781:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/freespace.c:2124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/freespace.c:2417:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/freespace.c:2768:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/gen_cross.c:391:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        data[NX][NY];           /* data to write */
data/hdf5-1.12.0+repack/test/gen_plist.c:462:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/gen_udlinks.c:40:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename1[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/gen_udlinks.c:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename2[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/genall5.c:311:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char linkname[16];
data/hdf5-1.12.0+repack/test/genall5.c:483:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char linkname[16];
data/hdf5-1.12.0+repack/test/genall5.c:728:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char linkname[16];
data/hdf5-1.12.0+repack/test/genall5.c:900:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char linkname[16];
data/hdf5-1.12.0+repack/test/genall5.c:1347:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char linkname[32];
data/hdf5-1.12.0+repack/test/genall5.c:1506:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char linkname[32];
data/hdf5-1.12.0+repack/test/genall5.c:3107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char full_path[1024];
data/hdf5-1.12.0+repack/test/genall5.c:3334:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char full_path[1024];
data/hdf5-1.12.0+repack/test/getname.c:62:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NAME_BUF_SIZE];           /* Buffer to hold name and its size */
data/hdf5-1.12.0+repack/test/getname.c:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char user_path[NAME_BUF_SIZE];      /* Buffer to hold user path */
data/hdf5-1.12.0+repack/test/getname.c:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename1[1024];
data/hdf5-1.12.0+repack/test/getname.c:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename2[1024];
data/hdf5-1.12.0+repack/test/getname.c:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename3[1024];
data/hdf5-1.12.0+repack/test/getname.c:1149:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name2[SMALL_NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/getname.c:1232:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NAME_BUF_SIZE];   /* Buffer to hold name and its size */
data/hdf5-1.12.0+repack/test/getname.c:2424:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename1[1024];
data/hdf5-1.12.0+repack/test/getname.c:2425:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename2[1024];
data/hdf5-1.12.0+repack/test/getname.c:2436:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[100];
data/hdf5-1.12.0+repack/test/getname.c:2731:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename1[1024];
data/hdf5-1.12.0+repack/test/getname.c:2748:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char 	buf1[NAME_BUF_SIZE], buf2[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/getname.c:2900:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename1[1024], filename2[1024]; /* Filenames                 */
data/hdf5-1.12.0+repack/test/getname.c:2903:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[NAME_BUF_SIZE];    /* Buffer for storing object's name */
data/hdf5-1.12.0+repack/test/getname.c:2981:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename0[1024];
data/hdf5-1.12.0+repack/test/gheap.c:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/gheap.c:195:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/gheap.c:294:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/gheap.c:384:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/gheap.c:478:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/h5test.c:202:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];        /* VFD-dependent filename to delete     */
data/hdf5-1.12.0+repack/test/h5test.c:203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sub_filename[2048];    /* sub-files in multi & family VFDs     */
data/hdf5-1.12.0+repack/test/h5test.c:403:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  filename[1024];
data/hdf5-1.12.0+repack/test/h5test.c:929:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buf[1024];      /* buffer for tokenizing HDF5_DRIVER    */
data/hdf5-1.12.0+repack/test/h5test.c:980:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char  *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/h5test.c:981:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char        *sv[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/h5test.c:1065:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buf[1024];      /* buffer for tokenizing HDF5_DRIVER    */
data/hdf5-1.12.0+repack/test/h5test.c:1146:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  hostname[80];
data/hdf5-1.12.0+repack/test/h5test.c:1317:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  key[MPI_MAX_INFO_KEY+1];
data/hdf5-1.12.0+repack/test/h5test.c:1318:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  value[MPI_MAX_INFO_VAL+1];
data/hdf5-1.12.0+repack/test/h5test.c:1363:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp[2048];    /* Temporary buffer for file names */
data/hdf5-1.12.0+repack/test/h5test.c:1730:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/hdfs.c:1101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          buffer[HDFS_TEST_MAX_BUF_SIZE];
data/hdf5-1.12.0+repack/test/hdfs.c:1282:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              buffer[HDFS_TEST_MAX_BUF_SIZE];
data/hdf5-1.12.0+repack/test/hdfs.c:1446:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char        data[36]   = "The Force shall be with you, always";
data/hdf5-1.12.0+repack/test/hdfs.c:1726:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char hdfs_namenode_name[HDFS_NAMENODE_NAME_MAX_SIZE] = "";
data/hdf5-1.12.0+repack/test/hyperslab.c:161:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dim[64], s[256];       /*temp string                */
data/hdf5-1.12.0+repack/test/hyperslab.c:325:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dim[64], s[256]; /*temp string            */
data/hdf5-1.12.0+repack/test/hyperslab.c:589:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            s[64];
data/hdf5-1.12.0+repack/test/hyperslab.c:795:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s[256];
data/hdf5-1.12.0+repack/test/hyperslab.c:897:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        s[256];
data/hdf5-1.12.0+repack/test/hyperslab.c:1052:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s[256];
data/hdf5-1.12.0+repack/test/hyperslab.c:1117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    s[256];
data/hdf5-1.12.0+repack/test/istore.c:207:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[256];      /* Dataset name */
data/hdf5-1.12.0+repack/test/istore.c:260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dims[64], s[256], name[256];
data/hdf5-1.12.0+repack/test/istore.c:473:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dims[64], s[256], name[256];
data/hdf5-1.12.0+repack/test/istore.c:599:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/lheap.c:58:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];     /* file name                */
data/hdf5-1.12.0+repack/test/lheap.c:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buf[1024];          /* the value to store       */
data/hdf5-1.12.0+repack/test/lheap.c:155:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (NULL == (s = (const char *)H5HL_offset_into(heap, obj[i]))) {
data/hdf5-1.12.0+repack/test/links.c:464:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:524:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:617:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         linkval[LINK_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:618:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:772:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:833:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:899:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     objname[NAME_BUF_SIZE];   /* Object name */
data/hdf5-1.12.0+repack/test/links.c:900:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:1044:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          filename[1024];
data/hdf5-1.12.0+repack/test/links.c:1193:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      filename[1024];
data/hdf5-1.12.0+repack/test/links.c:1320:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[1024];
data/hdf5-1.12.0+repack/test/links.c:1458:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/links.c:1621:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/links.c:1622:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpstr[1024];
data/hdf5-1.12.0+repack/test/links.c:1765:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         linkval[LINK_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:1766:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:1920:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          filename[1024];
data/hdf5-1.12.0+repack/test/links.c:2079:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/links.c:2237:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         objname[NAME_BUF_SIZE];     /* Object name */
data/hdf5-1.12.0+repack/test/links.c:2238:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename1[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:2239:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename2[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:2416:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:2536:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:2919:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           objname[NAME_BUF_SIZE];      /* Object name */
data/hdf5-1.12.0+repack/test/links.c:2921:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:3038:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            objname[NAME_BUF_SIZE];     /* Object name */
data/hdf5-1.12.0+repack/test/links.c:3039:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:3179:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:3180:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        query_buf[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:3310:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     objname[NAME_BUF_SIZE];            /* Object name */
data/hdf5-1.12.0+repack/test/links.c:3311:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:3536:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:3620:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:3621:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:3734:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:3735:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:3857:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpname[NAME_BUF_SIZE];        /* Temporary link name */
data/hdf5-1.12.0+repack/test/links.c:3858:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char valname[NAME_BUF_SIZE];        /* Link value name */
data/hdf5-1.12.0+repack/test/links.c:3859:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpval[NAME_BUF_SIZE];         /* Temporary link value */
data/hdf5-1.12.0+repack/test/links.c:4015:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:4016:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        valname[NAME_BUF_SIZE]; /* Link value name */
data/hdf5-1.12.0+repack/test/links.c:4017:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:4018:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmpname[NAME_BUF_SIZE]; /* Temporary link name */
data/hdf5-1.12.0+repack/test/links.c:4191:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:4192:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        valname[NAME_BUF_SIZE]; /* Link value name */
data/hdf5-1.12.0+repack/test/links.c:4193:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:4195:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmpname[NAME_BUF_SIZE]; /* Temporary link name */
data/hdf5-1.12.0+repack/test/links.c:4196:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmpval[NAME_BUF_SIZE];  /* Temporary link value */
data/hdf5-1.12.0+repack/test/links.c:4358:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:4359:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:4360:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmpname[NAME_BUF_SIZE]; /* Temporary link name */
data/hdf5-1.12.0+repack/test/links.c:4668:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:4669:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:4671:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmpname[NAME_BUF_SIZE]; /* Temporary link name */
data/hdf5-1.12.0+repack/test/links.c:4881:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:5138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:5139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:5319:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:5554:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:5555:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:5670:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         objname[NAME_BUF_SIZE];     /* Object name */
data/hdf5-1.12.0+repack/test/links.c:5671:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename1[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:5672:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename2[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:5846:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     objname[NAME_BUF_SIZE];     /* Object name */
data/hdf5-1.12.0+repack/test/links.c:5847:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:5848:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename2[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:5947:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     objname[NAME_BUF_SIZE];      /* Object name */
data/hdf5-1.12.0+repack/test/links.c:5948:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:6104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     objname[NAME_BUF_SIZE];     /* Object name */
data/hdf5-1.12.0+repack/test/links.c:6105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:6106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename2[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:6107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename3[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:6259:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     objname[NAME_BUF_SIZE];     /* Object name */
data/hdf5-1.12.0+repack/test/links.c:6260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:6386:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     objname[NAME_BUF_SIZE];     /* Object name */
data/hdf5-1.12.0+repack/test/links.c:6387:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:6505:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:6609:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:6694:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:6782:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:6861:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:6946:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:7033:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:7121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:7196:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:7293:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:7301:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     sv[H5FD_MEM_NTYPES][64];
data/hdf5-1.12.0+repack/test/links.c:7303:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/links.c:7758:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8015:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8135:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:8196:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8282:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8371:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8457:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8540:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8633:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8722:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8810:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8897:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:8980:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE];       /* Names of files to externally link across */
data/hdf5-1.12.0+repack/test/links.c:9046:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:9164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:9244:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE];       /* Object name */
data/hdf5-1.12.0+repack/test/links.c:9245:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:9382:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     objname[NAME_BUF_SIZE];         /* Object name */
data/hdf5-1.12.0+repack/test/links.c:9383:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:9568:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE];       /* Object name */
data/hdf5-1.12.0+repack/test/links.c:9569:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:9751:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:10050:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE];         /* Object name */
data/hdf5-1.12.0+repack/test/links.c:10051:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/links.c:10394:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:10462:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:10526:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename1[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:10527:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename2[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:10528:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename3[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:10529:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename4[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:10809:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename1[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:10810:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename2[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:10989:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename1[NAME_BUF_SIZE];    /* File name for main file */
data/hdf5-1.12.0+repack/test/links.c:10990:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename2[NAME_BUF_SIZE];    /* File name for target file */
data/hdf5-1.12.0+repack/test/links.c:11362:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           objname[NAME_BUF_SIZE];      /* Object name */
data/hdf5-1.12.0+repack/test/links.c:11364:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:11510:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            objname[NAME_BUF_SIZE];     /* Object name */
data/hdf5-1.12.0+repack/test/links.c:11511:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:11769:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:11770:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        query_buf[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:11898:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char target[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:11920:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     group_a_name[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:11921:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     group_b_name[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:11922:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:11973:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(group_b_name, "group_b");
data/hdf5-1.12.0+repack/test/links.c:12211:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        group_name[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:12212:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:12213:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        query_buf[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:12255:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(group_name, "/group");
data/hdf5-1.12.0+repack/test/links.c:12348:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     objname[NAME_BUF_SIZE];            /* Object name */
data/hdf5-1.12.0+repack/test/links.c:12349:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:12575:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:12659:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:12706:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:13257:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name_out[24];
data/hdf5-1.12.0+repack/test/links.c:13258:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/links.c:13536:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   filename[NAME_BUF_SIZE];       /* Buffer for file name */
data/hdf5-1.12.0+repack/test/links.c:13787:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:13891:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:13892:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:14006:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:14007:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:14136:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:14137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:14360:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:14361:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:14478:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpname[NAME_BUF_SIZE];        /* Temporary link name */
data/hdf5-1.12.0+repack/test/links.c:14479:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char valname[NAME_BUF_SIZE];        /* Link value name */
data/hdf5-1.12.0+repack/test/links.c:14480:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpval[NAME_BUF_SIZE];         /* Temporary link value */
data/hdf5-1.12.0+repack/test/links.c:14637:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:14638:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        valname[NAME_BUF_SIZE]; /* Link value name */
data/hdf5-1.12.0+repack/test/links.c:14639:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:14640:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmpname[NAME_BUF_SIZE]; /* Temporary link name */
data/hdf5-1.12.0+repack/test/links.c:14815:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:14816:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         valname[NAME_BUF_SIZE]; /* Link value name */
data/hdf5-1.12.0+repack/test/links.c:14817:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:14820:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         tmpname[NAME_BUF_SIZE]; /* Temporary link name */
data/hdf5-1.12.0+repack/test/links.c:14821:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         tmpval[NAME_BUF_SIZE];  /* Temporary link value */
data/hdf5-1.12.0+repack/test/links.c:14995:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:14996:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:14997:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmpname[NAME_BUF_SIZE]; /* Temporary link name */
data/hdf5-1.12.0+repack/test/links.c:15308:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:15309:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:15311:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         tmpname[NAME_BUF_SIZE]; /* Temporary link name */
data/hdf5-1.12.0+repack/test/links.c:15537:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:15812:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:15813:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:15994:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:16248:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:16249:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:16361:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        mntname[NAME_BUF_SIZE]; /* Link value */
data/hdf5-1.12.0+repack/test/links.c:16468:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:16469:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:16470:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        valname[2 * NAME_BUF_SIZE]; /* Link value */
data/hdf5-1.12.0+repack/test/links.c:16679:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        mntname[NAME_BUF_SIZE]; /* Link value */
data/hdf5-1.12.0+repack/test/links.c:16779:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:16780:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:16781:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        valname[2 * NAME_BUF_SIZE]; /* Link value */
data/hdf5-1.12.0+repack/test/links.c:16902:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:16984:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:16985:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:16986:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        valname[2 * NAME_BUF_SIZE]; /* Link value */
data/hdf5-1.12.0+repack/test/links.c:16987:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        attrname[NAME_BUF_SIZE]; /* Attribute name */
data/hdf5-1.12.0+repack/test/links.c:17220:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:17296:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:17297:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:17298:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        valname[2 * NAME_BUF_SIZE]; /* Link value */
data/hdf5-1.12.0+repack/test/links.c:17299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        attrname[NAME_BUF_SIZE]; /* Attribute name */
data/hdf5-1.12.0+repack/test/links.c:17442:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:17443:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:17444:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname2[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:17445:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        valname[2 * NAME_BUF_SIZE]; /* Link value */
data/hdf5-1.12.0+repack/test/links.c:17840:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links.c:17841:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:17842:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname2[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/links.c:17843:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        valname[2 * NAME_BUF_SIZE]; /* Link value */
data/hdf5-1.12.0+repack/test/links.c:18060:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];/* File name */
data/hdf5-1.12.0+repack/test/links_env.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/mf.c:217:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:362:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:640:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN];     /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:858:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:1031:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:1141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:1465:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:1956:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:2125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:2275:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:2429:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:2594:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:2742:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:2875:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:3042:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:3205:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:3495:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:3736:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:4013:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:4366:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:4624:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:4961:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:5267:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:5477:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:5742:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:5943:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:5996:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/mf.c:6107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[FILENAME_LEN];     /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:6420:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[FILENAME_LEN];     /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:6433:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        sv[H5FD_MEM_NTYPES][64];    /* Name generators */
data/hdf5-1.12.0+repack/test/mf.c:6434:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const       char *memb_name[H5FD_MEM_NTYPES];       /* Name generators */
data/hdf5-1.12.0+repack/test/mf.c:6739:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:6910:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:7095:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:7263:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:7462:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:7535:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/mf.c:7597:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];    /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:7811:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];    /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:7932:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];    /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:8086:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];            /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:8228:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];            /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:8379:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];        /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:8545:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];    /* Filename to use */
data/hdf5-1.12.0+repack/test/mf.c:8580:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/mount.c:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[1024];
data/hdf5-1.12.0+repack/test/mount.c:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:170:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024], filename3[1024];
data/hdf5-1.12.0+repack/test/mount.c:290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024], filename3[1024];
data/hdf5-1.12.0+repack/test/mount.c:404:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:498:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:582:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:645:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:707:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:769:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:834:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:963:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:1022:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:1125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:1189:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];
data/hdf5-1.12.0+repack/test/mount.c:1272:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024], filename2[1024];       /* Name of files to mount */
data/hdf5-1.12.0+repack/test/mount.c:1273:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE];                 /* Name of object opened */
data/hdf5-1.12.0+repack/test/mount.c:1466:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:1470:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE];                 /* Name of object opened */
data/hdf5-1.12.0+repack/test/mount.c:1731:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:1886:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:2018:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:2178:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:2322:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:2463:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:2602:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[NAME_BUF_SIZE];        /* Buffer for filename retrieved */
data/hdf5-1.12.0+repack/test/mount.c:2603:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:2806:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[NAME_BUF_SIZE];        /* Buffer for filename retrieved */
data/hdf5-1.12.0+repack/test/mount.c:2807:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:3034:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[NAME_BUF_SIZE];        /* Buffer for filename retrieved */
data/hdf5-1.12.0+repack/test/mount.c:3036:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:3249:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[NAME_BUF_SIZE];        /* Buffer for filename retrieved */
data/hdf5-1.12.0+repack/test/mount.c:3251:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[1024],
data/hdf5-1.12.0+repack/test/mount.c:3428:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[NAME_BUF_SIZE];        /* Buffer for filename retrieved */
data/hdf5-1.12.0+repack/test/mount.c:3431:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/mount.c:3822:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[NAME_BUF_SIZE];        /* Buffer for filename retrieved */
data/hdf5-1.12.0+repack/test/mount.c:3824:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/mount.c:3985:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/mount.c:4091:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/mount.c:4250:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename1[NAME_BUF_SIZE],
data/hdf5-1.12.0+repack/test/mtime.c:64:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    signed char    buf1[32], buf2[32];
data/hdf5-1.12.0+repack/test/mtime.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/ntypes.c:1022:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char   o[5];
data/hdf5-1.12.0+repack/test/ntypes.c:1238:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sub_colors[16];
data/hdf5-1.12.0+repack/test/ntypes.c:1848:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata[SPACE1_DIM1]= {
data/hdf5-1.12.0+repack/test/ntypes.c:1854:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       *rdata[SPACE1_DIM1];     /* Information read in */
data/hdf5-1.12.0+repack/test/ntypes.c:1974:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char  wdata[SPACE1_DIM1][4]= {
data/hdf5-1.12.0+repack/test/ntypes.c:1980:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        rdata[SPACE1_DIM1][4];  /* Information read in */
data/hdf5-1.12.0+repack/test/ntypes.c:2473:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char    wbuf[32], rbuf[32];
data/hdf5-1.12.0+repack/test/ntypes.c:2562:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char  	wbuf[BITFIELD_ENUMB*sizeof(int)];
data/hdf5-1.12.0+repack/test/ntypes.c:2866:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[1024];
data/hdf5-1.12.0+repack/test/objcopy.c:162:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char src_obj_full_name[215];  /* the full path + name of the object to be copied */
data/hdf5-1.12.0+repack/test/objcopy.c:584:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_name[ATTR_NAME_LEN];
data/hdf5-1.12.0+repack/test/objcopy.c:656:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_name[ATTR_NAME_LEN];
data/hdf5-1.12.0+repack/test/objcopy.c:880:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char attr_name[ATTR_NAME_LEN];  /* Attribute name */
data/hdf5-1.12.0+repack/test/objcopy.c:1403:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char objname[NAME_BUF_SIZE];            /* Name of object in group */
data/hdf5-1.12.0+repack/test/objcopy.c:1404:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char objname2[NAME_BUF_SIZE];           /* Name of object in group */
data/hdf5-1.12.0+repack/test/objcopy.c:1498:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char linkval[NAME_BUF_SIZE];            /* Link value */
data/hdf5-1.12.0+repack/test/objcopy.c:1499:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char linkval2[NAME_BUF_SIZE];           /* Link value */
data/hdf5-1.12.0+repack/test/objcopy.c:1588:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:1589:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:1681:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:1682:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:1774:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:1775:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:1881:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:1882:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:2029:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:2030:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:2150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_fname[NAME_BUF_SIZE];      /* Name of source file */
data/hdf5-1.12.0+repack/test/objcopy.c:2151:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_fname[NAME_BUF_SIZE];      /* Name of destination file */
data/hdf5-1.12.0+repack/test/objcopy.c:2322:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:2428:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:2429:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:2550:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:2551:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:2681:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:2682:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:3091:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:3092:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:3494:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:3495:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:3804:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:3805:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4135:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4286:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4287:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4420:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4421:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4545:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4546:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4667:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4668:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4806:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4807:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4947:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:4948:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5093:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5094:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5235:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5236:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5373:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5374:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5556:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5557:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5696:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5697:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:5989:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];        /* Source file name */
data/hdf5-1.12.0+repack/test/objcopy.c:5990:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];        /* Destination file name */
data/hdf5-1.12.0+repack/test/objcopy.c:6156:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6304:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6305:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6403:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6404:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6534:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6535:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6666:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[NAME_BUF_SIZE];                /* Sub-group & dataset name buffer */
data/hdf5-1.12.0+repack/test/objcopy.c:6667:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6668:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6803:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6804:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6919:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[NAME_BUF_SIZE];                /* Object name buffer */
data/hdf5-1.12.0+repack/test/objcopy.c:6920:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:6921:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7052:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7053:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7054:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ext_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7305:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7306:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7437:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7438:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7439:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ext_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7572:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7573:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7681:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7682:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7810:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7885:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7986:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:7987:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8291:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8292:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8456:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8457:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8613:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8614:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8779:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8780:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8950:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:8951:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9154:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9155:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9335:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9336:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9481:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9482:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9634:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9635:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9789:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zeros[MAX(sizeof(obj_buf),sizeof(reg_buf))]; /* Array of zeros, for memcmp */
data/hdf5-1.12.0+repack/test/objcopy.c:9790:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9791:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mid_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9792:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9958:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zeros[MAX(sizeof(obj_buf),sizeof(reg_buf))]; /* Array of zeros, for memcmp */
data/hdf5-1.12.0+repack/test/objcopy.c:9959:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9960:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mid_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:9961:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:10126:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:10127:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:10255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src1_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:10256:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src2_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:10257:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:10498:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:10782:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:10783:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:11017:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:11018:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:11250:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];        /* Source file name */
data/hdf5-1.12.0+repack/test/objcopy.c:11251:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];        /* Destination file name */
data/hdf5-1.12.0+repack/test/objcopy.c:11584:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];        /* Source file name */
data/hdf5-1.12.0+repack/test/objcopy.c:11585:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];        /* Destination file name */
data/hdf5-1.12.0+repack/test/objcopy.c:11815:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:11816:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:12060:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:12061:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:12342:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:12343:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:12833:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:12834:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:13196:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:13197:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:13483:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char grp_name[16];
data/hdf5-1.12.0+repack/test/objcopy.c:13484:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:13485:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:13573:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:13574:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:13654:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    ext_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:13889:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy.c:13890:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy_ref.c:428:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_name[ATTR_NAME_LEN];
data/hdf5-1.12.0+repack/test/objcopy_ref.c:654:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char attr_name[ATTR_NAME_LEN];  /* Attribute name */
data/hdf5-1.12.0+repack/test/objcopy_ref.c:1118:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char objname[NAME_BUF_SIZE];            /* Name of object in group */
data/hdf5-1.12.0+repack/test/objcopy_ref.c:1119:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char objname2[NAME_BUF_SIZE];           /* Name of object in group */
data/hdf5-1.12.0+repack/test/objcopy_ref.c:1214:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char linkval[NAME_BUF_SIZE];            /* Link value */
data/hdf5-1.12.0+repack/test/objcopy_ref.c:1215:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char linkval2[NAME_BUF_SIZE];           /* Link value */
data/hdf5-1.12.0+repack/test/objcopy_ref.c:1272:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char src_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy_ref.c:1273:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dst_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/objcopy_ref.c:1353:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    ext_filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/ohdr.c:477:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char testfile[TESTFILE_LEN];
data/hdf5-1.12.0+repack/test/ohdr.c:824:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[512]       = "";
data/hdf5-1.12.0+repack/test/ohdr.c:825:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attr_name[ATTR_NAME_MAX] = "";
data/hdf5-1.12.0+repack/test/ohdr.c:1023:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename_a[512] = "";
data/hdf5-1.12.0+repack/test/ohdr.c:1024:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename_b[512] = "";
data/hdf5-1.12.0+repack/test/ohdr.c:1178:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           filename[512]   = "";
data/hdf5-1.12.0+repack/test/ohdr.c:1308:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          filename[512] = "";
data/hdf5-1.12.0+repack/test/ohdr.c:1479:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          filename[512] = "";
data/hdf5-1.12.0+repack/test/ohdr.c:1604:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  filename[1024];
data/hdf5-1.12.0+repack/test/ohdr.c:1635:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[80];               /* Message for file format version */
data/hdf5-1.12.0+repack/test/page_buffer.c:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dset_name[32];
data/hdf5-1.12.0+repack/test/page_buffer.c:241:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dset_name[32];
data/hdf5-1.12.0+repack/test/page_buffer.c:318:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/page_buffer.c:391:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/page_buffer.c:577:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/page_buffer.c:854:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/page_buffer.c:1108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/page_buffer.c:1743:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/page_buffer.c:2038:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/reserved.c:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024], dset_name[10];
data/hdf5-1.12.0+repack/test/reserved.c:164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024], attrname[20];
data/hdf5-1.12.0+repack/test/reserved.c:291:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/ros3.c:388:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char    url_text_restricted[S3_TEST_MAX_URL_SIZE] = "";
data/hdf5-1.12.0+repack/test/ros3.c:389:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char    url_text_public[S3_TEST_MAX_URL_SIZE]     = "";
data/hdf5-1.12.0+repack/test/ros3.c:390:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char    url_h5_public[S3_TEST_MAX_URL_SIZE]       = "";
data/hdf5-1.12.0+repack/test/ros3.c:391:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char    url_missing[S3_TEST_MAX_URL_SIZE]         = "";
data/hdf5-1.12.0+repack/test/ros3.c:392:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char    s3_test_bucket_url[S3_TEST_MAX_URL_SIZE]  = "";
data/hdf5-1.12.0+repack/test/ros3.c:401:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char s3_test_aws_region[16];
data/hdf5-1.12.0+repack/test/ros3.c:402:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char s3_test_aws_access_key_id[64];
data/hdf5-1.12.0+repack/test/ros3.c:403:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char s3_test_aws_secret_access_key[128];
data/hdf5-1.12.0+repack/test/ros3.c:1094:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              buffer[256];
data/hdf5-1.12.0+repack/test/ros3.c:1272:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              buffer[S3_TEST_MAX_URL_SIZE];
data/hdf5-1.12.0+repack/test/ros3.c:1425:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char        data[36]   = "The Force shall be with you, always";
data/hdf5-1.12.0+repack/test/s3comms.c:381:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char    s3_test_aws_region[16]                   = "";
data/hdf5-1.12.0+repack/test/s3comms.c:382:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char    s3_test_aws_access_key_id[64]            = "";
data/hdf5-1.12.0+repack/test/s3comms.c:383:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char    s3_test_aws_secret_access_key[128]       = "";
data/hdf5-1.12.0+repack/test/s3comms.c:384:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char    s3_test_bucket_url[S3_TEST_MAX_URL_SIZE] = "";
data/hdf5-1.12.0+repack/test/s3comms.c:409:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       dest[256];
data/hdf5-1.12.0+repack/test/s3comms.c:504:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char             cr_dest[512];     /* canonical request */
data/hdf5-1.12.0+repack/test/s3comms.c:510:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char             sh_dest[64];       /* signed headers */
data/hdf5-1.12.0+repack/test/s3comms.c:644:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char          exp[17]; /* in size * 2 + 1 for null terminator */
data/hdf5-1.12.0+repack/test/s3comms.c:645:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const unsigned char in[8];
data/hdf5-1.12.0+repack/test/s3comms.c:673:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char out[17];
data/hdf5-1.12.0+repack/test/s3comms.c:739:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char  msg[64];
data/hdf5-1.12.0+repack/test/s3comms.c:886:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char  *given[11]; /* name/value pairs in array; NULL sentinel */
data/hdf5-1.12.0+repack/test/s3comms.c:887:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char  *expected[11];
data/hdf5-1.12.0+repack/test/s3comms.c:1166:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const unsigned char  key[SHA256_DIGEST_LENGTH];
data/hdf5-1.12.0+repack/test/s3comms.c:1218:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
           dest = (char *)HDmalloc(sizeof(char) * cases[i].dest_size);
data/hdf5-1.12.0+repack/test/s3comms.c:1239:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                dest = (char *)realloc(dest, cases[i].dest_size + 1);
data/hdf5-1.12.0+repack/test/s3comms.c:1652:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   dest[13];
data/hdf5-1.12.0+repack/test/s3comms.c:1703:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char url_raven[S3_TEST_MAX_URL_SIZE];
data/hdf5-1.12.0+repack/test/s3comms.c:1764:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           url_missing[S3_TEST_MAX_URL_SIZE];
data/hdf5-1.12.0+repack/test/s3comms.c:1765:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           url_raven[S3_TEST_MAX_URL_SIZE];
data/hdf5-1.12.0+repack/test/s3comms.c:1766:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           url_raven_badport[S3_TEST_MAX_URL_SIZE];
data/hdf5-1.12.0+repack/test/s3comms.c:1767:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           url_shakespeare[S3_TEST_MAX_URL_SIZE];
data/hdf5-1.12.0+repack/test/s3comms.c:1768:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char  signing_key[SHA256_DIGEST_LENGTH];
data/hdf5-1.12.0+repack/test/s3comms.c:1770:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           iso8601now[ISO8601_SIZE];
data/hdf5-1.12.0+repack/test/s3comms.c:2010:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           url_raven[S3_TEST_MAX_URL_SIZE];
data/hdf5-1.12.0+repack/test/s3comms.c:2011:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           buffer[S3COMMS_TEST_BUFFER_SIZE];
data/hdf5-1.12.0+repack/test/s3comms.c:2222:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char  exp[SHA256_DIGEST_LENGTH];
data/hdf5-1.12.0+repack/test/s3comms.c:2260:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  strncmp((const char *)cases[i].exp,
data/hdf5-1.12.0+repack/test/s3comms.c:2261:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          (const char *)key,
data/hdf5-1.12.0+repack/test/s3comms.c:2357:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s2s[512];
data/hdf5-1.12.0+repack/test/s3comms.c:2447:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    dest[32];
data/hdf5-1.12.0+repack/test/s3comms.c:2459:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        str = (char *)HDmalloc(sizeof(char) * cases[i].in_len);
data/hdf5-1.12.0+repack/test/s3comms.c:2482:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, "some text ", 11); /* string with null terminator */
data/hdf5-1.12.0+repack/test/set_extent.c:506:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/set_extent.c:842:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/set_extent.c:1333:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/set_extent.c:1766:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/set_extent.c:1800:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[256]; /*external file name        */
data/hdf5-1.12.0+repack/test/set_extent.c:2051:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/set_extent.c:2281:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/set_extent.c:2485:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/stab.c:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/stab.c:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    comment[64];
data/hdf5-1.12.0+repack/test/stab.c:185:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/stab.c:259:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/stab.c:260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/stab.c:334:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE];         /* Object name */
data/hdf5-1.12.0+repack/test/stab.c:335:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/stab.c:541:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/stab.c:675:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  objname[NAME_BUF_SIZE];       /* Object name */
data/hdf5-1.12.0+repack/test/stab.c:764:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[NAME_BUF_SIZE];         /* Object name */
data/hdf5-1.12.0+repack/test/stab.c:765:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/stab.c:882:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/stab.c:999:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/swmr.c:126:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];           /* File name                            */
data/hdf5-1.12.0+repack/test/swmr.c:858:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];       /* File name */
data/hdf5-1.12.0+repack/test/swmr.c:1588:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];       /* File name */
data/hdf5-1.12.0+repack/test/swmr.c:1942:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];   /* File name */
data/hdf5-1.12.0+repack/test/swmr.c:2379:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];   /* File name */
data/hdf5-1.12.0+repack/test/swmr.c:2967:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];       /* File name */
data/hdf5-1.12.0+repack/test/swmr.c:2975:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fill[256];                     /* Fill value for dataset */
data/hdf5-1.12.0+repack/test/swmr.c:2976:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_data[32];                 /* Data value for attribute */
data/hdf5-1.12.0+repack/test/swmr.c:3159:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];   /* File name */
data/hdf5-1.12.0+repack/test/swmr.c:3603:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];   /* file name */
data/hdf5-1.12.0+repack/test/swmr.c:3818:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];   /* file name */
data/hdf5-1.12.0+repack/test/swmr.c:4039:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];   /* file name */
data/hdf5-1.12.0+repack/test/swmr.c:4254:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];       /* file name */
data/hdf5-1.12.0+repack/test/swmr.c:4414:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];       /* file name */
data/hdf5-1.12.0+repack/test/swmr.c:4719:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];       /* file name */
data/hdf5-1.12.0+repack/test/swmr.c:5095:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];       /* file name */
data/hdf5-1.12.0+repack/test/swmr.c:6071:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];       /* file name */
data/hdf5-1.12.0+repack/test/swmr.c:6204:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];   /* file name */
data/hdf5-1.12.0+repack/test/swmr.c:6272:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];   /* File name */
data/hdf5-1.12.0+repack/test/swmr.c:6410:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];   /* File name */
data/hdf5-1.12.0+repack/test/swmr.c:6715:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[NAME_BUF_SIZE];   /* File name */
data/hdf5-1.12.0+repack/test/swmr_common.c:86:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char FILE_NAMES[N_SOURCES][NAME_LEN] = {
data/hdf5-1.12.0+repack/test/swmr_common.c:95:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char VDS_FILE_NAME[NAME_LEN] = "vds_swmr.h5";
data/hdf5-1.12.0+repack/test/swmr_common.c:96:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char SOURCE_DSET_PATH[NAME_LEN] = "/source_dset";
data/hdf5-1.12.0+repack/test/swmr_common.c:97:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char VDS_DSET_NAME[NAME_LEN]    = "vds_dset";
data/hdf5-1.12.0+repack/test/swmr_common.c:222:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char name_buf[64];
data/hdf5-1.12.0+repack/test/swmr_generator.c:217:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char name_buf[64];
data/hdf5-1.12.0+repack/test/swmr_reader.c:281:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char verbose_name[1024];
data/hdf5-1.12.0+repack/test/swmr_reader.c:483:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char verbose_name[1024];
data/hdf5-1.12.0+repack/test/swmr_start_write.c:90:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char verbose_name[1024];
data/hdf5-1.12.0+repack/test/swmr_start_write.c:466:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char verbose_name[1024];
data/hdf5-1.12.0+repack/test/swmr_writer.c:110:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char verbose_name[1024];
data/hdf5-1.12.0+repack/test/swmr_writer.c:377:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char verbose_name[1024];
data/hdf5-1.12.0+repack/test/tarray.c:58:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char     *name[NMAX];
data/hdf5-1.12.0+repack/test/tattr.c:803:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attr_name[ATTR_NAME_LEN]; /* Buffer for attribute names */
data/hdf5-1.12.0+repack/test/tattr.c:1211:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attr_name[ATTR_NAME_LEN]; /* Buffer for attribute names */
data/hdf5-1.12.0+repack/test/tattr.c:1212:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    temp_name[ATTR_NAME_LEN]; /* Buffer for mangling attribute names */
data/hdf5-1.12.0+repack/test/tattr.c:1543:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attr_name[ATTR_NAME_LEN]; /* Buffer for attribute names */
data/hdf5-1.12.0+repack/test/tattr.c:2082:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:2112:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char check_name[ATTR_NAME_LEN]; /* Buffer for checking attribute names */
data/hdf5-1.12.0+repack/test/tattr.c:2157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:2293:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:2437:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:2631:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:2632:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     new_attrname[NAME_BUF_SIZE];    /* New name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:2823:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:2967:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:3138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:3667:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:3941:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:4265:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:4522:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:4727:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:5067:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:5479:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:5683:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpname[NAME_BUF_SIZE];        /* Temporary attribute name */
data/hdf5-1.12.0+repack/test/tattr.c:5833:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];    /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:5834:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmpname[NAME_BUF_SIZE];     /* Temporary attribute name */
data/hdf5-1.12.0+repack/test/tattr.c:6252:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];    /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:6253:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmpname[NAME_BUF_SIZE];     /* Temporary attribute name */
data/hdf5-1.12.0+repack/test/tattr.c:6773:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attrname[NAME_BUF_SIZE]; /* Object name */
data/hdf5-1.12.0+repack/test/tattr.c:7201:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];    /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:7566:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];    /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:7827:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];    /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:7918:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];    /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:8178:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];    /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:8399:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute */
data/hdf5-1.12.0+repack/test/tattr.c:8734:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute on first dataset */
data/hdf5-1.12.0+repack/test/tattr.c:8735:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname2[NAME_BUF_SIZE];       /* Name of attribute on second dataset */
data/hdf5-1.12.0+repack/test/tattr.c:9186:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute on first dataset */
data/hdf5-1.12.0+repack/test/tattr.c:9560:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attrname[NAME_BUF_SIZE];        /* Name of attribute on first dataset */
data/hdf5-1.12.0+repack/test/tattr.c:10069:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    aname[16];       /* Attribute name */
data/hdf5-1.12.0+repack/test/tattr.c:11008:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char aname[11];         /* Attribute name */
data/hdf5-1.12.0+repack/test/tcoords.c:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[NAME_LEN];        /* Dataset name */
data/hdf5-1.12.0+repack/test/tcoords.c:119:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(dset_name, "_chunked");
data/hdf5-1.12.0+repack/test/tcoords.c:257:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[NAME_LEN];        /* Dataset name */
data/hdf5-1.12.0+repack/test/tcoords.c:290:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(dset_name, "_chunked");
data/hdf5-1.12.0+repack/test/tcoords.c:405:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[NAME_LEN];        /* Dataset name */
data/hdf5-1.12.0+repack/test/tcoords.c:469:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(dset_name, "_chunked");
data/hdf5-1.12.0+repack/test/testframe.c:32:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   Description[MAXTESTDESC];
data/hdf5-1.12.0+repack/test/testframe.c:34:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   Name[MAXTESTNAME];
data/hdf5-1.12.0+repack/test/testframe.c:517:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        SetTestVerbosity(atoi(argv));
data/hdf5-1.12.0+repack/test/testmeta.c:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       name[80];
data/hdf5-1.12.0+repack/test/testmeta.c:86:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(name, "/ExtArray%06d", i);
data/hdf5-1.12.0+repack/test/tfile.c:1091:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char gname[64], dname[64];
data/hdf5-1.12.0+repack/test/tfile.c:1618:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];                    /* Filename to use */
data/hdf5-1.12.0+repack/test/tfile.c:1619:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sb_filename[FILENAME_LEN];                 /* Name of file w/ superblock */
data/hdf5-1.12.0+repack/test/tfile.c:1622:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char   buf[1024];                      /* Buffer of data to write */
data/hdf5-1.12.0+repack/test/tfile.c:1756:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];                    /* Filename to use */
data/hdf5-1.12.0+repack/test/tfile.c:1757:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sb_filename[FILENAME_LEN];                 /* Name of file w/ superblock */
data/hdf5-1.12.0+repack/test/tfile.c:1760:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char   buf[1024];                      /* Buffer of data to write */
data/hdf5-1.12.0+repack/test/tfile.c:1878:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_LEN]; /* Filename to use */
data/hdf5-1.12.0+repack/test/tfile.c:2205:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[TESTA_NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/tfile.c:2453:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];    /* Filename to use */
data/hdf5-1.12.0+repack/test/tfile.c:3880:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN];        /* Filename to use */
data/hdf5-1.12.0+repack/test/tfile.c:4216:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/tfile.c:4276:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[FILENAME_LEN];    /* Filename to use */
data/hdf5-1.12.0+repack/test/tfile.c:4277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     name[32];                  /* Dataset name */
data/hdf5-1.12.0+repack/test/tfile.c:4428:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[FILENAME_LEN];    /* Filename to use */
data/hdf5-1.12.0+repack/test/tfile.c:4436:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     name[32];                  /* Dataset name */
data/hdf5-1.12.0+repack/test/tfile.c:7364:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[FILENAME_LEN];    /* Filename to use */
data/hdf5-1.12.0+repack/test/tfile.c:7365:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     name[32];                  /* Dataset name */
data/hdf5-1.12.0+repack/test/tfile.c:7484:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_LEN] = "";
data/hdf5-1.12.0+repack/test/tgenprop.c:53:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char          prop3_def[10]="Ten chars";   /* Property 3 default value */
data/hdf5-1.12.0+repack/test/tgenprop.c:321:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *pnames[4]={ /* Names of properties for iterator */
data/hdf5-1.12.0+repack/test/tgenprop.c:710:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                prop3_value[10];/* Property #3 value */
data/hdf5-1.12.0+repack/test/tgenprop.c:867:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *pnames[4]={ /* Names of properties for iterator */
data/hdf5-1.12.0+repack/test/tgenprop.c:1154:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        prop3_value[10];/* Property #3 value */
data/hdf5-1.12.0+repack/test/tgenprop.c:1155:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        prop3_new_value[10]="10 chairs";    /* Property #3 new value */
data/hdf5-1.12.0+repack/test/th5o.c:1056:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        check_comment[64];
data/hdf5-1.12.0+repack/test/th5o.c:1229:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        check_comment[64];
data/hdf5-1.12.0+repack/test/th5o.c:1664:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attrname[25];          /* Attribute name */
data/hdf5-1.12.0+repack/test/tid.c:29:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nameString[10];
data/hdf5-1.12.0+repack/test/titerate.c:52:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NAMELEN];     /* The name of the object */
data/hdf5-1.12.0+repack/test/titerate.c:61:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[256];
data/hdf5-1.12.0+repack/test/titerate.c:139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NAMELEN];     /* temporary name buffer */
data/hdf5-1.12.0+repack/test/titerate.c:140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *lnames[NDATASETS + 2];/* Names of the links created */
data/hdf5-1.12.0+repack/test/titerate.c:141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dataset_name[NAMELEN];  /* dataset name */
data/hdf5-1.12.0+repack/test/titerate.c:400:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NAMELEN];     /* temporary name buffer */
data/hdf5-1.12.0+repack/test/titerate.c:401:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *anames[NATTR];    /* Names of the attributes created */
data/hdf5-1.12.0+repack/test/titerate.c:595:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char gname[20];             /* Temporary group name */
data/hdf5-1.12.0+repack/test/titerate.c:718:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NAMELEN];     /* temporary name buffer */
data/hdf5-1.12.0+repack/test/titerate.c:719:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *dnames[NDATASETS+2];/* Names of the datasets created */
data/hdf5-1.12.0+repack/test/titerate.c:720:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *obj_names[NDATASETS+2];/* Names of the objects in group */
data/hdf5-1.12.0+repack/test/titerate.c:721:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dataset_name[NAMELEN];  /* dataset name */
data/hdf5-1.12.0+repack/test/titerate.c:859:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char obj_name[NAMELEN]; /* Names of the object in group */
data/hdf5-1.12.0+repack/test/titerate.c:1027:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char obj_name[NAMELEN]; /* Names of the object in group */
data/hdf5-1.12.0+repack/test/tmisc.c:1035:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_name[16];
data/hdf5-1.12.0+repack/test/tmisc.c:1974:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata [MISC12_SPACE1_DIM1]= {
data/hdf5-1.12.0+repack/test/tmisc.c:1980:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata1 [MISC12_APPEND_SIZE]= {
data/hdf5-1.12.0+repack/test/tmisc.c:1987:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        *rdata [MISC12_SPACE1_DIM1+MISC12_APPEND_SIZE]; /* Information read in */
data/hdf5-1.12.0+repack/test/tmisc.c:2752:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char wdata[MISC16_SPACE_DIM][MISC16_STR_SIZE];
data/hdf5-1.12.0+repack/test/tmisc.c:2753:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rdata[MISC16_SPACE_DIM][MISC16_STR_SIZE];  /* Information read in */
data/hdf5-1.12.0+repack/test/tmisc.c:2837:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char wdata[MISC17_SPACE_DIM1][MISC17_SPACE_DIM2];
data/hdf5-1.12.0+repack/test/tmisc.c:2838:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rdata[MISC17_SPACE_DIM1][MISC17_SPACE_DIM2];  /* Information read in */
data/hdf5-1.12.0+repack/test/tmisc.c:2925:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_name[32]; /* Attribute name buffer */
data/hdf5-1.12.0+repack/test/tmisc.c:3971:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        objname[MISC23_NAME_BUF_SIZE];  /* Name of object */
data/hdf5-1.12.0+repack/test/tmisc.c:5142:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    buf[MISC28_SIZE];
data/hdf5-1.12.0+repack/test/tmisc.c:5379:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char gname[32];
data/hdf5-1.12.0+repack/test/trefer.c:1432:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[NAME_SIZE];    /* Buffer to store name */
data/hdf5-1.12.0+repack/test/trefer_deprec.c:263:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char read_comment[10];
data/hdf5-1.12.0+repack/test/trefer_deprec.c:1365:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[NAME_SIZE];    /* Buffer to store name */
data/hdf5-1.12.0+repack/test/trefstr.c:237:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[16];       /* Buffer to wrap */
data/hdf5-1.12.0+repack/test/tselect.c:10548:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    test_desc_0[128];
data/hdf5-1.12.0+repack/test/tselect.c:10549:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    test_desc_1[256];
data/hdf5-1.12.0+repack/test/tselect.c:10831:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    test_desc_0[128];
data/hdf5-1.12.0+repack/test/tselect.c:10832:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    test_desc_1[256];
data/hdf5-1.12.0+repack/test/tselect.c:11441:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    test_desc_0[128];
data/hdf5-1.12.0+repack/test/tselect.c:11442:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    test_desc_1[256];
data/hdf5-1.12.0+repack/test/tselect.c:14832:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char wbuf[72];     /* Write buffer */
data/hdf5-1.12.0+repack/test/tselect.c:14833:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char rbuf[32];     /* Read buffer */
data/hdf5-1.12.0+repack/test/tsohm.c:61:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   str[10];
data/hdf5-1.12.0+repack/test/tsohm.c:1088:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *groupnames[TSOHM_SAH_OP_COUNT] = {
data/hdf5-1.12.0+repack/test/tsohm.c:1359:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/tsohm.c:1423:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/tsohm.c:1426:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fill2[DTYPE2_SIZE];
data/hdf5-1.12.0+repack/test/tsohm.c:1427:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fill2_correct[DTYPE2_SIZE];
data/hdf5-1.12.0+repack/test/tsohm.c:1547:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_string1[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/tsohm.c:1548:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_string2[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/tsohm.c:1549:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_name[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/tsohm.c:1558:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fill2[DTYPE2_SIZE];
data/hdf5-1.12.0+repack/test/tsohm.c:1920:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_string[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/tsohm.c:1921:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_correct_string[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/tsohm.c:1922:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_name[NAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/ttsafe_dcreate.c:49:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *dsetname[NUM_THREAD]={
data/hdf5-1.12.0+repack/test/ttsafe_dcreate.c:157:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&thread_data, _thread_data, sizeof(struct thread_info));
data/hdf5-1.12.0+repack/test/ttst.c:105:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        tmp_word=(char *)words[u];
data/hdf5-1.12.0+repack/test/ttst.c:213:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if(HDstrcmp((const char *)obj,uniq_words[u]))
data/hdf5-1.12.0+repack/test/ttst.c:214:97:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            TestErrPrintf("%d: TST objects don't match!, obj=%s, uniq_words[%u]=%s\n",__LINE__,(char *)obj,(unsigned)u,uniq_words[u]);
data/hdf5-1.12.0+repack/test/ttst.c:311:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if(HDstrcmp((const char *)obj,rand_uniq_words[u]))
data/hdf5-1.12.0+repack/test/ttst.c:312:106:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            TestErrPrintf("%d: TST node values don't match!, obj=%s, rand_uniq_words[%u]=%s\n",__LINE__,(char *)obj,(unsigned)u,rand_uniq_words[u]);
data/hdf5-1.12.0+repack/test/tunicode.c:63:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char read_buf[MAX_STRING_LENGTH];
data/hdf5-1.12.0+repack/test/tunicode.c:119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     buf[LONG_BUF_SIZE];
data/hdf5-1.12.0+repack/test/tunicode.c:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     cmpbuf[LONG_BUF_SIZE];
data/hdf5-1.12.0+repack/test/tunicode.c:127:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     new_string[MAX_STRING_LENGTH + 2];
data/hdf5-1.12.0+repack/test/tunicode.c:321:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *read_buf[1];
data/hdf5-1.12.0+repack/test/tunicode.c:381:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char read_buf[MAX_STRING_LENGTH];
data/hdf5-1.12.0+repack/test/tunicode.c:382:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path_buf[MAX_PATH_LENGTH];
data/hdf5-1.12.0+repack/test/tunicode.c:511:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char read_buf[MAX_STRING_LENGTH];
data/hdf5-1.12.0+repack/test/tunicode.c:662:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char readbuf[MAX_STRING_LENGTH];
data/hdf5-1.12.0+repack/test/tunicode.c:794:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char test_string[MAX_STRING_LENGTH];
data/hdf5-1.12.0+repack/test/tvlstr.c:111:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata[SPACE1_DIM1]= {
data/hdf5-1.12.0+repack/test/tvlstr.c:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *rdata[SPACE1_DIM1];   /* Information read in */
data/hdf5-1.12.0+repack/test/tvlstr.c:248:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata[SPACE1_DIM1] = {"", "two", "three", "\0"};
data/hdf5-1.12.0+repack/test/tvlstr.c:249:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata2[SPACE1_DIM1] = {NULL, NULL, NULL, NULL};
data/hdf5-1.12.0+repack/test/tvlstr.c:250:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *rdata[SPACE1_DIM1];   /* Information read in */
data/hdf5-1.12.0+repack/test/tvlstr.c:480:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata[SPACE1_DIM1] = {"one", "two", "three", "four"};
data/hdf5-1.12.0+repack/test/tvlstr.c:481:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *rdata[SPACE1_DIM1];   /* Information read in */
data/hdf5-1.12.0+repack/test/tvlstr.c:781:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[256];     /* Buffer for names & data */
data/hdf5-1.12.0+repack/test/tvlstr.c:864:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata[SPACE1_DIM1] = {"Parting", "is such a", "sweet", "sorrow."};
data/hdf5-1.12.0+repack/test/tvlstr.c:865:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *val[SPACE1_DIM1] = {"But", "reuniting", "is a", "great joy"};
data/hdf5-1.12.0+repack/test/tvltypes.c:1184:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    str[64] = "a\0";
data/hdf5-1.12.0+repack/test/tvltypes.c:2443:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name1[64], dset_name2[64];       /* Dataset names */
data/hdf5-1.12.0+repack/test/twriteorder.c:140:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if ((blocksize_g = atoi(optarg)) <= 0) {
data/hdf5-1.12.0+repack/test/twriteorder.c:147:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if ((nlinkedblock_g = atoi(optarg)) < 2) {
data/hdf5-1.12.0+repack/test/twriteorder.c:154:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if ((part_size_g = atoi(optarg)) <= 0) {
data/hdf5-1.12.0+repack/test/twriteorder.c:254:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[BLOCKSIZE_DFT];
data/hdf5-1.12.0+repack/test/twriteorder.c:304:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[BLOCKSIZE_DFT];
data/hdf5-1.12.0+repack/test/unlink.c:168:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[32];
data/hdf5-1.12.0+repack/test/unlink.c:358:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[1024];
data/hdf5-1.12.0+repack/test/unlink.c:438:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/unlink.c:439:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        linkval[1024];
data/hdf5-1.12.0+repack/test/unlink.c:511:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[1024]; /* Name of file to create */
data/hdf5-1.12.0+repack/test/unlink.c:512:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     objname[128];   /* Name of object to create */
data/hdf5-1.12.0+repack/test/unlink.c:1259:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     groupname[1024];
data/hdf5-1.12.0+repack/test/unlink.c:1260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/unlink.c:1326:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/unlink.c:1394:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/unlink.c:1447:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[256];     /* Name of object to close */
data/hdf5-1.12.0+repack/test/unlink.c:1494:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[256];     /* Name of object to create */
data/hdf5-1.12.0+repack/test/unlink.c:1573:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[256];     /* Name of object to create */
data/hdf5-1.12.0+repack/test/unlink.c:1652:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[256];     /* Name of object to create */
data/hdf5-1.12.0+repack/test/unlink.c:1871:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/unlink.c:1942:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/unlink.c:2011:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/unlink.c:2084:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/unlink.c:2163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[128];          /* Buffer for name of objects to create */
data/hdf5-1.12.0+repack/test/unlink.c:2164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname2[128];         /* Buffer for name of objects to create */
data/hdf5-1.12.0+repack/test/unlink.c:2165:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];        /* Buffer for filename */
data/hdf5-1.12.0+repack/test/unlink.c:2297:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[128];          /* Buffer for name of objects to create */
data/hdf5-1.12.0+repack/test/unlink.c:2298:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname2[128];         /* Buffer for name of objects to create */
data/hdf5-1.12.0+repack/test/unlink.c:2299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];        /* Buffer for filename */
data/hdf5-1.12.0+repack/test/unlink.c:2441:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/unregister.c:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        group_name[32];
data/hdf5-1.12.0+repack/test/unregister.c:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:229:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name_out[32];
data/hdf5-1.12.0+repack/test/vds.c:474:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:479:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char  *src_file[4] = {"src_file1", "src_file2.", "src_file3..", "src_file4..."}; /* Source file names (different lengths) */
data/hdf5-1.12.0+repack/test/vds.c:480:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char  *src_dset[4] = {"src_dset1....", "src_dset2.....", "src_dset3......", "src_dset4......."}; /* Source dataset names (different lengths) */
data/hdf5-1.12.0+repack/test/vds.c:481:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmp_filename[32];
data/hdf5-1.12.0+repack/test/vds.c:482:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        tmp_dsetname[32];
data/hdf5-1.12.0+repack/test/vds.c:1137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:1138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:1139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        vfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:1140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilenamepct[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:1141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilenamepct_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:1157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buffer[1024];   /* buffer to read vds_prefix       */
data/hdf5-1.12.0+repack/test/vds.c:1389:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:1390:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:1391:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        vfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:1392:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        vfilename2[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:1393:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilenamepct[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:1394:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilenamepct_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:4266:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:4267:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:4268:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        vfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:7289:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:7290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:7291:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename2[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:7292:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename2_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:7293:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        vfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:7294:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        printf_srcfilename_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:7296:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilenamepct[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:7297:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilenamepct_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:10980:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        vfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:10981:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:10982:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:12020:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[1024];     /* file names                           */
data/hdf5-1.12.0+repack/test/vds.c:12150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds.c:12170:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char msg[80];       /* Message for file version bounds */
data/hdf5-1.12.0+repack/test/vds_env.c:53:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds_env.c:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilename_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds_env.c:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        vfilename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds_env.c:56:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        vfilename2[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds_env.c:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilenamepct[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds_env.c:58:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        srcfilenamepct_map[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/test/vds_env.c:74:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buffer[1024];   /* buffer to read vds_prefix       */
data/hdf5-1.12.0+repack/test/vds_env.c:317:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char msg[80];       /* Message for file version bounds */
data/hdf5-1.12.0+repack/test/vds_swmr.h:90:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
H5TEST_DLLVAR char FILE_NAMES[N_SOURCES][NAME_LEN];
data/hdf5-1.12.0+repack/test/vds_swmr.h:93:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
H5TEST_DLLVAR char VDS_FILE_NAME[NAME_LEN];
data/hdf5-1.12.0+repack/test/vds_swmr.h:96:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
H5TEST_DLLVAR char SOURCE_DSET_PATH[NAME_LEN];
data/hdf5-1.12.0+repack/test/vds_swmr.h:97:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
H5TEST_DLLVAR char VDS_DSET_NAME[NAME_LEN];
data/hdf5-1.12.0+repack/test/vds_swmr_gen.c:50:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char SOURCE_DSET_NAME[NAME_LEN] = "source_dset";
data/hdf5-1.12.0+repack/test/vfd.c:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];             /* filename                     */
data/hdf5-1.12.0+repack/test/vfd.c:206:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];             /* filename                     */
data/hdf5-1.12.0+repack/test/vfd.c:558:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/vfd.c:787:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char first_name[1024];
data/hdf5-1.12.0+repack/test/vfd.c:788:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char wrong_name[1024];
data/hdf5-1.12.0+repack/test/vfd.c:862:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1055:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1056:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        pathname[1024], pathname_individual[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1057:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        newname[1024], newname_individual[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1156:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     filename[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1291:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  super_name[1024];     /*name string "%%s-s.h5"*/
data/hdf5-1.12.0+repack/test/vfd.c:1292:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  sf_name[1024];        /*name string "multi_file-s.h5"*/
data/hdf5-1.12.0+repack/test/vfd.c:1327:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1333:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char  *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/vfd.c:1334:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        sv[H5FD_MEM_NTYPES][32];
data/hdf5-1.12.0+repack/test/vfd.c:1565:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        newname[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1566:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename_s[1024], newname_s[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1567:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename_r[1024], newname_r[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1571:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char  *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/test/vfd.c:1572:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        sv[H5FD_MEM_NTYPES][32];
data/hdf5-1.12.0+repack/test/vfd.c:1736:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1847:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename[1024];
data/hdf5-1.12.0+repack/test/vfd.c:1954:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         filename[1024];
data/hdf5-1.12.0+repack/test/vfd.c:2081:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        filename[1024];             /* filename                     */
data/hdf5-1.12.0+repack/test/vol.c:329:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            filename[1024];
data/hdf5-1.12.0+repack/test/vol.c:336:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            name[32];
data/hdf5-1.12.0+repack/test/vol.c:506:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/vol.c:612:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/vol.c:791:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    filename[1024];
data/hdf5-1.12.0+repack/test/vol.c:899:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/vol.c:973:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/test/vol.c:1052:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:80:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *FILENAME[NFILENAME]={
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:84:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char    filenames[NFILENAME][PATH_MAX];
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:139:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            case 'm':   ndatasets = atoi((*argv+1)+1);
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:145:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            case 'n':   ngroups = atoi((*argv+1)+1);
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:171:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                dim0 = atoi(*(++argv))*mpi_size;
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:173:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                dim1 = atoi(*(++argv))*mpi_size;
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:183:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                chunkdim0 = atoi(*(++argv));
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:185:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                chunkdim1 = atoi(*(++argv));
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:3393:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[256];
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:3911:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[256];
data/hdf5-1.12.0+repack/testpar/t_2Gio.c:4230:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[256];
data/hdf5-1.12.0+repack/testpar/t_bigio.c:7:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *FILENAME[3]={ "bigio_test.h5",
data/hdf5-1.12.0+repack/testpar/t_cache.c:41:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *FILENAME[NFILENAME]={"CacheTestDummy", NULL};
data/hdf5-1.12.0+repack/testpar/t_cache.c:45:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char    filenames[NFILENAME][PATH_MAX];
data/hdf5-1.12.0+repack/testpar/t_cache.c:6877:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[256];
data/hdf5-1.12.0+repack/testpar/t_cache.c:6878:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char trace_file_name[64];
data/hdf5-1.12.0+repack/testpar/t_cache.c:6959:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(config.trace_file_name, "t_cache_trace.txt");
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:450:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[64];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:808:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[64];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:1427:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[256];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:1845:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[256];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:1930:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char file_name_idx_str[32];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:1931:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char mpi_size_str[32];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:1943:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char param0[32] = "t_cache_image";
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:1944:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char param1[32] = "ici";
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:2040:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[256];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:2313:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:2436:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[256];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:2720:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                *file_idx_ptr = atoi(argv[2]);
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:2721:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                *mpi_size_ptr = atoi(argv[3]);
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:2847:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dset_name[64];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:3124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:3403:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:3680:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[512];
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:4213:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char param0[32] = "t_cache_image";
data/hdf5-1.12.0+repack/testpar/t_cache_image.c:4214:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char param1[32] = "setup";
data/hdf5-1.12.0+repack/testpar/t_chunk_alloc.c:84:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         buffer[CHUNK_SIZE];
data/hdf5-1.12.0+repack/testpar/t_chunk_alloc.c:198:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         buffer[CHUNK_SIZE];
data/hdf5-1.12.0+repack/testpar/t_chunk_alloc.c:334:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         buffer[CHUNK_SIZE];
data/hdf5-1.12.0+repack/testpar/t_dset.c:2995:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[256];
data/hdf5-1.12.0+repack/testpar/t_dset.c:3515:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[256];
data/hdf5-1.12.0+repack/testpar/t_dset.c:3834:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[256];
data/hdf5-1.12.0+repack/testpar/t_file.c:435:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dset_name[20];
data/hdf5-1.12.0+repack/testpar/t_file.c:592:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dset_name[20];
data/hdf5-1.12.0+repack/testpar/t_file_image.c:64:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char file_name[1024] = "\0";
data/hdf5-1.12.0+repack/testpar/t_filter_read.c:64:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                name[32] = "dataset";
data/hdf5-1.12.0+repack/testpar/t_filters_parallel.c:30:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char filenames[1][256];
data/hdf5-1.12.0+repack/testpar/t_init_term.c:54:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char	filename[1024];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:149:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   dname [100];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:863:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  gname[64], dname[32];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1003:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     gname[64], dname[32];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1081:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    gname[64];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1172:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      dname[32];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1212:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char  gname[64];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1250:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     gname[64];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1332:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      dname[32];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1387:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  gname[64];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1416:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    attr_name[32];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1448:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attr_name[32];
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1864:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char * dataset_name[NUM_DATA_SETS] =
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1871:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char * att_name[NUM_DATA_SETS] =
data/hdf5-1.12.0+repack/testpar/t_mdset.c:1878:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char * lg_att_name[NUM_DATA_SETS] =
data/hdf5-1.12.0+repack/testpar/t_mpi.c:31:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *FILENAME[2] = { "MPItest", NULL };
data/hdf5-1.12.0+repack/testpar/t_mpi.c:32:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char filenames[2][200];
data/hdf5-1.12.0+repack/testpar/t_mpi.c:49:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[4093]; /* use some prime number for size */
data/hdf5-1.12.0+repack/testpar/t_mpi.c:437:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hostname[128];
data/hdf5-1.12.0+repack/testpar/t_mpi.c:440:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mpi_err_str[MPI_MAX_ERROR_STRING];
data/hdf5-1.12.0+repack/testpar/t_mpi.c:443:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char writedata[DIMSIZE], readdata[DIMSIZE];
data/hdf5-1.12.0+repack/testpar/t_mpi.c:677:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mpi_err_str[MPI_MAX_ERROR_STRING];
data/hdf5-1.12.0+repack/testpar/t_mpi.c:694:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[3], outbuf[3] = { 0 };
data/hdf5-1.12.0+repack/testpar/t_mpi.c:865:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mpi_err_str[MPI_MAX_ERROR_STRING];
data/hdf5-1.12.0+repack/testpar/t_mpi.c:868:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char writedata[2 * DIMSIZE];
data/hdf5-1.12.0+repack/testpar/t_mpi.c:869:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filerep[7] = "native";
data/hdf5-1.12.0+repack/testpar/t_pflush1.c:127:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[1024];
data/hdf5-1.12.0+repack/testpar/t_pflush2.c:146:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[1024];
data/hdf5-1.12.0+repack/testpar/t_pread.c:30:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *FILENAMES[NFILENAME + 1]={"reloc_t_pread_data_file",
data/hdf5-1.12.0+repack/testpar/t_pread.c:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data_filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/testpar/t_pread.c:511:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char reloc_data_filename[FILENAME_BUF_SIZE];
data/hdf5-1.12.0+repack/testpar/t_prestart.c:37:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	    filename[1024];
data/hdf5-1.12.0+repack/testpar/t_pshutdown.c:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[1024];
data/hdf5-1.12.0+repack/testpar/t_shapesame.c:4603:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *FILENAME[NFILENAME]={
data/hdf5-1.12.0+repack/testpar/t_shapesame.c:4606:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char    filenames[NFILENAME][PATH_MAX];
data/hdf5-1.12.0+repack/testpar/t_shapesame.c:4629:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mpi_name[MPI_MAX_PROCESSOR_NAME];
data/hdf5-1.12.0+repack/testpar/t_shapesame.c:4702:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        case 'm':   ndatasets = atoi((*argv+1)+1);
data/hdf5-1.12.0+repack/testpar/t_shapesame.c:4708:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            case 'n':   ngroups = atoi((*argv+1)+1);
data/hdf5-1.12.0+repack/testpar/t_shapesame.c:4737:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                dim0 = atoi(*(++argv))*mpi_size;
data/hdf5-1.12.0+repack/testpar/t_shapesame.c:4739:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                dim1 = atoi(*(++argv))*mpi_size;
data/hdf5-1.12.0+repack/testpar/t_shapesame.c:4749:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                chunkdim0 = atoi(*(++argv));
data/hdf5-1.12.0+repack/testpar/t_shapesame.c:4751:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                chunkdim1 = atoi(*(++argv));
data/hdf5-1.12.0+repack/testpar/testphdf5.c:48:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *FILENAME[NFILENAME]={
data/hdf5-1.12.0+repack/testpar/testphdf5.c:51:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char    filenames[NFILENAME][PATH_MAX];
data/hdf5-1.12.0+repack/testpar/testphdf5.c:74:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mpi_name[MPI_MAX_PROCESSOR_NAME];
data/hdf5-1.12.0+repack/testpar/testphdf5.c:147:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            case 'm':   ndatasets = atoi((*argv+1)+1);
data/hdf5-1.12.0+repack/testpar/testphdf5.c:153:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            case 'n':   ngroups = atoi((*argv+1)+1);
data/hdf5-1.12.0+repack/testpar/testphdf5.c:182:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                dim0 = atoi(*(++argv))*mpi_size;
data/hdf5-1.12.0+repack/testpar/testphdf5.c:184:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                dim1 = atoi(*(++argv))*mpi_size;
data/hdf5-1.12.0+repack/testpar/testphdf5.c:194:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                chunkdim0 = atoi(*(++argv));
data/hdf5-1.12.0+repack/testpar/testphdf5.c:196:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                chunkdim1 = atoi(*(++argv));
data/hdf5-1.12.0+repack/tools/lib/h5diff.c:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data[PRINT_DATA_MAX_SIZE + 1];
data/hdf5-1.12.0+repack/tools/lib/h5diff.c:522:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          filenames[2][MAX_FILENAME];
data/hdf5-1.12.0+repack/tools/lib/h5diff.c:1335:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char  data[PRINT_DATA_MAX_SIZE + 1];
data/hdf5-1.12.0+repack/tools/lib/h5diff_array.c:622:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char enum_name1[1024];
data/hdf5-1.12.0+repack/tools/lib/h5diff_array.c:623:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char enum_name2[1024];
data/hdf5-1.12.0+repack/tools/lib/h5diff_array.c:947:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char       name1[ATTR_NAME_MAX];
data/hdf5-1.12.0+repack/tools/lib/h5diff_array.c:948:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char       name2[ATTR_NAME_MAX];
data/hdf5-1.12.0+repack/tools/lib/h5diff_attr.c:149:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           name1[ATTR_NAME_MAX];
data/hdf5-1.12.0+repack/tools/lib/h5diff_attr.c:150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           name2[ATTR_NAME_MAX];
data/hdf5-1.12.0+repack/tools/lib/h5diff_attr.c:335:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       np1[512];
data/hdf5-1.12.0+repack/tools/lib/h5diff_attr.c:336:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       np2[512];
data/hdf5-1.12.0+repack/tools/lib/h5tools_dump.c:3131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char             f_name[256];    /* filter name */
data/hdf5-1.12.0+repack/tools/lib/h5tools_dump.c:3132:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char             name[256];      /* external or virtual file name       */
data/hdf5-1.12.0+repack/tools/lib/h5tools_dump.c:3313:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char dsetname[256];     /* virtual datset name       */
data/hdf5-1.12.0+repack/tools/lib/h5tools_error.h:46:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lib_str[256];                                                                                  \
data/hdf5-1.12.0+repack/tools/lib/h5tools_str.c:240:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    _temp[1024], *temp = _temp;
data/hdf5-1.12.0+repack/tools/lib/h5tools_str.c:691:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char    fmt_llong[8], fmt_ullong[8];
data/hdf5-1.12.0+repack/tools/lib/h5tools_str.c:1070:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char enum_name[1024];
data/hdf5-1.12.0+repack/tools/lib/h5tools_str.c:1433:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        octal[8];
data/hdf5-1.12.0+repack/tools/lib/h5tools_utils.c:51:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char     outBuff[OUTBUFF_SIZE];
data/hdf5-1.12.0+repack/tools/lib/h5tools_utils.c:588:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
           ((const char *)H5_VERS_SUBRELEASE)[0] ? "-" : "", H5_VERS_SUBRELEASE);
data/hdf5-1.12.0+repack/tools/lib/h5tools_utils.c:876:1:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
tmpfile(void)
data/hdf5-1.12.0+repack/tools/lib/h5tools_utils.h:137:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
H5TOOLS_DLL FILE *tmpfile(void);
data/hdf5-1.12.0+repack/tools/lib/ph5diff.h:33:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  name1[256];
data/hdf5-1.12.0+repack/tools/lib/ph5diff.h:34:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  name2[256];
data/hdf5-1.12.0+repack/tools/libtest/h5tools_test_utils.c:401:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *exp_elems[7]; /* list of elements (no more than 7!) */
data/hdf5-1.12.0+repack/tools/libtest/h5tools_test_utils.c:986:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char message[88];
data/hdf5-1.12.0+repack/tools/libtest/h5tools_test_utils.c:989:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char vfdname[12];
data/hdf5-1.12.0+repack/tools/src/h5diff/h5diff_common.c:145:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    opts->m_verbose_level = atoi(&argv[i][2]);
data/hdf5-1.12.0+repack/tools/src/h5diff/h5diff_common.c:157:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    opts->m_verbose_level = atoi(&argv[i][10]);
data/hdf5-1.12.0+repack/tools/src/h5diff/ph5diff_main.c:141:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char    filenames[2][MAX_FILENAME];
data/hdf5-1.12.0+repack/tools/src/h5diff/ph5diff_main.c:200:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char out_data[PRINT_DATA_MAX_SIZE];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.c:1263:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                const char  *ccred[3];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.c:1281:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ccred[0] = (const char *)s3_cred[0];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.c:1282:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ccred[1] = (const char *)s3_cred[1];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.c:1283:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ccred[2] = (const char *)s3_cred[2];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.c:1326:61:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    HDstrncpy(hdfs_fa.namenode_name, (const char *)props[0], HDstrlen(props[0]));
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.c:1329:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    k = strtoul((const char *)props[1], NULL, 0);
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.c:1337:69:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    HDstrncpy(hdfs_fa.kerberos_ticket_cache, (const char *)props[2], HDstrlen(props[2]));
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.c:1340:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    HDstrncpy(hdfs_fa.user_name, (const char *)props[3], HDstrlen(props[3]));
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump.c:1343:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    k = strtoul((const char *)props[4], NULL, 0);
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_ddl.c:748:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        type_name[1024];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_ddl.c:1133:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     dname[32]; /* buffer to store driver name */
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_ddl.c:1914:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char name[128];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:270:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char dsetxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:271:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char parentxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:272:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char pointerxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:377:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char linkxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:378:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char parentxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:379:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char targetxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:476:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char linkxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:477:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char parentxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:524:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char linkxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:525:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char parentxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:2358:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char pointerxid[100];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:2452:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                    type_name[1024];
data/hdf5-1.12.0+repack/tools/src/h5dump/h5dump_xml.c:3121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              namebuf[120];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:467:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buffer[256];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:642:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buffer[256];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:956:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    str[1024];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1098:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    str[1024]   = "";
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1374:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        key[MAX_PATH_NAME_LENGTH];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1376:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp[MAX_PATH_NAME_LENGTH];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2536:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp[255];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2574:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp[255];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2596:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    classKeywordTable[3][15] = { "IN", "FP", "UIN" };
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3442:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    classKeywordTable[8][15] = { "TEXTIN", "TEXTFP", "TEXTFPE", "FP", "IN", "STR", "TEXTUIN", "UIN" };
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3467:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp[255];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3598:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp[255];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3620:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    outputArchKeywordTable[8][15] = { "NATIVE", "STD", "IEEE", "INTEL",
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3630:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp[255];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3652:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    outputByteOrderKeywordTable[2][15] = { "BE", "LE" };
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3661:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp[255];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3687:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    CompressionTypeKeywordTable[1][15] = { "GZIP" };
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3727:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp[255];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3743:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    temp[255];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3744:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    num[255];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.h:76:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char group[MAX_GROUPS_IN_PATH][MAX_PATH_NAME_LENGTH];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.h:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char datafile[MAX_PATH_NAME_LENGTH];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.h:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char configfile[MAX_PATH_NAME_LENGTH];
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.h:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   outfile[256];  /* output file name */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.h:118:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char keytable[NUM_KEYS][30] = {
data/hdf5-1.12.0+repack/tools/src/h5jam/h5jam.c:415:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];
data/hdf5-1.12.0+repack/tools/src/h5jam/h5jam.c:533:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1];
data/hdf5-1.12.0+repack/tools/src/h5jam/h5unjam.c:337:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[COPY_BUF_SIZE];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:143:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    hid_t (*open)(hid_t loc, const char *name, hid_t apl_id);
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:333:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char fullname[NAME_BUF_SIZE];     /* Buffer for file and/or object name */
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:1535:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                string_prefix[64];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:1536:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char         fmt_double[16];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:1537:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char         fmt_float[16];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:1705:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                string_prefix[64];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:1706:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char         fmt_double[16];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:1707:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char         fmt_float[16];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:2053:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        f_name[256];    /* filter/file name */
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:2054:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        s[64];          /* temporary string buffer */
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:2139:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char dset_name[256];        /* Dataset name */
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:2385:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[256];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:2842:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        drivername[50];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:3017:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char const        *ccred[3];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:3040:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            ccred[0] = (const char *)s3cred[0];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:3041:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            ccred[1] = (const char *)s3cred[1];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:3042:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            ccred[2] = (const char *)s3cred[2];
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:3106:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                HDstrncpy(hdfs_fa.namenode_name, (const char *)props[0], HDstrlen(props[0]));
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:3109:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                k = strtoul((const char *)props[1], NULL, 0);
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:3123:65:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                HDstrncpy(hdfs_fa.kerberos_ticket_cache, (const char *)props[2], HDstrlen(props[2]));
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:3129:53:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                HDstrncpy(hdfs_fa.user_name, (const char *)props[3], HDstrlen(props[3]));
data/hdf5-1.12.0+repack/tools/src/h5ls/h5ls.c:3132:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                k = HDstrtoul((const char *)props[4], NULL, 0);
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.c:367:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[255];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.c:561:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         slayout[30];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.c:573:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(slayout, "compact");
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.c:576:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(slayout, "contiguous");
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.c:579:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(slayout, "chunked");
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.c:582:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(slayout, "virtual");
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.c:589:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(slayout, "invalid layout\n");
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.h:45:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         obj[MAX_NC_NAME];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack.h:81:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          path[MAX_NC_NAME];               /* name of object */
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_copy.c:1247:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     strfilter[255];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_copy.c:1249:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     temp[255];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_copy.c:1256:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     f_objname[256]; /* filter objname */
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_copy.c:1336:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512], temp[512];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_copy.c:1371:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char rbuf[USERBLOCK_XFER_SIZE]; /* Buffer for reading */
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_copy.c:1459:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char rbuf[USERBLOCK_XFER_SIZE]; /* buffer for reading */
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_filters.c:40:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         f_objname[256]; /* filter objname */
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_main.c:279:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stype[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_main.c:280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char comp_info[1024];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_main.c:535:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char msgType[10];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_main.c:582:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char strategy[MAX_NC_NAME];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_opttable.c:334:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tbl_path[MAX_NC_NAME + 1]; /* +1 for start with "/" case */
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_parse.c:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        sobj[MAX_NC_NAME];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_parse.c:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        scomp[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_parse.c:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        stype[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_parse.c:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        smask[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_parse.c:494:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        sobj[MAX_NC_NAME];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_parse.c:495:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        sdim[10];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_parse.c:496:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        slayout[10];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_refs.c:441:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[255];
data/hdf5-1.12.0+repack/tools/src/h5repack/h5repack_verify.c:500:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          f_name[256];    /* filter name */
data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c:1076:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char const  *ccred[3];
data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c:1086:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    ccred[0] = (const char *)cred[0];
data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c:1087:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    ccred[1] = (const char *)cred[1];
data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c:1088:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    ccred[2] = (const char *)cred[2];
data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c:1118:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char str[64] = "";
data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c:1135:64:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        HDstrncpy(hdfs_fa.namenode_name,(const char *)props[0], HDstrlen(props[0]));
data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c:1138:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        k = strtoul((const char *)props[1], NULL, 0);
data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c:1146:73:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        HDstrncpy(hdfs_fa.kerberos_ticket_cache, (const char *)props[2], HDstrlen(props[2]));
data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c:1149:61:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        HDstrncpy(hdfs_fa.user_name, (const char *)props[3], HDstrlen(props[3]));
data/hdf5-1.12.0+repack/tools/src/h5stat/h5stat.c:1152:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        k = HDstrtoul((const char *)props[4], NULL, 0);
data/hdf5-1.12.0+repack/tools/test/h5copy/h5copygentest.c:155:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str1[20];
data/hdf5-1.12.0+repack/tools/test/h5copy/h5copygentest.c:156:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str2[20];
data/hdf5-1.12.0+repack/tools/test/h5copy/h5copygentest.c:608:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  data[3][16] = {"The quick brown", "fox jumps over ", "the 5 lazy dogs"};
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:794:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf1a[3][2] = { { 1, 1 }, { 1, 1 }, { 1, 1 } };
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:795:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf1b[3][2] = { { 1, 1 }, { 3, 4 }, { 5, 6 } };
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:811:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf7a[3][2] = { { -1, -128 }, { -1, -1 }, { -1, -1 } };
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:812:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf7b[3][2] = { { 1, 128 }, { 1, 1 }, { 1, 1 } };
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3426:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3427:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_repeat[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3428:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_array_vlen[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3429:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_vlen_array_again[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3430:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_array_fixlen[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3431:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_array_again[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3437:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3439:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_repeat[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3440:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_array_vlen[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3441:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_array_fixlen[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3442:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_vlen_array_again[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3443:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_array_again[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3448:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3449:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_repeat[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3452:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_array_fixlen[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3453:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_array_again[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3454:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_array_vlen[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3455:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_vlen_array_again[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3460:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3462:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_repeat[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3464:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_array_fixlen[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3465:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_array_vlen[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3466:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_array_again[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3467:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_vlen_array_again[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3472:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_array_vlen[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3473:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_vlen_array_again[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3474:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_array_fixlen[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3475:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_array_again[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3478:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3479:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_repeat[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3484:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_array_vlen[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3485:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_array_fixlen[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3486:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_vlen_array_again[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3487:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_array_again[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3489:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3491:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_repeat[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3496:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_array_fixlen[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3497:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_array_again[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3498:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_array_vlen[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3499:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_vlen_array_again[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3500:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3501:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_repeat[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3508:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_array_fixlen[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3509:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_array_vlen[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3510:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_array_again[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3511:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_vlen_array_again[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3512:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3514:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_repeat[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3520:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_array_fixlen[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3521:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_array_again[FIXLEN_STR_ARRY_DIM][FIXLEN_STR_ARRY_SIZE]; /* fixed len string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3522:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_array_vlen[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3523:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *str_vlen_array_again[VLEN_STR_ARRY_DIM]; /* vlen string array */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3524:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3527:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str_fixlen_repeat[FIXLEN_STR_SIZE]; /* fixed len string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3545:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char fixlen_str_buf[FIXLEN_STR_SIZE] = { "Fixed length string" };
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3552:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *vlen_str_array_buf[VLEN_STR_ARRY_DIM] =
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:3562:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *fixlen_str_array_buf[FIXLEN_STR_ARRY_DIM] = {
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:4736:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data1_str[DIM_ARRY][STR_SIZE] = { "ab", "cd", "ef" };
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5049:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string1A[12][3] = { "s1", "s2", "s3", "s4", "s5", "s6", "s", "s", "s9",
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5051:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string1B[12][3] = { "s1", "s2", "s3", "s4", "s", "s", "s7", "s8", "s9",
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5055:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string2A[20][10] = { "ab cd ef1", "ab cd ef2", "ab cd ef3",
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5060:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string2B[20][10] = { "ab cd ef1", "ab cd ef2", "ab cd ef3",
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5067:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string3A[27][6] = { "abcd0", "abcd1", "abcd2", "abcd3", "abcd4",
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5071:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string3B[27][6] = { "abcd0", "abcd1", "abcd2", "abcd3", "abcd4",
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5077:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string4A[3][21] = { "s1234567890123456789", "s1234567890123456789",
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5079:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string4B[3][21] = { "s1234567890123456789", "s12345678901234567",
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5223:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf1[2][STR_SIZE] = { "ab", "de" }; /* string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5224:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      *buf1a[2]; /* VL string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5225:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf2[2] = { 1, 2 }; /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5237:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf12[3][2][STR_SIZE] = { { "ab", "cd" }, { "ef", "gh" }, { "ij", "kl" } }; /* string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5238:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      *buf12a[3][2]; /* VL string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5239:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf22[3][2] = { { 1, 2 }, { 3, 4 }, { 5, 6 } }; /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5250:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf13[4][3][2][STR_SIZE] = { { { "ab", "cd" }, { "ef", "gh" }, { "ij", "kl" } },
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5254:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      *buf13a[4][3][2]; /* VL string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:5255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf23[4][3][2]; /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:6214:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf1[2][STR_SIZE] = { "ab", "de" }; /* string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:6215:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      *buf1a[2]; /* VL string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:6216:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf2[2] = { 1, 2 }; /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:6228:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf12[3][2][STR_SIZE] = { { "ab", "cd" }, { "ef", "gh" }, { "ij", "kl" } }; /* string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:6229:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      *buf12a[3][2]; /* VL string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:6230:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf22[3][2] = { { 1, 2 }, { 3, 4 }, { 5, 6 } }; /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:6241:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf13[4][3][2][STR_SIZE] = { { { "ab", "cd" }, { "ef", "gh" }, { "ij", "kl" } },
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:6245:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      *buf13a[4][3][2]; /* VL string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:6246:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf23[4][3][2]; /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:7208:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf1[2][STR_SIZE] = { "ab", "de" }; /* string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:7209:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *buf1a[2]; /* VL string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:7210:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf2[2] = { 1, 2 }; /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:7222:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf12[3][2][STR_SIZE] = { { "ab", "cd" }, { "ef", "gh" }, { "ij", "kl" } }; /* string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:7223:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *buf12a[3][2]; /* VL string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:7224:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf22[3][2] = { { 1, 2 }, { 3, 4 }, { 5, 6 } }; /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:7234:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf13[4][3][2][STR_SIZE] = { { { "ab", "cd" }, { "ef", "gh" }, { "ij", "kl" } },
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:7238:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *buf13a[4][3][2]; /* VL string */
data/hdf5-1.12.0+repack/tools/test/h5diff/h5diffgentest.c:7239:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf23[4][3][2]; /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5dump/binread.c:77:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if((stream = fopen(fname, "rb")) != NULL) {
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:553:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[60];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:948:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:1348:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[60];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:1544:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[60];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:1746:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string1[12][3] = {"s1","s2","s3","s4","s5","s6","s7","s8","s9",
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:1750:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string2[20][10] = {"ab cd ef1", "ab cd ef2", "ab cd ef3", "ab cd ef4",
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:1757:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string3[27][6] = {"abcd0", "abcd1", "abcd2", "abcd3",
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:1768:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string4[3][21] = { "s1234567890123456789", "s1234567890123456789",
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:1774:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s[12][33];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:1892:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[LENSTR+20];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:1893:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf2[3*LENSTR2];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:2508:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char test[100][2];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:2554:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[32];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:3749:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:3750:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sv[H5FD_MEM_NTYPES][1024];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:3798:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char grp_name[128];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:3817:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *wdata[SPACE1_DIM1]= {
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:3938:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf1[2][3]= {"ab","de"};        /* string */
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:3939:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf2[2]= {1,2};                 /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:3950:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf12[6][3]= {"ab","cd","ef","gh","ij","kl"};         /* string */
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:3951:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf22[3][2]= {{1,2},{3,4},{5,6}};                     /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:3961:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf13[24][3]= {"ab","cd","ef","gh","ij","kl","mn","pq",
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:3964:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf23[4][3][2];    /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:4380:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf1[2][3]= {"ab","de"};        /* string */
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:4381:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf2[2]= {1,2};                 /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:4392:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf12[6][3]= {"ab","cd","ef","gh","ij","kl"};         /* string */
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:4393:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf22[3][2]= {{1,2},{3,4},{5,6}};                     /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:4403:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf13[24][3]= {"ab","cd","ef","gh","ij","kl","mn","pq",
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:4406:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf23[4][3][2];    /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:4941:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char         *b[F41_DIMb];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:4942:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char               c[F41_ARRAY_DIMc];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:4951:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *quote [F41_DIMb] = {
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:4959:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char chararray [F41_ARRAY_DIMc] = {'H', 'e', 'l', 'l', 'o', '!'};
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:6008:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char   str[255];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:6017:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *buf2[SPACE1_DIM1]= {
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:6667:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *attr_name[3] = {"c", "b", "a" };
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:8767:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  string[F73_XDIM][F73_YDIM8];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:10005:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char further_nested_string[11];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:10006:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char further_nested_string_array[4][13];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:10014:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char   nested_string[23];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:10015:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char   nested_string_array[4][12];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:10316:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *vlen_array[F83_ARRAYDIM];
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:10320:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *test[F83_ARRAYDIM] = {
data/hdf5-1.12.0+repack/tools/test/h5dump/h5dumpgentest.c:10325:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char    *buffer[F83_DIM*F83_ARRAYDIM];
data/hdf5-1.12.0+repack/tools/test/h5format_convert/h5fc_gentest.c:795:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char filename[50];
data/hdf5-1.12.0+repack/tools/test/h5import/h5importtest.c:38:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      machine_order[3] = {0, 0, 0};
data/hdf5-1.12.0+repack/tools/test/h5import/h5importtest.c:60:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      b8i3[5][3][4];
data/hdf5-1.12.0+repack/tools/test/h5import/h5importtest.c:61:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char      row4i8[3], col4i8[4], pln4i8[5];
data/hdf5-1.12.0+repack/tools/test/h5import/h5importtest.c:432:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bin8w[4] = {13,10,26,0};
data/hdf5-1.12.0+repack/tools/test/h5jam/h5jamgentest.c:60:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char pattern[11] = "abcdefghij";
data/hdf5-1.12.0+repack/tools/test/h5jam/h5jamgentest.c:135:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repackgentest.c:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     name[MAX_NAME_SIZE];
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repackgentest.c:132:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  filename[MAX_NAME_SIZE];
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3086:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    name[16];
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3181:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     name[16];
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3688:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    ub[USERBLOCK_SIZE];            /* User block data */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3750:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    ub[USERBLOCK_SIZE]; /* User block data */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3818:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    ub[USERBLOCK_SIZE]; /* User block data */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3888:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf1[2][3]= {"ab","de"};        /* string */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3889:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf2[2]= {1,2};                 /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3902:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf12[6][3]= {"ab","cd","ef","gh","ij","kl"};         /* string */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3903:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf22[3][2]= {{1,2},{3,4},{5,6}};                     /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3914:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf13[24][3]= {"ab","cd","ef","gh","ij","kl","mn","pq",
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:3917:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf23[4][3][2];    /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:4751:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf1[2][3]= {"ab","de"};        /* string */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:4752:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf2[2]= {1,2};                 /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:4764:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf12[6][3]= {"ab","cd","ef","gh","ij","kl"};         /* string */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:4765:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf22[3][2]= {{1,2},{3,4},{5,6}};                     /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:4776:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf13[24][3]= {"ab","cd","ef","gh","ij","kl","mn","pq",
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:4779:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char       buf23[4][3][2];    /* bitfield, opaque */
data/hdf5-1.12.0+repack/tools/test/h5repack/h5repacktst.c:6318:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  data2[3][16] = {"The quick brown", "fox jumps over ", "the 5 lazy dogs"};
data/hdf5-1.12.0+repack/tools/test/h5stat/h5stat_gentest.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[30];    /* Group name */
data/hdf5-1.12.0+repack/tools/test/h5stat/h5stat_gentest.c:66:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char attrname[30];    /* Attribute name */
data/hdf5-1.12.0+repack/tools/test/h5stat/h5stat_gentest.c:154:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[30];                  /* Name */
data/hdf5-1.12.0+repack/tools/test/misc/h5clear_gentest.c:242:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if((fd = open(FILENAME_ENHANCE[i], O_RDWR, 0663)) < 0)
data/hdf5-1.12.0+repack/tools/test/misc/h5clear_gentest.c:367:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fname[512];        /* File name */
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                s[FIXED_LEN];
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:61:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fname[32];
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:70:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            ngrps = atoi(argv[i+1]);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:72:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            ndsets = atoi(argv[i+1]);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:74:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            nattrs = atoi(argv[i+1]);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:76:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            nrows = atoi(argv[i+1]);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:78:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            dim0 = atoi(argv[i+1]);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:80:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            chunk = atoi(argv[i+1]);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:82:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            vlen = atoi(argv[i+1]);
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        name[32], tmp_name1[32], tmp_name2[32], tmp_name3[32];
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:144:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        *enum_names[4] = {"SOLID", "LIQUID", "GAS", "PLASMA"};
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        (*buf_str)[FIXED_LEN];
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:156:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        *names[NTYPES] = { "int", "ulong", "float", "double", "fixed string",
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:495:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[32];
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:505:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                *s[7] = {"Parting", "is such", "sweeter", "sorrow."};
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:507:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                *s_vlen[4] = {"Parting", "is such", "sweet", "sorrow."};
data/hdf5-1.12.0+repack/tools/test/misc/talign.c:44:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string5[5];
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_1.h:106:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_1_FILE_NAMES[UC_1_N_SOURCES][NAME_LEN] = {
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_1.h:116:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_1_SOURCE_DSET_PATH[NAME_LEN] = "/source_dset";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_1_one_dim_gen.c:42:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_1_VDS_FILE_NAME[NAME_LEN] = "1_vds.h5";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_1_one_dim_gen.c:45:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_1_SOURCE_DSET_NAME[NAME_LEN] = "source_dset";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_1_one_dim_gen.c:46:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_1_VDS_DSET_NAME[NAME_LEN]    = "vds_dset";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_2.h:91:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_2_FILE_NAMES[UC_2_N_SOURCES][NAME_LEN] = {
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_4.h:59:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_4_FILE_NAMES[UC_4_N_SOURCES][NAME_LEN] = {
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_4.h:64:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_4_MAPPING_FILE_NAME[NAME_LEN] = "4_%b.h5";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_4.h:67:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_4_VDS_FILE_NAME[NAME_LEN] = "4_vds.h5";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_4.h:70:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_4_SOURCE_DSET_NAME[NAME_LEN] = "source_dset";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_4.h:71:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_4_SOURCE_DSET_PATH[NAME_LEN] = "/source_dset";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_4.h:72:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_4_VDS_DSET_NAME[NAME_LEN]    = "vds_dset";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_5.h:58:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_5_FILE_NAMES[UC_5_N_SOURCES][NAME_LEN] = {
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_5.h:65:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_5_VDS_FILE_NAME[NAME_LEN] = "5_vds.h5";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_5.h:68:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_5_SOURCE_DSET_NAME[NAME_LEN] = "source_dset";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_5.h:69:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_5_SOURCE_DSET_PATH[NAME_LEN] = "/source_dset";
data/hdf5-1.12.0+repack/tools/test/misc/vds/UC_5.h:70:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char UC_5_VDS_DSET_NAME[NAME_LEN]    = "vds_dset";
data/hdf5-1.12.0+repack/tools/test/perform/chunk.c:358:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen ("x-gnuplot", "w");
data/hdf5-1.12.0+repack/tools/test/perform/chunk.c:387:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    d = fopen ("x-rowmaj-rd.dat", "w");
data/hdf5-1.12.0+repack/tools/test/perform/chunk.c:433:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    d = fopen ("x-rowmaj-wr.dat", "w");
data/hdf5-1.12.0+repack/tools/test/perform/chunk.c:476:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    d = fopen ("x-diag-rd.dat", "w");
data/hdf5-1.12.0+repack/tools/test/perform/chunk.c:519:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    d = fopen ("x-diag-wr.dat", "w");
data/hdf5-1.12.0+repack/tools/test/perform/direct_write_perf.c:83:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char        filename[1024];
data/hdf5-1.12.0+repack/tools/test/perform/direct_write_perf.c:213:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((unix_file=open(FILENAME[1],flag,S_IRWXU))== -1)
data/hdf5-1.12.0+repack/tools/test/perform/direct_write_perf.c:595:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((file=open(FILENAME[1],flag))== -1)
data/hdf5-1.12.0+repack/tools/test/perform/iopipe.c:210:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    the_data = (unsigned char *)malloc((size_t)(size[0] * size[1]));
data/hdf5-1.12.0+repack/tools/test/perform/perf.c:101:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char    opt_file[256] = "perftest.out";
data/hdf5-1.12.0+repack/tools/test/perform/perf.c:102:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char    opt_pvfstab[256] = "notset";
data/hdf5-1.12.0+repack/tools/test/perform/perf.c:130:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[MAX_PATH];
data/hdf5-1.12.0+repack/tools/test/perform/perf.c:414:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                opt_stripe = atoi(optarg);
data/hdf5-1.12.0+repack/tools/test/perform/perf.c:417:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                opt_block = atoi(optarg);
data/hdf5-1.12.0+repack/tools/test/perform/perf.c:420:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                opt_iter = atoi(optarg);
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   func[32];
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:106:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                            NUM_DSETS = atoi((*argv+1)+1);
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:114:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                            NUM_ATTRS = atoi((*argv+1)+1);
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:122:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                            BATCH_ATTRS = atoi((*argv+1)+1);
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:145:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                            t = atoi((*argv+1)+1);
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:309:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	dset_name[32];
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:353:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[128];
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:354:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	dset_name[64];
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:355:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	attr_name[128];
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:459:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[128];
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:460:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	dset_name[64];
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:461:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	attr_name[128];
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:563:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	filename[128];
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:564:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	dset_name[64];
data/hdf5-1.12.0+repack/tools/test/perform/perf_meta.c:565:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	attr_name[128];
data/hdf5-1.12.0+repack/tools/test/perform/pio_engine.c:152:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        fname[FILENAME_MAX];
data/hdf5-1.12.0+repack/tools/test/perform/pio_engine.c:295:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char base_name[256];
data/hdf5-1.12.0+repack/tools/test/perform/pio_engine.c:524:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dname[64];
data/hdf5-1.12.0+repack/tools/test/perform/pio_engine.c:1520:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dname[64];
data/hdf5-1.12.0+repack/tools/test/perform/pio_perf.c:1304:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buf[10];
data/hdf5-1.12.0+repack/tools/test/perform/pio_perf.c:1349:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            cl_opts->num_dsets = atoi(opt_arg);
data/hdf5-1.12.0+repack/tools/test/perform/pio_perf.c:1356:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buf[10];
data/hdf5-1.12.0+repack/tools/test/perform/pio_perf.c:1375:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                        pio_debug_level = atoi(buf);
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.c:277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  key[MPI_MAX_INFO_KEY+1];
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.c:278:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  value[MPI_MAX_INFO_VAL+1];
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:77:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
#define HDatoi(S)               atoi(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:78:33:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
#define HDatol(S)               atol(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:136:33:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define HDfopen(S,M)            fopen(S,M)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:267:33:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define HDmemcpy(X,Y,Z)         memcpy((char*)(X),(const char*)(Y),Z)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:286:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define HDopen(S,F,M)           open(S,F|_O_BINARY,M)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:288:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define HDopen(S,F,M)           open(S,F,M)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:419:33:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
#define HDtmpfile()             tmpfile()
data/hdf5-1.12.0+repack/tools/test/perform/sio_engine.c:137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char base_name[256];                /* test file base name */
data/hdf5-1.12.0+repack/tools/test/perform/sio_engine.c:141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        fname[FILENAME_MAX];    /* test file name */
data/hdf5-1.12.0+repack/tools/test/perform/sio_engine.c:412:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dname[64];
data/hdf5-1.12.0+repack/tools/test/perform/sio_engine.c:775:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        dname[64];
data/hdf5-1.12.0+repack/tools/test/perform/sio_engine.c:1166:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *memb_name[H5FD_MEM_NTYPES];
data/hdf5-1.12.0+repack/tools/test/perform/sio_engine.c:1167:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char sv[H5FD_MEM_NTYPES][1024];
data/hdf5-1.12.0+repack/tools/test/perform/sio_engine.c:1275:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        temp[2048];
data/hdf5-1.12.0+repack/tools/test/perform/sio_perf.c:1002:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buf[10];
data/hdf5-1.12.0+repack/tools/test/perform/sio_perf.c:1041:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buf[10];
data/hdf5-1.12.0+repack/tools/test/perform/sio_perf.c:1069:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buf[10];
data/hdf5-1.12.0+repack/tools/test/perform/sio_perf.c:1087:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                        sio_debug_level = atoi(buf);
data/hdf5-1.12.0+repack/tools/test/perform/sio_perf.c:1127:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buf[10];
data/hdf5-1.12.0+repack/tools/test/perform/sio_perf.c:1191:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buf[10];
data/hdf5-1.12.0+repack/tools/test/perform/sio_perf.c:1219:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buf[10];
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:92:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
#define HDatoi(S)               atoi(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:93:33:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
#define HDatol(S)               atol(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:151:33:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define HDfopen(S,M)            fopen(S,M)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:282:33:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define HDmemcpy(X,Y,Z)         memcpy((char*)(X),(const char*)(Y),Z)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:301:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define HDopen(S,F,M)           open(S,F|_O_BINARY,M)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:303:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define HDopen(S,F,M)           open(S,F,M)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:434:33:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
#define HDtmpfile()             tmpfile()
data/hdf5-1.12.0+repack/c++/examples/chunks.cpp:85:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read( data_out, PredType::NATIVE_INT, mspace1, filespace );
data/hdf5-1.12.0+repack/c++/examples/chunks.cpp:133:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read( column, PredType::NATIVE_INT, mspace2, filespace );
data/hdf5-1.12.0+repack/c++/examples/chunks.cpp:192:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            dataset.read( chunk_out, PredType::NATIVE_INT, mspace3, filespace );
data/hdf5-1.12.0+repack/c++/examples/compound.cpp:131:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      dataset->read( s2, mtype2 );
data/hdf5-1.12.0+repack/c++/examples/compound.cpp:157:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      dataset->read( s3, mtype3 );
data/hdf5-1.12.0+repack/c++/examples/extend_ds.cpp:178:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      dataset.read( data_out, PredType::NATIVE_INT );
data/hdf5-1.12.0+repack/c++/examples/h5tutr_cmprss.cpp:124:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset->read(rbuf, PredType::NATIVE_INT);
data/hdf5-1.12.0+repack/c++/examples/h5tutr_extend.cpp:129:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset->read(rdata, PredType::NATIVE_INT, *memspace, *filespace);
data/hdf5-1.12.0+repack/c++/examples/h5tutr_subset.cpp:133:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(rdata, PredType::NATIVE_INT);
data/hdf5-1.12.0+repack/c++/examples/readdata.cpp:163:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      dataset.read( data_out, PredType::NATIVE_INT, memspace, dataspace );
data/hdf5-1.12.0+repack/c++/examples/writedata.cpp:278:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset->read(matrix_out, PredType::NATIVE_INT, mspace, fspace);
data/hdf5-1.12.0+repack/c++/src/H5Attribute.cpp:141:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Attribute::read(const DataType& mem_type, void *buf) const
data/hdf5-1.12.0+repack/c++/src/H5Attribute.cpp:170:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Attribute::read(const DataType& mem_type, H5std_string& strg) const
data/hdf5-1.12.0+repack/c++/src/H5Attribute.h:63:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(const DataType& mem_type, void *buf) const;
data/hdf5-1.12.0+repack/c++/src/H5Attribute.h:64:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(const DataType& mem_type, H5std_string& strg) const;
data/hdf5-1.12.0+repack/c++/src/H5DataSet.cpp:422:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void DataSet::read(void* buf, const DataType& mem_type, const DataSpace& mem_space, const DataSpace& file_space, const DSetMemXferPropList& xfer_plist) const
data/hdf5-1.12.0+repack/c++/src/H5DataSet.cpp:456:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void DataSet::read(H5std_string& strg, const DataType& mem_type, const DataSpace& mem_space, const DataSpace& file_space, const DSetMemXferPropList& xfer_plist) const
data/hdf5-1.12.0+repack/c++/src/H5DataSet.h:77:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(void* buf, const DataType& mem_type, const DataSpace& mem_space = DataSpace::ALL, const DataSpace& file_space = DataSpace::ALL, const DSetMemXferPropList& xfer_plist = DSetMemXferPropList::DEFAULT) const;
data/hdf5-1.12.0+repack/c++/src/H5DataSet.h:78:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(H5std_string& buf, const DataType& mem_type, const DataSpace& mem_space = DataSpace::ALL, const DataSpace& file_space = DataSpace::ALL, const DSetMemXferPropList& xfer_plist = DSetMemXferPropList::DEFAULT) const;
data/hdf5-1.12.0+repack/c++/test/dsets.cpp:237:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read (static_cast<void*>(check), PredType::NATIVE_INT, DataSpace::ALL, DataSpace::ALL, xfer);
data/hdf5-1.12.0+repack/c++/test/dsets.cpp:380:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read (static_cast<void*>(in), PredType::STD_I32BE);
data/hdf5-1.12.0+repack/c++/test/dsets.cpp:516:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset->read (static_cast<void*>(check), PredType::NATIVE_INT, DataSpace::ALL, DataSpace::ALL, xfer);
data/hdf5-1.12.0+repack/c++/test/dsets.cpp:557:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset->read (static_cast<void*>(check), PredType::NATIVE_INT, DataSpace::ALL, DataSpace::ALL, xfer);
data/hdf5-1.12.0+repack/c++/test/dsets.cpp:589:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset->read (static_cast<void*>(check), PredType::NATIVE_INT, DataSpace::ALL, DataSpace::ALL, xfer);
data/hdf5-1.12.0+repack/c++/test/dsets.cpp:614:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset->read (static_cast<void*>(check), PredType::NATIVE_INT, DataSpace::ALL, DataSpace::ALL, xfer);
data/hdf5-1.12.0+repack/c++/test/dsets.cpp:645:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset->read (static_cast<void*>(check), PredType::NATIVE_INT, space1, space1, xfer);
data/hdf5-1.12.0+repack/c++/test/dsets.cpp:692:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset->read (static_cast<void*>(check), PredType::NATIVE_INT, DataSpace::ALL, DataSpace::ALL, xfer);
data/hdf5-1.12.0+repack/c++/test/dsets.cpp:816:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(static_cast<void*>(new_data), mem_cmpd);
data/hdf5-1.12.0+repack/c++/test/tarray.cpp:254:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(rdata, atype_check);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:167:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds_attr1.read (PredType::NATIVE_INT, read_data1);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:182:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds_attr2.read (PredType::NATIVE_INT, read_data1);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:444:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        attr1.read (PredType::NATIVE_INT, read_data1);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:467:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        attr2.read (PredType::NATIVE_INT, read_data1);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:532:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds_attr.read(PredType::NATIVE_INT, &read_data1);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:561:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_attr.read(PredType::NATIVE_INT, read_data2);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:765:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        attr.read(datatype, read_data4);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:896:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds_attr.read(PredType::NATIVE_FLOAT,&read_data2);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1061:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        attr.read(PredType::NATIVE_INT, read_data1);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1113:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        attr.read(PredType::NATIVE_INT, read_data2);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1166:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        attr.read(PredType::NATIVE_DOUBLE, read_data3);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1427:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        attr2->read(PredType::NATIVE_INT, &rdata);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1526:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_flattr1.read(fls_type, flstring_att_check);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1535:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_flattr1.read(fls_type, fl_dyn_string_att_check);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1544:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_flattr1.read(fls_type, read_flstr1);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1550:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_flattr2.read(fls_type, flstring_att_check);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1558:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_flattr2.read(fls_type, read_flstr2);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1577:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_vlattr.read(vls_type, &string_att_check);
data/hdf5-1.12.0+repack/c++/test/tattr.cpp:1585:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_vlattr.read(vls_type, read_str);
data/hdf5-1.12.0+repack/c++/test/tfile.cpp:660:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dattr.read(PredType::NATIVE_INT, rdata);
data/hdf5-1.12.0+repack/c++/test/tfilter.cpp:205:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            dataset.read ((void*)check, PredType::NATIVE_INT, DataSpace::ALL, DataSpace::ALL, xfer);
data/hdf5-1.12.0+repack/c++/test/th5s.cpp:330:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(&rdata, PredType::NATIVE_UINT);
data/hdf5-1.12.0+repack/c++/test/th5s.cpp:386:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(&space5_data, PredType::NATIVE_INT);
data/hdf5-1.12.0+repack/c++/test/th5s.cpp:521:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(&rdata, type);
data/hdf5-1.12.0+repack/c++/test/trefer.cpp:300:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(rbuf, PredType::STD_REF_OBJ);
data/hdf5-1.12.0+repack/c++/test/trefer.cpp:312:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dset2.read(tbuf, PredType::NATIVE_UINT);
data/hdf5-1.12.0+repack/c++/test/trefer.cpp:456:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dset1.read(&rref, PredType::STD_REF_OBJ);
data/hdf5-1.12.0+repack/c++/test/trefer.cpp:654:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dset1.read(rbuf, PredType::STD_REF_DSETREG);
data/hdf5-1.12.0+repack/c++/test/trefer.cpp:685:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dset3.read(drbuf, PredType::STD_U8LE);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:168:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dset1.read(&string_ds_check, vlst);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:177:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dset1.read(read_str, vlst);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:192:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dset1.read(&string_ds_check, vlst);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:265:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(string_ds_check, vlst);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:294:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset2.read(&rdata2, vlst);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:359:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(rdata, vlst);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:369:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(rdata, vlst);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:409:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(rdata, vlst);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:420:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(rdata, vlst);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:578:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataset.read(rdata, vlst);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:583:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (HDstrlen(wdata[i])!=strlen(rdata[i])) {
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:584:119:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                TestErrPrintf("VL data length don't match!, strlen(wdata[%d])=%d, strlen(rdata[%d])=%d\n",(int)i,(int)strlen(wdata[i]),(int)i,(int)strlen(rdata[i]));
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:584:148:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                TestErrPrintf("VL data length don't match!, strlen(wdata[%d])=%d, strlen(rdata[%d])=%d\n",(int)i,(int)strlen(wdata[i]),(int)i,(int)strlen(rdata[i]));
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:655:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_attr.read(vlst, &string_att_check);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:663:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_attr.read(vlst, read_str);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:678:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_attr.read(vlst, &string_att_check);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:732:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        att.read(vlst, &string_att_check);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:740:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        att.read(vlst, &string_att_check);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:809:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        gr_attr.read(vlst, &string_att_check);
data/hdf5-1.12.0+repack/c++/test/tvlstr.cpp:860:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dset.read(&data_read, type, space, space);
data/hdf5-1.12.0+repack/examples/h5_elink_unix2win.c:57:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fname_len = strlen(file_name);
data/hdf5-1.12.0+repack/examples/h5_extlink.c:260:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                 strlen(TARGET_GROUP) + 1, H5P_DEFAULT, H5P_DEFAULT);
data/hdf5-1.12.0+repack/examples/ph5example.c:962:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strsize = strlen(prefix) + 12;
data/hdf5-1.12.0+repack/fortran/src/H5Df.c:858:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        memcpy(tmp_p, c_buf[i], strlen(c_buf[i]));
data/hdf5-1.12.0+repack/fortran/src/H5Df.c:859:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len[i] = (size_t_f)strlen(c_buf[i]);
data/hdf5-1.12.0+repack/fortran/src/H5Pf.c:1497:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     HD5packFstring(c_meta_ext, _fcdtocp(meta_ext), strlen(c_meta_ext));
data/hdf5-1.12.0+repack/fortran/src/H5Pf.c:1498:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     HD5packFstring(c_raw_ext, _fcdtocp(raw_ext), strlen(c_raw_ext));
data/hdf5-1.12.0+repack/fortran/src/H5Pf.c:1799:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    HD5packFstring(c_name, _fcdtocp(name), strlen(c_name));
data/hdf5-1.12.0+repack/fortran/src/H5Pf.c:3596:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       memcpy(tmp_p, c_memb_name[i], strlen(c_memb_name[i]));
data/hdf5-1.12.0+repack/fortran/src/H5Pf.c:3597:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       len[i] = (int_f)strlen(c_memb_name[i]);
data/hdf5-1.12.0+repack/fortran/src/H5Pf.c:3598:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       length = H5_MAX(length, strlen(c_memb_name[i]));
data/hdf5-1.12.0+repack/fortran/src/H5Tf.c:1277:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  HD5packFstring(c_name, _fcdtocp(member_name), strlen(c_name));
data/hdf5-1.12.0+repack/fortran/src/H5Tf.c:1278:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *namelen = (int_f)strlen(c_name);
data/hdf5-1.12.0+repack/fortran/src/H5Tf.c:1796:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  HD5packFstring(c_name, _fcdtocp(name), strlen(c_name));
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:136:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
 strcpy(data_file, "");
data/hdf5-1.12.0+repack/hl/examples/ex_image2.c:140:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat(data_file, "/");
data/hdf5-1.12.0+repack/hl/fortran/src/H5TBfc.c:700:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         length = MAX(length, strlen((c_field_names[i])));
data/hdf5-1.12.0+repack/hl/src/H5LTanalyze.c:1042:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( H5LTyyin )) != EOF && c != '\n'; ++n ) \
data/hdf5-1.12.0+repack/hl/src/H5LTanalyze.c:2296:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return H5LTyy_scan_bytes(yystr,strlen(yystr) );
data/hdf5-1.12.0+repack/hl/src/H5LTparse.c:1000:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#   define yystrlen strlen
data/hdf5-1.12.0+repack/hl/tools/gif2h5/hdf2gif.c:112:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t len = strlen(argv[arg_index]);
data/hdf5-1.12.0+repack/java/src/jni/h5util.c:1124:76:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            if (NULL == (this_str = (char *) HDmalloc(64 + strlen(token_str) + 1)))
data/hdf5-1.12.0+repack/src/H5FD.c:242:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!cls->read || !cls->write)
data/hdf5-1.12.0+repack/src/H5FD.c:288:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    HDassert(cls->read && cls->write);
data/hdf5-1.12.0+repack/src/H5FDint.c:197:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if((file->cls->read)(file, type, dxpl_id, addr + file->base_addr, size, buf) < 0)
data/hdf5-1.12.0+repack/src/H5FDmulti.c:199:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    str_len = strlen(s) + 1;
data/hdf5-1.12.0+repack/src/H5FDmulti.c:309:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(meta_name, meta_ext, sizeof(meta_name));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:316:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(meta_name, "%s.meta", sizeof(meta_name));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:327:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(raw_name, raw_ext, sizeof(raw_name));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:334:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(raw_name, "%s.raw", sizeof(raw_name));
data/hdf5-1.12.0+repack/src/H5FDmulti.c:458:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	assert(strlen(letters)==H5FD_MEM_NTYPES);
data/hdf5-1.12.0+repack/src/H5FDmulti.c:610:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t n = strlen(file->fa.memb_name[mt])+1;
data/hdf5-1.12.0+repack/src/H5FDmulti.c:657:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(name, "NCSAmulti", (size_t)8);
data/hdf5-1.12.0+repack/src/H5FDmulti.c:691:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t n = strlen(file->fa.memb_name[mt]) + 1;
data/hdf5-1.12.0+repack/src/H5FDmulti.c:692:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy((char *)p, file->fa.memb_name[mt], n);
data/hdf5-1.12.0+repack/src/H5FDmulti.c:782:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t n = strlen((const char *)buf)+1;
data/hdf5-1.12.0+repack/src/H5FDpublic.h:295:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    herr_t  (*read)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl,
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2130:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(canonical_request_dest, "\n");
data/hdf5-1.12.0+repack/src/H5FDs3comms.c:2132:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(canonical_request_dest, "\n");
data/hdf5-1.12.0+repack/src/H5Pdcpl.c:814:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                htri_t equal;
data/hdf5-1.12.0+repack/src/H5Pdcpl.c:828:25:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                    if(!equal)
data/hdf5-1.12.0+repack/src/H5Pdcpl.c:831:25:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                    if(!equal)
data/hdf5-1.12.0+repack/src/H5Pdcpl.c:848:25:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                    if(!equal)
data/hdf5-1.12.0+repack/src/H5Pdcpl.c:851:25:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                    if(!equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:3229:60:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            if((*(src->shared->u.vlen.cls->read))(src->shared->u.vlen.file, s, conv_buf, src_size) < 0)
data/hdf5-1.12.0+repack/src/H5Tconv.c:3264:68:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                    if((*(dst->shared->u.vlen.cls->read))(dst->shared->u.vlen.file, b, tmp_buf, bg_seq_len * dst_base_size) < 0)
data/hdf5-1.12.0+repack/src/H5Tconv.c:3642:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            if(src->shared->u.atomic.u.r.cls->read(
data/hdf5-1.12.0+repack/src/H5Tconv.c:7784:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7786:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7808:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7810:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7832:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7834:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7856:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7858:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7880:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7882:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7904:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7906:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7928:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7930:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7952:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7954:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7976:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:7978:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8000:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8002:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8024:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8026:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8048:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8050:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8072:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8074:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8096:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8098:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8120:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8122:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8144:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8146:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8168:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8170:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8192:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8194:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8216:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8218:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8240:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8242:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8264:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8266:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8288:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8290:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8312:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8314:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8336:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8338:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8360:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8362:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8384:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8386:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8408:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8410:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8432:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8434:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8457:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8459:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8483:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_OFF(float-equal)
data/hdf5-1.12.0+repack/src/H5Tconv.c:8485:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
H5_GCC_DIAG_ON(float-equal)
data/hdf5-1.12.0+repack/src/H5Tpkg.h:195:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    H5T_ref_readfunc_t      read;       /* read reference into buffer   */
data/hdf5-1.12.0+repack/src/H5Tpkg.h:294:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    H5T_vlen_read_func_t read;      /* Function to read VL sequence into buffer */
data/hdf5-1.12.0+repack/src/H5VLcallback.c:1194:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(NULL == cls->attr_cls.read)
data/hdf5-1.12.0+repack/src/H5VLcallback.c:1198:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if((cls->attr_cls.read)(obj, mem_type_id, buf, dxpl_id, req) < 0)
data/hdf5-1.12.0+repack/src/H5VLcallback.c:2041:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(NULL == cls->dataset_cls.read)
data/hdf5-1.12.0+repack/src/H5VLcallback.c:2045:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if((cls->dataset_cls.read)(obj, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, req) < 0)
data/hdf5-1.12.0+repack/src/H5VLconnector.h:316:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    herr_t (*read)(void *attr, hid_t mem_type_id, void *buf, hid_t dxpl_id, void **req);
data/hdf5-1.12.0+repack/src/H5VLconnector.h:333:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    herr_t (*read)(void *dset, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id,
data/hdf5-1.12.0+repack/src/H5VLpassthru.c:596:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        under_vol_str_len = strlen(under_vol_string);
data/hdf5-1.12.0+repack/src/H5VM.c:1450:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            goto equal;
data/hdf5-1.12.0+repack/src/H5VM.c:1492:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            goto equal;
data/hdf5-1.12.0+repack/src/H5VM.c:1496:1:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
equal:
data/hdf5-1.12.0+repack/src/H5VM.c:1662:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            goto equal;
data/hdf5-1.12.0+repack/src/H5VM.c:1705:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            goto equal;
data/hdf5-1.12.0+repack/src/H5VM.c:1709:1:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
equal:
data/hdf5-1.12.0+repack/src/H5detect.c:324:35:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            H5_GCC_DIAG_OFF(float-equal)                                      \
data/hdf5-1.12.0+repack/src/H5detect.c:327:34:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            H5_GCC_DIAG_ON(float-equal)                                       \
data/hdf5-1.12.0+repack/src/H5detect.c:433:31:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        H5_GCC_DIAG_OFF(float-equal)                          \
data/hdf5-1.12.0+repack/src/H5detect.c:436:30:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        H5_GCC_DIAG_ON(float-equal)                           \
data/hdf5-1.12.0+repack/src/H5private.h:823:27:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    #define HDfgetc(F)    fgetc(F)
data/hdf5-1.12.0+repack/src/H5private.h:943:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    #define HDgetc(F)    getc(F)
data/hdf5-1.12.0+repack/src/H5private.h:946:28:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    #define HDgetchar()    getchar()
data/hdf5-1.12.0+repack/src/H5private.h:1236:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    #define HDread(F,M,Z)    read(F,M,Z)
data/hdf5-1.12.0+repack/src/H5private.h:1384:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    #define HDstrlen(S)    strlen(S)
data/hdf5-1.12.0+repack/src/H5private.h:1387:31:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    #define HDstrncat(X,Y,Z)  strncat(X,Y,Z)
data/hdf5-1.12.0+repack/src/H5private.h:1393:31:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    #define HDstrncpy(X,Y,Z)  strncpy(X,Y,Z)
data/hdf5-1.12.0+repack/src/H5private.h:1501:27:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    #define HDumask(N)    umask(N)
data/hdf5-1.12.0+repack/test/atomic_reader.c:126:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if((bytes_read = read(fd, buf, (k * sizeof(unsigned int)))) < 0) {
data/hdf5-1.12.0+repack/test/filter_plugin.c:212:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (allocate_and_init_2D_array(&read, sizes_g, NULL) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:245:66:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (H5Dread(did, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, dxpl_id, *read) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:249:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (compare_2D_arrays(orig, read, sizes_g, &are_same) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:280:66:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (H5Dread(did, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, dxpl_id, *read) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:284:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (compare_2D_arrays(orig, read, sizes_g, &are_same) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:308:66:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (H5Dread(did, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, dxpl_id, *read) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:312:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (compare_2D_arrays(orig, read, sizes_g, &are_same) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:332:66:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (H5Dread(did, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, dxpl_id, *read) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:336:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (compare_2D_arrays(orig, read, sizes_g, &are_same) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:368:58:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (H5Dread(did, H5T_NATIVE_INT, sid, sid, dxpl_id, *read) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:372:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (compare_2D_arrays(orig, read, sizes_g, &are_same) < 0)
data/hdf5-1.12.0+repack/test/filter_plugin.c:406:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    free_2D_array(&read);
data/hdf5-1.12.0+repack/test/filter_plugin.c:423:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    free_2D_array(&read);
data/hdf5-1.12.0+repack/test/lheap.c:109:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(UFAIL == (obj[i] = H5HL_insert(f, heap, strlen(buf) + 1, buf))) {
data/hdf5-1.12.0+repack/test/tmisc.c:2800:144:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            TestErrPrintf("Line %u: VL data length don't match!, strlen(wdata[%d])=%d, strlen(rdata[%d])=%d\n",(unsigned)__LINE__, (int)i,(int)strlen(wdata[i]),(int)i,(int)strlen(rdata[i]));
data/hdf5-1.12.0+repack/test/tmisc.c:2800:173:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            TestErrPrintf("Line %u: VL data length don't match!, strlen(wdata[%d])=%d, strlen(rdata[%d])=%d\n",(unsigned)__LINE__, (int)i,(int)strlen(wdata[i]),(int)i,(int)strlen(rdata[i]));
data/hdf5-1.12.0+repack/test/tmisc.c:2882:144:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            TestErrPrintf("Line %u: VL data length don't match!, strlen(wdata[%d])=%d, strlen(rdata[%d])=%d\n",(unsigned)__LINE__, (int)i,(int)strlen(wdata[i]),(int)i,(int)strlen(rdata[i]));
data/hdf5-1.12.0+repack/test/tmisc.c:2882:173:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            TestErrPrintf("Line %u: VL data length don't match!, strlen(wdata[%d])=%d, strlen(rdata[%d])=%d\n",(unsigned)__LINE__, (int)i,(int)strlen(wdata[i]),(int)i,(int)strlen(rdata[i]));
data/hdf5-1.12.0+repack/test/tvlstr.c:201:115:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            TestErrPrintf("VL data length don't match!, strlen(wdata[%d])=%d, strlen(rdata[%d])=%d\n",(int)i,(int)strlen(wdata[i]),(int)i,(int)HDstrlen(rdata[i]));
data/hdf5-1.12.0+repack/test/tvlstr.c:303:115:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            TestErrPrintf("VL data length don't match!, strlen(wdata[%d])=%d, strlen(rdata[%d])=%d\n",(int)i,(int)strlen(wdata[i]),(int)i,(int)HDstrlen(rdata[i]));
data/hdf5-1.12.0+repack/test/tvlstr.c:530:115:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            TestErrPrintf("VL data length don't match!, strlen(wdata[%d])=%d, strlen(rdata[%d])=%d\n",(int)i,(int)strlen(wdata[i]),(int)i,(int)HDstrlen(rdata[i]));
data/hdf5-1.12.0+repack/tools/lib/h5trav.c:840:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if((strlen(buf)==1) && (*buf=='/'))
data/hdf5-1.12.0+repack/tools/src/h5diff/ph5diff_main.c:207:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    while((tmp = getc(overflow_file)) >= 0)
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1454:15:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    scanret = fscanf(strm, "%254s", key);
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1461:19:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
        scanret = fscanf(strm, "%254s", temp); /* filename */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1462:19:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
        scanret = fscanf(strm, "%254s", temp); /* start bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1463:19:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
        scanret = fscanf(strm, "%254s", key); /* DATASET */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1473:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1485:27:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                scanret = fscanf(strm, "%254s", temp); /* start bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1499:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1536:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) { /* start bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1543:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) { /* string properties */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1549:33:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                            if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1569:33:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                            if (fscanf(strm, "%254s", temp) != 1) { /* STRPAD type */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1578:33:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                            if (fscanf(strm, "%254s", temp) != 1) { /* CSET type */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1588:33:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                            if (fscanf(strm, "%254s", temp) != 1) { /* CTYPE type */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1596:29:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                        if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1615:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1631:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) { /* start bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1638:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) { /* start paren */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1649:29:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                        if (fscanf(strm, "%254s", temp) != 1) { /* Dimension with optional comma */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1659:33:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                            if (fscanf(strm, "%254s", temp) != 1) { /* Dimension or end paren */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1702:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1713:29:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                        if (fscanf(strm, "%254s", temp) != 1) { /* start paren */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1727:33:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                            if (fscanf(strm, "%254s", temp) != 1) { /* max dim with optional comma */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1746:37:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                                if (fscanf(strm, "%254s", temp) != 1) { /* max dim or end paren */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1777:35:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                        scanret = fscanf(strm, "%254s", temp); /* end bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1792:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) { /* start bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1799:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) { /* CHUNKED */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1811:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) { /* start paren */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1822:29:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                        if (fscanf(strm, "%254s", temp) != 1) { /* Dimension with optional comma */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1832:33:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                            if (fscanf(strm, "%254s", temp) != 1) { /* Dimension or end paren */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1864:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) { /* SIZE */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1881:29:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                        if (fscanf(strm, "%254s", temp) != 1) { /* end bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1896:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) { /* start bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1903:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1914:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) { /* DEFLATE */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1921:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) { /* bgin bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1928:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) { /* LEVEL */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1943:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) { /* end bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1965:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) { /* end bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1979:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) { /* start bracket */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1986:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) { /* SUBSET keyword */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:1996:29:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                        if (fscanf(strm, "%254s", temp) != 1) { /* start paren */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2007:33:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                            if (fscanf(strm, "%254s", temp) != 1) { /* Dimension with optional comma */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2017:37:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                                if (fscanf(strm, "%254s", temp) != 1) { /* Dimension or end paren */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2052:29:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                        if (fscanf(strm, "%254s", temp) != 1) { /* start paren */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2063:33:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                            if (fscanf(strm, "%254s", temp) != 1) { /* Dimension with optional comma */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2073:37:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                                if (fscanf(strm, "%254s", temp) != 1) { /* Dimension or end paren */
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2106:25:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2125:23:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
            scanret = fscanf(strm, "%254s", key);
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2166:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2183:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2408:23:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
            scanret = fscanf(strm, "%254s", key);
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:2579:9:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3472:9:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3603:9:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3635:9:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3666:9:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/src/h5import/h5import.c:3730:9:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if (fscanf(strm, "%254s", temp) != 1) {
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:106:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(fname)<=0)
data/hdf5-1.12.0+repack/tools/test/misc/h5perf_gentest.c:563:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    H5Tset_size (tid, strlen(s[0])+1);
data/hdf5-1.12.0+repack/tools/test/perform/perf.c:423:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(opt_file, optarg, 255);
data/hdf5-1.12.0+repack/tools/test/perform/perf.c:427:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(opt_pvfstab, optarg, 255);
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:126:33:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define HDfgetc(F)              fgetc(F)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:195:33:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define HDgetc(F)               getc(F)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:196:33:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define HDgetchar()             getchar()
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:315:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define HDread(F,M,Z)           read(F,M,Z)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:386:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define HDstrlen(S)             strlen(S)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:387:33:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
#define HDstrncat(X,Y,Z)        strncat(X,Y,Z)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:389:33:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
#define HDstrncpy(X,Y,Z)        strncpy(X,Y,Z)
data/hdf5-1.12.0+repack/tools/test/perform/pio_standalone.h:425:33:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
#define HDumask(N)              umask(N)
data/hdf5-1.12.0+repack/tools/test/perform/sio_engine.c:375:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (strlen(base_name) >= size) {
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:141:33:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define HDfgetc(F)              fgetc(F)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:210:33:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define HDgetc(F)               getc(F)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:211:33:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define HDgetchar()             getchar()
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:330:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define HDread(F,M,Z)           read(F,M,Z)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:401:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define HDstrlen(S)             strlen(S)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:402:33:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
#define HDstrncat(X,Y,Z)        strncat(X,Y,Z)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:404:33:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
#define HDstrncpy(X,Y,Z)        strncpy(X,Y,Z)
data/hdf5-1.12.0+repack/tools/test/perform/sio_standalone.h:440:33:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
#define HDumask(N)              umask(N)

ANALYSIS SUMMARY:

Hits = 2880
Lines analyzed = 1057331 in approximately 29.59 seconds (35731 lines/second)
Physical Source Lines of Code (SLOC) = 578303
Hits@level = [0] 906 [1] 314 [2] 2351 [3]  47 [4] 159 [5]   9
Hits@level+ = [0+] 3786 [1+] 2880 [2+] 2566 [3+] 215 [4+] 168 [5+]   9
Hits/KSLOC@level+ = [0+] 6.54674 [1+] 4.98009 [2+] 4.43712 [3+] 0.371777 [4+] 0.290505 [5+] 0.0155628
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.