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/libisal-2.29.0/crc/aarch64/crc32_gzip_refl_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc32_ieee_norm_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc32_iscsi_refl_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc32_norm_common_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc32_refl_common_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc64_ecma_norm_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc64_ecma_refl_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc64_iso_norm_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc64_iso_refl_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc64_jones_norm_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc64_jones_refl_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc64_norm_common_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc64_refl_common_pmull.h
Examining data/libisal-2.29.0/crc/aarch64/crc_aarch64_dispatcher.c
Examining data/libisal-2.29.0/crc/aarch64/crc_common_pmull.h
Examining data/libisal-2.29.0/crc/crc16_t10dif_copy_perf.c
Examining data/libisal-2.29.0/crc/crc16_t10dif_copy_test.c
Examining data/libisal-2.29.0/crc/crc16_t10dif_op_perf.c
Examining data/libisal-2.29.0/crc/crc16_t10dif_perf.c
Examining data/libisal-2.29.0/crc/crc16_t10dif_test.c
Examining data/libisal-2.29.0/crc/crc32_funcs_test.c
Examining data/libisal-2.29.0/crc/crc32_gzip_refl_perf.c
Examining data/libisal-2.29.0/crc/crc32_ieee_perf.c
Examining data/libisal-2.29.0/crc/crc32_iscsi_perf.c
Examining data/libisal-2.29.0/crc/crc64_base.c
Examining data/libisal-2.29.0/crc/crc64_example.c
Examining data/libisal-2.29.0/crc/crc64_funcs_perf.c
Examining data/libisal-2.29.0/crc/crc64_funcs_test.c
Examining data/libisal-2.29.0/crc/crc64_ref.h
Examining data/libisal-2.29.0/crc/crc_base.c
Examining data/libisal-2.29.0/crc/crc_base_aliases.c
Examining data/libisal-2.29.0/crc/crc_ref.h
Examining data/libisal-2.29.0/crc/crc_simple_test.c
Examining data/libisal-2.29.0/erasure_code/aarch64/ec_aarch64_dispatcher.c
Examining data/libisal-2.29.0/erasure_code/aarch64/ec_aarch64_highlevel_func.c
Examining data/libisal-2.29.0/erasure_code/ec_base.c
Examining data/libisal-2.29.0/erasure_code/ec_base.h
Examining data/libisal-2.29.0/erasure_code/ec_base_aliases.c
Examining data/libisal-2.29.0/erasure_code/ec_highlevel_func.c
Examining data/libisal-2.29.0/erasure_code/erasure_code_base_perf.c
Examining data/libisal-2.29.0/erasure_code/erasure_code_base_test.c
Examining data/libisal-2.29.0/erasure_code/erasure_code_perf.c
Examining data/libisal-2.29.0/erasure_code/erasure_code_test.c
Examining data/libisal-2.29.0/erasure_code/erasure_code_update_perf.c
Examining data/libisal-2.29.0/erasure_code/erasure_code_update_test.c
Examining data/libisal-2.29.0/erasure_code/gen_rs_matrix_limits.c
Examining data/libisal-2.29.0/erasure_code/gf_2vect_dot_prod_sse_test.c
Examining data/libisal-2.29.0/erasure_code/gf_3vect_dot_prod_sse_test.c
Examining data/libisal-2.29.0/erasure_code/gf_4vect_dot_prod_sse_test.c
Examining data/libisal-2.29.0/erasure_code/gf_5vect_dot_prod_sse_test.c
Examining data/libisal-2.29.0/erasure_code/gf_6vect_dot_prod_sse_test.c
Examining data/libisal-2.29.0/erasure_code/gf_inverse_test.c
Examining data/libisal-2.29.0/erasure_code/gf_vect_dot_prod_1tbl.c
Examining data/libisal-2.29.0/erasure_code/gf_vect_dot_prod_base_test.c
Examining data/libisal-2.29.0/erasure_code/gf_vect_dot_prod_perf.c
Examining data/libisal-2.29.0/erasure_code/gf_vect_dot_prod_test.c
Examining data/libisal-2.29.0/erasure_code/gf_vect_mad_test.c
Examining data/libisal-2.29.0/erasure_code/gf_vect_mul_base_test.c
Examining data/libisal-2.29.0/erasure_code/gf_vect_mul_perf.c
Examining data/libisal-2.29.0/erasure_code/gf_vect_mul_test.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/ec_base_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/ec_base_vsx.h
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_2vect_dot_prod_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_2vect_mad_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_dot_prod_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_mad_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_dot_prod_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_mad_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_mad_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_mad_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_vect_dot_prod_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_vect_mad_vsx.c
Examining data/libisal-2.29.0/erasure_code/ppc64le/gf_vect_mul_vsx.c
Examining data/libisal-2.29.0/examples/ec/ec_piggyback_example.c
Examining data/libisal-2.29.0/examples/ec/ec_simple_example.c
Examining data/libisal-2.29.0/igzip/aarch64/bitbuf2_aarch64.h
Examining data/libisal-2.29.0/igzip/aarch64/data_struct_aarch64.h
Examining data/libisal-2.29.0/igzip/aarch64/huffman_aarch64.h
Examining data/libisal-2.29.0/igzip/aarch64/igzip_multibinary_aarch64_dispatcher.c
Examining data/libisal-2.29.0/igzip/aarch64/lz0a_const_aarch64.h
Examining data/libisal-2.29.0/igzip/aarch64/options_aarch64.h
Examining data/libisal-2.29.0/igzip/aarch64/stdmac_aarch64.h
Examining data/libisal-2.29.0/igzip/adler32_base.c
Examining data/libisal-2.29.0/igzip/adler32_perf.c
Examining data/libisal-2.29.0/igzip/bitbuf2.h
Examining data/libisal-2.29.0/igzip/checksum32_funcs_test.c
Examining data/libisal-2.29.0/igzip/checksum_test_ref.h
Examining data/libisal-2.29.0/igzip/encode_df.c
Examining data/libisal-2.29.0/igzip/encode_df.h
Examining data/libisal-2.29.0/igzip/flatten_ll.c
Examining data/libisal-2.29.0/igzip/flatten_ll.h
Examining data/libisal-2.29.0/igzip/generate_custom_hufftables.c
Examining data/libisal-2.29.0/igzip/generate_static_inflate.c
Examining data/libisal-2.29.0/igzip/huff_codes.c
Examining data/libisal-2.29.0/igzip/huff_codes.h
Examining data/libisal-2.29.0/igzip/huffman.h
Examining data/libisal-2.29.0/igzip/hufftables_c.c
Examining data/libisal-2.29.0/igzip/igzip.c
Examining data/libisal-2.29.0/igzip/igzip_base.c
Examining data/libisal-2.29.0/igzip/igzip_base_aliases.c
Examining data/libisal-2.29.0/igzip/igzip_build_hash_table_perf.c
Examining data/libisal-2.29.0/igzip/igzip_checksums.h
Examining data/libisal-2.29.0/igzip/igzip_example.c
Examining data/libisal-2.29.0/igzip/igzip_file_perf.c
Examining data/libisal-2.29.0/igzip/igzip_hist_perf.c
Examining data/libisal-2.29.0/igzip/igzip_icf_base.c
Examining data/libisal-2.29.0/igzip/igzip_icf_body.c
Examining data/libisal-2.29.0/igzip/igzip_inflate.c
Examining data/libisal-2.29.0/igzip/igzip_inflate_test.c
Examining data/libisal-2.29.0/igzip/igzip_level_buf_structs.h
Examining data/libisal-2.29.0/igzip/igzip_perf.c
Examining data/libisal-2.29.0/igzip/igzip_rand_test.c
Examining data/libisal-2.29.0/igzip/igzip_semi_dyn_file_perf.c
Examining data/libisal-2.29.0/igzip/igzip_sync_flush_example.c
Examining data/libisal-2.29.0/igzip/igzip_wrapper.h
Examining data/libisal-2.29.0/igzip/igzip_wrapper_hdr_test.c
Examining data/libisal-2.29.0/igzip/inflate_std_vects.h
Examining data/libisal-2.29.0/igzip/proc_heap_base.c
Examining data/libisal-2.29.0/igzip/repeated_char_result.h
Examining data/libisal-2.29.0/igzip/static_inflate.h
Examining data/libisal-2.29.0/include/aarch64_multibinary.h
Examining data/libisal-2.29.0/include/crc.h
Examining data/libisal-2.29.0/include/crc64.h
Examining data/libisal-2.29.0/include/erasure_code.h
Examining data/libisal-2.29.0/include/gf_vect_mul.h
Examining data/libisal-2.29.0/include/igzip_lib.h
Examining data/libisal-2.29.0/include/mem_routines.h
Examining data/libisal-2.29.0/include/raid.h
Examining data/libisal-2.29.0/include/test.h
Examining data/libisal-2.29.0/include/types.h
Examining data/libisal-2.29.0/include/unaligned.h
Examining data/libisal-2.29.0/mem/aarch64/mem_aarch64_dispatcher.c
Examining data/libisal-2.29.0/mem/mem_zero_detect_base.c
Examining data/libisal-2.29.0/mem/mem_zero_detect_base_aliases.c
Examining data/libisal-2.29.0/mem/mem_zero_detect_perf.c
Examining data/libisal-2.29.0/mem/mem_zero_detect_test.c
Examining data/libisal-2.29.0/programs/igzip_cli.c
Examining data/libisal-2.29.0/raid/aarch64/raid_aarch64_dispatcher.c
Examining data/libisal-2.29.0/raid/pq_check_test.c
Examining data/libisal-2.29.0/raid/pq_gen_perf.c
Examining data/libisal-2.29.0/raid/pq_gen_test.c
Examining data/libisal-2.29.0/raid/raid_base.c
Examining data/libisal-2.29.0/raid/raid_base_aliases.c
Examining data/libisal-2.29.0/raid/xor_check_test.c
Examining data/libisal-2.29.0/raid/xor_example.c
Examining data/libisal-2.29.0/raid/xor_gen_perf.c
Examining data/libisal-2.29.0/raid/xor_gen_test.c
Examining data/libisal-2.29.0/tests/fuzz/igzip_checked_inflate_fuzz_test.c
Examining data/libisal-2.29.0/tests/fuzz/igzip_dump_inflate_corpus.c
Examining data/libisal-2.29.0/tests/fuzz/igzip_fuzz_inflate.c
Examining data/libisal-2.29.0/tests/fuzz/igzip_simple_inflate_fuzz_test.c
Examining data/libisal-2.29.0/tests/fuzz/igzip_simple_round_trip_fuzz_test.c
Examining data/libisal-2.29.0/debian/tests/crc.c

FINAL RESULTS:

data/libisal-2.29.0/erasure_code/erasure_code_update_perf.c:153:2:  [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(xstr(FUNCTION_UNDER_TEST) "_perf: %dx%d %d\n", m, TEST_LEN(m), nerrs);
data/libisal-2.29.0/erasure_code/erasure_code_update_perf.c:224:2:  [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(xstr(REF_FUNCTION) TEST_TYPE_STR ": ");
data/libisal-2.29.0/erasure_code/erasure_code_update_perf.c:231:2:  [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(xstr(FUNCTION_UNDER_TEST) TEST_TYPE_STR ": ");
data/libisal-2.29.0/erasure_code/erasure_code_update_perf.c:240:2:  [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(xstr(FUNCTION_UNDER_TEST) "_single_src" TEST_TYPE_STR ": ");
data/libisal-2.29.0/erasure_code/erasure_code_update_perf.c:248:2:  [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(xstr(FUNCTION_UNDER_TEST) "_single_src_simple" TEST_TYPE_STR ": ");
data/libisal-2.29.0/erasure_code/erasure_code_update_perf.c:276:2:  [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(xstr(FUNCTION_UNDER_TEST) "_decode" TEST_TYPE_STR ": ");
data/libisal-2.29.0/erasure_code/gf_2vect_dot_prod_sse_test.c:123:2:  [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(xstr(FUNCTION_UNDER_TEST) ": %dx%d ", TEST_SOURCES, TEST_LEN);
data/libisal-2.29.0/erasure_code/gf_3vect_dot_prod_sse_test.c:122:2:  [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(xstr(FUNCTION_UNDER_TEST) "_test: %dx%d ", TEST_SOURCES, TEST_LEN);
data/libisal-2.29.0/erasure_code/gf_4vect_dot_prod_sse_test.c:123:2:  [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(xstr(FUNCTION_UNDER_TEST) ": %dx%d ", TEST_SOURCES, TEST_LEN);
data/libisal-2.29.0/erasure_code/gf_5vect_dot_prod_sse_test.c:121:2:  [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(xstr(FUNCTION_UNDER_TEST) ": %dx%d ", TEST_SOURCES, TEST_LEN);
data/libisal-2.29.0/erasure_code/gf_6vect_dot_prod_sse_test.c:121:2:  [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(xstr(FUNCTION_UNDER_TEST) ": %dx%d ", TEST_SOURCES, TEST_LEN);
data/libisal-2.29.0/erasure_code/gf_vect_dot_prod_perf.c:105:2:  [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(xstr(FUNCTION_UNDER_TEST) ": %dx%d\n", TEST_SOURCES, TEST_LEN);
data/libisal-2.29.0/erasure_code/gf_vect_dot_prod_perf.c:159:2:  [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(xstr(FUNCTION_UNDER_TEST) TEST_TYPE_STR ": ");
data/libisal-2.29.0/erasure_code/gf_vect_dot_prod_test.c:121:2:  [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(xstr(FUNCTION_UNDER_TEST) ": %dx%d ", TEST_SOURCES, TEST_LEN);
data/libisal-2.29.0/igzip/igzip_rand_test.c:453:3:  [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.
		vfprintf(stdout, format, args);
data/libisal-2.29.0/include/types.h:68:25:  [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.
# define DEBUG_PRINT(x) printf x
data/libisal-2.29.0/mem/mem_zero_detect_test.c:224:2:  [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(failures == 0 ? " Pass\n" : " Fail\n");
data/libisal-2.29.0/programs/igzip_cli.c:255:3:  [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.
		vfprintf(stdout, format, args);
data/libisal-2.29.0/programs/igzip_cli.c:259:4:  [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.
			vfprintf(stderr, format, args);
data/libisal-2.29.0/programs/igzip_cli.c:263:4:  [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.
			vfprintf(stderr, format, args);
data/libisal-2.29.0/programs/igzip_cli.c:267:4:  [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.
			vfprintf(stderr, format, args);
data/libisal-2.29.0/programs/igzip_cli.c:330:7:  [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.
		if (access(file_name, F_OK) == 0) {
data/libisal-2.29.0/programs/igzip_cli.c:349:8:  [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.
			if (access(file_name, W_OK) != 0) {
data/libisal-2.29.0/programs/igzip_cli.c:358:7:  [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.
		if (access(file_name, F_OK) != 0) {
data/libisal-2.29.0/programs/igzip_cli.c:363:7:  [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.
		if (access(file_name, R_OK) != 0) {
data/libisal-2.29.0/crc/crc16_t10dif_copy_test.c:132:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/crc/crc16_t10dif_test.c:74:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/crc/crc32_funcs_test.c:116:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/crc/crc64_funcs_test.c:106:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/erasure_code/erasure_code_base_test.c:234:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/erasure_code/erasure_code_test.c:235:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/erasure_code/erasure_code_update_test.c:250:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/examples/ec/ec_piggyback_example.c:203:14:  [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, "k:p:l:e:r:hvbs")) != -1) {
data/libisal-2.29.0/examples/ec/ec_piggyback_example.c:221:4:  [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.
			srand(atoi(optarg));
data/libisal-2.29.0/examples/ec/ec_simple_example.c:83:14:  [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, "k:p:l:e:r:h")) != -1) {
data/libisal-2.29.0/examples/ec/ec_simple_example.c:101:4:  [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.
			srand(atoi(optarg));
data/libisal-2.29.0/igzip/checksum32_funcs_test.c:91:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/igzip/igzip_file_perf.c:158:14:  [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, "h0123456789i:b:o:d:w:")) != -1) {
data/libisal-2.29.0/igzip/igzip_perf.c:572:14:  [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, OPTARGS)) != -1) {
data/libisal-2.29.0/igzip/igzip_rand_test.c:169:14:  [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, optstring)) != -1) {
data/libisal-2.29.0/igzip/igzip_rand_test.c:2754:2:  [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.
	srand(options.test_seed);
data/libisal-2.29.0/igzip/igzip_semi_dyn_file_perf.c:188:14:  [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, "vht:c:s:o:")) != -1) {
data/libisal-2.29.0/igzip/igzip_wrapper_hdr_test.c:809:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/mem/mem_zero_detect_test.c:64:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/programs/igzip_cli.c:1008:14:  [3] (buffer) getopt_long:
  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_long(argc, argv, optstring, long_options, NULL)) != -1) {
data/libisal-2.29.0/raid/pq_check_test.c:83:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/raid/pq_gen_test.c:74:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/raid/xor_check_test.c:63:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/raid/xor_gen_test.c:61:2:  [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.
	srand(TEST_SEED);
data/libisal-2.29.0/crc/crc64_example.c:48:7:  [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).
	in = fopen(argv[1], "rb");
data/libisal-2.29.0/crc/crc_simple_test.c:41: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 p_buf[48];
data/libisal-2.29.0/erasure_code/erasure_code_base_perf.c:120: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(src_err_list, err_list, nerrs);
data/libisal-2.29.0/erasure_code/erasure_code_base_test.c:174:3:  [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(b, backup, MMAX * KMAX);
data/libisal-2.29.0/erasure_code/erasure_code_base_test.c:222: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 *temp_buffs[TEST_SOURCES], *buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_base_test.c:224: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 src_in_err[TEST_SOURCES], src_err_list[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_base_test.c:225: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 *recov[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_base_test.c:228: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 *efence_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_perf.c:122: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(src_err_list, err_list, nerrs);
data/libisal-2.29.0/erasure_code/erasure_code_test.c:175:3:  [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(b, backup, MMAX * KMAX);
data/libisal-2.29.0/erasure_code/erasure_code_test.c:223: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 *temp_buffs[TEST_SOURCES], *buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_test.c:225: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 src_in_err[TEST_SOURCES], src_err_list[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_test.c:226: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 *recov[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_test.c:229: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 *efence_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_update_perf.c:160: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(src_err_list, err_list, nerrs);
data/libisal-2.29.0/erasure_code/erasure_code_update_test.c:187:3:  [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(b, backup, MMAX * KMAX);
data/libisal-2.29.0/erasure_code/erasure_code_update_test.c:235: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 *temp_buffs[TEST_SOURCES], *buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_update_test.c:236: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 *update_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_update_test.c:238: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 src_in_err[TEST_SOURCES], src_err_list[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_update_test.c: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.
	unsigned char *recov[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_update_test.c:242: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 *efence_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/erasure_code_update_test.c:243: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 *efence_update_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/gen_rs_matrix_limits.c:56: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 matrix[COLS * COLS];
data/libisal-2.29.0/erasure_code/gen_rs_matrix_limits.c:57: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 invert_matrix[COLS * COLS];
data/libisal-2.29.0/erasure_code/gen_rs_matrix_limits.c:82: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 vmatrix[(ROWS + COLS) * COLS];
data/libisal-2.29.0/erasure_code/gf_2vect_dot_prod_sse_test.c:118: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 *efence_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/gf_3vect_dot_prod_sse_test.c:118: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 *efence_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/gf_4vect_dot_prod_sse_test.c:119: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 *efence_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/gf_5vect_dot_prod_sse_test.c:117: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 *efence_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/gf_6vect_dot_prod_sse_test.c:117: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 *efence_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/gf_inverse_test.c:97: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(sav, in, n * n);
data/libisal-2.29.0/erasure_code/gf_inverse_test.c:156: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(test_mat, test1, k * k);
data/libisal-2.29.0/erasure_code/gf_inverse_test.c:162: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(test_mat, test2, k * k);
data/libisal-2.29.0/erasure_code/gf_inverse_test.c:168: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(test_mat, test3, k * k);
data/libisal-2.29.0/erasure_code/gf_inverse_test.c:174: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(test_mat, test4, k * k);
data/libisal-2.29.0/erasure_code/gf_vect_dot_prod_test.c:116: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 *efence_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/gf_vect_mad_test.c:139: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 *efence_buffs[TEST_SOURCES];
data/libisal-2.29.0/erasure_code/ppc64le/gf_2vect_dot_prod_vsx.c:14:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[0 * 32 * vlen], src[0], (unsigned char *)dest[0]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_2vect_dot_prod_vsx.c:15:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[1 * 32 * vlen], src[0], (unsigned char *)dest[1]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_2vect_dot_prod_vsx.c:23: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.
	t0 = (unsigned char *)dest[0];
data/libisal-2.29.0/erasure_code/ppc64le/gf_2vect_dot_prod_vsx.c:24: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.
	t1 = (unsigned char *)dest[1];
data/libisal-2.29.0/erasure_code/ppc64le/gf_2vect_dot_prod_vsx.c:47: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.
			s = (unsigned char *)src[j];
data/libisal-2.29.0/erasure_code/ppc64le/gf_2vect_mad_vsx.c:14: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.
	t0 = (unsigned char *)dest[0];
data/libisal-2.29.0/erasure_code/ppc64le/gf_2vect_mad_vsx.c:15: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.
	t1 = (unsigned char *)dest[1];
data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_dot_prod_vsx.c:14:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[0 * 32 * vlen], src[0], (unsigned char *)dest[0]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_dot_prod_vsx.c:15:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[1 * 32 * vlen], src[0], (unsigned char *)dest[1]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_dot_prod_vsx.c:16:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[2 * 32 * vlen], src[0], (unsigned char *)dest[2]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_dot_prod_vsx.c:24: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.
	t0 = (unsigned char *)dest[0];
data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_dot_prod_vsx.c:25: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.
	t1 = (unsigned char *)dest[1];
data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_dot_prod_vsx.c:26: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.
	t2 = (unsigned char *)dest[2];
data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_dot_prod_vsx.c:55: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.
			s = (unsigned char *)src[j];
data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_mad_vsx.c:14: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.
	t0 = (unsigned char *)dest[0];
data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_mad_vsx.c:15: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.
	t1 = (unsigned char *)dest[1];
data/libisal-2.29.0/erasure_code/ppc64le/gf_3vect_mad_vsx.c:16: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.
	t2 = (unsigned char *)dest[2];
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_dot_prod_vsx.c:14:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[0 * 32 * vlen], src[0], (unsigned char *)dest[0]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_dot_prod_vsx.c:15:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[1 * 32 * vlen], src[0], (unsigned char *)dest[1]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_dot_prod_vsx.c:16:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[2 * 32 * vlen], src[0], (unsigned char *)dest[2]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_dot_prod_vsx.c:17:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[3 * 32 * vlen], src[0], (unsigned char *)dest[3]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_dot_prod_vsx.c:25: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.
	t0 = (unsigned char *)dest[0];
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_dot_prod_vsx.c:26: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.
	t1 = (unsigned char *)dest[1];
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_dot_prod_vsx.c:27: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.
	t2 = (unsigned char *)dest[2];
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_dot_prod_vsx.c:28: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.
	t3 = (unsigned char *)dest[3];
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_dot_prod_vsx.c:63: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.
			s = (unsigned char *)src[j];
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_mad_vsx.c:14: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.
	t0 = (unsigned char *)dest[0];
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_mad_vsx.c:15: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.
	t1 = (unsigned char *)dest[1];
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_mad_vsx.c:16: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.
	t2 = (unsigned char *)dest[2];
data/libisal-2.29.0/erasure_code/ppc64le/gf_4vect_mad_vsx.c:17: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.
	t3 = (unsigned char *)dest[3];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:14:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[0 * 32 * vlen], src[0], (unsigned char *)dest[0]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:15:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[1 * 32 * vlen], src[0], (unsigned char *)dest[1]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:16:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[2 * 32 * vlen], src[0], (unsigned char *)dest[2]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:17:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[3 * 32 * vlen], src[0], (unsigned char *)dest[3]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:18:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[4 * 32 * vlen], src[0], (unsigned char *)dest[4]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:26: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.
	t0 = (unsigned char *)dest[0];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:27: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.
	t1 = (unsigned char *)dest[1];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:28: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.
	t2 = (unsigned char *)dest[2];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:29: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.
	t3 = (unsigned char *)dest[3];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:30: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.
	t4 = (unsigned char *)dest[4];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_dot_prod_vsx.c:71: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.
			s = (unsigned char *)src[j];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_mad_vsx.c:14: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.
	t0 = (unsigned char *)dest[0];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_mad_vsx.c:15: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.
	t1 = (unsigned char *)dest[1];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_mad_vsx.c:16: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.
	t2 = (unsigned char *)dest[2];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_mad_vsx.c:17: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.
	t3 = (unsigned char *)dest[3];
data/libisal-2.29.0/erasure_code/ppc64le/gf_5vect_mad_vsx.c:18: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.
	t4 = (unsigned char *)dest[4];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:15:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[0 * 32 * vlen], src[0], (unsigned char *)dest[0]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:16:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[1 * 32 * vlen], src[0], (unsigned char *)dest[1]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:17:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[2 * 32 * vlen], src[0], (unsigned char *)dest[2]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:18:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[3 * 32 * vlen], src[0], (unsigned char *)dest[3]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:19:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[4 * 32 * vlen], src[0], (unsigned char *)dest[4]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:20:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		gf_vect_mul_vsx(len, &gftbls[5 * 32 * vlen], src[0], (unsigned char *)dest[5]);
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:28: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.
	t0 = (unsigned char *)dest[0];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:29: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.
	t1 = (unsigned char *)dest[1];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:30: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.
	t2 = (unsigned char *)dest[2];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:31: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.
	t3 = (unsigned char *)dest[3];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:32: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.
	t4 = (unsigned char *)dest[4];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:33: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.
	t5 = (unsigned char *)dest[5];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_dot_prod_vsx.c:80: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.
			s = (unsigned char *)src[j];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_mad_vsx.c:15: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.
	t0 = (unsigned char *)dest[0];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_mad_vsx.c:16: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.
	t1 = (unsigned char *)dest[1];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_mad_vsx.c:17: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.
	t2 = (unsigned char *)dest[2];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_mad_vsx.c:18: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.
	t3 = (unsigned char *)dest[3];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_mad_vsx.c:19: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.
	t4 = (unsigned char *)dest[4];
data/libisal-2.29.0/erasure_code/ppc64le/gf_6vect_mad_vsx.c:20: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.
	t5 = (unsigned char *)dest[5];
data/libisal-2.29.0/erasure_code/ppc64le/gf_vect_dot_prod_vsx.c:48: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.
			s = (unsigned char *)src[j];
data/libisal-2.29.0/examples/ec/ec_piggyback_example.c:206:8:  [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).
			k = atoi(optarg);
data/libisal-2.29.0/examples/ec/ec_piggyback_example.c:209:8:  [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).
			p = atoi(optarg);
data/libisal-2.29.0/examples/ec/ec_piggyback_example.c:212:10:  [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).
			len = atoi(optarg);
data/libisal-2.29.0/examples/ec/ec_piggyback_example.c:217:8:  [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).
			e = atoi(optarg);
data/libisal-2.29.0/examples/ec/ec_piggyback_example.c:221:10:  [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).
			srand(atoi(optarg));
data/libisal-2.29.0/examples/ec/ec_piggyback_example.c:362: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(&encode_matrix_faster[k * i], &encode_matrix[k2 * j], k);
data/libisal-2.29.0/examples/ec/ec_simple_example.c:86:8:  [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).
			k = atoi(optarg);
data/libisal-2.29.0/examples/ec/ec_simple_example.c:89:8:  [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).
			p = atoi(optarg);
data/libisal-2.29.0/examples/ec/ec_simple_example.c:92:10:  [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).
			len = atoi(optarg);
data/libisal-2.29.0/examples/ec/ec_simple_example.c:97:8:  [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).
			e = atoi(optarg);
data/libisal-2.29.0/examples/ec/ec_simple_example.c:101:10:  [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).
			srand(atoi(optarg));
data/libisal-2.29.0/igzip/generate_custom_hufftables.c:254:10:  [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 = fopen(argv[argc - 1], "r");
data/libisal-2.29.0/igzip/generate_custom_hufftables.c:287: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).
	file = fopen("hufftables_c.c", "w");
data/libisal-2.29.0/igzip/generate_static_inflate.c:130: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).
	file = fopen(STATIC_INFLATE_FILE, "w");
data/libisal-2.29.0/igzip/huff_codes.c:1628: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(&bb_tmp, bb, sizeof(struct BitBuf2));
data/libisal-2.29.0/igzip/huff_codes.c:1685:3:  [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(hufftables, &static_hufftables, sizeof(struct hufftables_icf));
data/libisal-2.29.0/igzip/huff_codes.c:1686:3:  [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(bb, &bb_tmp, sizeof(struct BitBuf2));
data/libisal-2.29.0/igzip/igzip.c:385: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(&write_buf_tmp, write_buf, sizeof(struct BitBuf2));
data/libisal-2.29.0/igzip/igzip.c:432:3:  [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(write_buf, &write_buf_tmp, sizeof(struct BitBuf2));
data/libisal-2.29.0/igzip/igzip.c:440:3:  [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(write_buf, &write_buf_tmp, sizeof(struct BitBuf2));
data/libisal-2.29.0/igzip/igzip.c:564:3:  [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(stream->next_out, state->tmp_out_buff + state->tmp_out_start, size);
data/libisal-2.29.0/igzip/igzip.c:614: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(stream->next_out, state->tmp_out_buff, size);
data/libisal-2.29.0/igzip/igzip.c:645: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(stream->next_out, repeated_char_header[repeated_char & 1], HEADER_LENGTH);
data/libisal-2.29.0/igzip/igzip.c:812:3:  [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(stream->next_out, &stored_blk_hdr, memcpy_len);
data/libisal-2.29.0/igzip/igzip.c:820:3:  [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(stream->next_out, &stored_blk_hdr, memcpy_len);
data/libisal-2.29.0/igzip/igzip.c:859: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(stream->next_out, next_in, copy_size);
data/libisal-2.29.0/igzip/igzip.c:862: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(stream->next_out, next_in, copy_size);
data/libisal-2.29.0/igzip/igzip.c:1112:3:  [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(out_buf, gz_hdr->extra, gz_hdr->extra_len);
data/libisal-2.29.0/igzip/igzip.c:1117:3:  [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(out_buf, gz_hdr->name, name_len);
data/libisal-2.29.0/igzip/igzip.c:1122:3:  [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(out_buf, gz_hdr->comment, comment_len);
data/libisal-2.29.0/igzip/igzip.c:1259: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(state->buffer, dict, dict_len);
data/libisal-2.29.0/igzip/igzip.c:1504: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(&state->buffer[state->b_bytes_valid], stream->next_in, size);
data/libisal-2.29.0/igzip/igzip.c:1605:3:  [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(&state->buffer[state->b_bytes_valid], stream->next_in, future_size);
data/libisal-2.29.0/igzip/igzip.c:1644: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(stream->next_out, hdr, hdr_bytes);
data/libisal-2.29.0/igzip/igzip.c:1677: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(stream->next_out, hdr + state->count, bytes_to_write);
data/libisal-2.29.0/igzip/igzip.c:1701: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(stream->next_out, hufftables->deflate_hdr, hufftables->deflate_hdr_count);
data/libisal-2.29.0/igzip/igzip.c:1824:3:  [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(stream->next_out, deflate_hdr + state->count, count);
data/libisal-2.29.0/igzip/igzip_example.c:52:7:  [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).
	in = fopen(argv[1], "rb");
data/libisal-2.29.0/igzip/igzip_example.c:57:8:  [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).
	out = fopen(argv[2], "wb");
data/libisal-2.29.0/igzip/igzip_file_perf.c:177:11:  [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).
			time = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_file_perf.c:182:17:  [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).
			inbuf_size = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_file_perf.c:185:16:  [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).
			hist_bits = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_file_perf.c:198:8:  [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).
		in = fopen(in_file_name, "rb");
data/libisal-2.29.0/igzip/igzip_file_perf.c:207: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).
		out = fopen(out_file_name, "wb");
data/libisal-2.29.0/igzip/igzip_file_perf.c:216:10:  [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).
		dict = fopen(dict_file_name, "rb");
data/libisal-2.29.0/igzip/igzip_hist_perf.c:85:7:  [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).
	in = fopen(argv[1], "rb");
data/libisal-2.29.0/igzip/igzip_inflate.c:386: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(count, expand_count, sizeof(*count) * MAX_LIT_LEN_COUNT);
data/libisal-2.29.0/igzip/igzip_inflate.c:388: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(tmp_table, &lit_len_huff[ISAL_DEF_LIT_SYMBOLS],
data/libisal-2.29.0/igzip/igzip_inflate.c:492:3:  [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(short_code_lookup + copy_size, short_code_lookup,
data/libisal-2.29.0/igzip/igzip_inflate.c:721:3:  [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(short_code_lookup + copy_size, short_code_lookup,
data/libisal-2.29.0/igzip/igzip_inflate.c:864:3:  [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(short_code_lookup + copy_size, short_code_lookup,
data/libisal-2.29.0/igzip/igzip_inflate.c:940: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(&state->lit_huff_code, &static_lit_huff_code, sizeof(static_lit_huff_code));
data/libisal-2.29.0/igzip/igzip_inflate.c:941: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(&state->dist_huff_code, &static_dist_huff_code, sizeof(static_dist_huff_code));
data/libisal-2.29.0/igzip/igzip_inflate.c:1464:3:  [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(&state->tmp_in_buffer[state->tmp_in_size], state->next_in, copy_size);
data/libisal-2.29.0/igzip/igzip_inflate.c:1484:3:  [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(&state->tmp_in_buffer[state->tmp_in_size], next_in_start,
data/libisal-2.29.0/igzip/igzip_inflate.c:1516: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(state->next_out, &state->read_in, bytes);
data/libisal-2.29.0/igzip/igzip_inflate.c:1529: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(state->next_out, &state->read_in, len);
data/libisal-2.29.0/igzip/igzip_inflate.c:1542: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(state->next_out, state->next_in, len);
data/libisal-2.29.0/igzip/igzip_inflate.c:1685:6:  [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(state->next_out,
data/libisal-2.29.0/igzip/igzip_inflate.c:1763:3:  [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(state->tmp_in_buffer + tmp_in_size, state->next_in, state->avail_in);
data/libisal-2.29.0/igzip/igzip_inflate.c:1774:3:  [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(state->tmp_in_buffer + tmp_in_size, state->next_in,
data/libisal-2.29.0/igzip/igzip_inflate.c:1796:3:  [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, state->next_in, buf_len);
data/libisal-2.29.0/igzip/igzip_inflate.c:1803: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, state->next_in, len);
data/libisal-2.29.0/igzip/igzip_inflate.c:1826:3:  [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_buf, state->next_in, len);
data/libisal-2.29.0/igzip/igzip_inflate.c:2125: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(state->tmp_out_buffer, dict, dict_len);
data/libisal-2.29.0/igzip/igzip_inflate.c:2319:3:  [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(state->next_out,
data/libisal-2.29.0/igzip/igzip_inflate.c:2366: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(state->tmp_out_buffer,
data/libisal-2.29.0/igzip/igzip_inflate_test.c:89: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(comp_tmp, compress_buf + comp_processed, comp_tmp_size);
data/libisal-2.29.0/igzip/igzip_inflate_test.c:100: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(uncompress_buf + uncomp_processed, uncomp_tmp,
data/libisal-2.29.0/igzip/igzip_inflate_test.c:133: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(uncompress_buf + uncomp_processed, uncomp_tmp, uncomp_tmp_size);
data/libisal-2.29.0/igzip/igzip_inflate_test.c:239:10:  [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 = fopen(argv[i], "r");
data/libisal-2.29.0/igzip/igzip_perf.c:581:27:  [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).
			compress_strat.level = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_perf.c:597:27:  [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).
			compress_strat.level = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_perf.c:613:27:  [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).
			compress_strat.level = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_perf.c:622: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).
			info.inflate_time = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_perf.c:627: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).
			info.deflate_time = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_perf.c:642: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).
			info.inblock_size = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_perf.c:645: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).
			info.flush_type = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_perf.c:654: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).
			info.hist_bits = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_perf.c:682:7:  [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).
	in = fopen(info.file_name, "rb");
data/libisal-2.29.0/igzip/igzip_perf.c:780:10:  [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).
			out = fopen(outfile, "wb");
data/libisal-2.29.0/igzip/igzip_rand_test.c:175: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).
			options.randoms = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_rand_test.c:178: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).
			options.test_seed = atoi(optarg);
data/libisal-2.29.0/igzip/igzip_rand_test.c:280: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(data, data - distance, length);
data/libisal-2.29.0/igzip/igzip_rand_test.c:298: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(dict, buf, dict_chunk_size);
data/libisal-2.29.0/igzip/igzip_rand_test.c:711: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(comp_tmp, compress_buf + comp_processed, comp_tmp_size);
data/libisal-2.29.0/igzip/igzip_rand_test.c:722: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(uncompress_buf + uncomp_processed, uncomp_tmp,
data/libisal-2.29.0/igzip/igzip_rand_test.c:775: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(uncompress_buf + uncomp_processed, uncomp_tmp, uncomp_tmp_size);
data/libisal-2.29.0/igzip/igzip_rand_test.c:1179:6:  [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(in_buf, data + in_processed, in_size);
data/libisal-2.29.0/igzip/igzip_rand_test.c:1204: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(compressed_buf + out_processed, out_buf,
data/libisal-2.29.0/igzip/igzip_rand_test.c:1249: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(compressed_buf + out_processed, out_buf, out_size);
data/libisal-2.29.0/igzip/igzip_rand_test.c:1255: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(compressed_buf + out_processed, out_buf, out_size);
data/libisal-2.29.0/igzip/igzip_rand_test.c:1674: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(in_buf, data + in_processed, in_size);
data/libisal-2.29.0/igzip/igzip_rand_test.c:1812: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(in_buf, data + in_processed, in_size);
data/libisal-2.29.0/igzip/igzip_rand_test.c:1972:3:  [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(in_buf, in_data, in_size);
data/libisal-2.29.0/igzip/igzip_rand_test.c:2631:12:  [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).
	in_file = fopen(file_name, "rb");
data/libisal-2.29.0/igzip/igzip_rand_test.c:2690:10:  [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 = fopen(files[i], "r");
data/libisal-2.29.0/igzip/igzip_rand_test.c:2893: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(in_buf, str1, sizeof(str1));
data/libisal-2.29.0/igzip/igzip_rand_test.c:2898: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(in_buf, str2, sizeof(str2));
data/libisal-2.29.0/igzip/igzip_rand_test.c:2926: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(in_buf, str1, sizeof(str1));
data/libisal-2.29.0/igzip/igzip_rand_test.c:2931: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(in_buf, str2, sizeof(str2));
data/libisal-2.29.0/igzip/igzip_rand_test.c:2959: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(in_buf, str1, sizeof(str1));
data/libisal-2.29.0/igzip/igzip_rand_test.c:2964: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(in_buf, str2, sizeof(str2));
data/libisal-2.29.0/igzip/igzip_semi_dyn_file_perf.c:64:10:  [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).
	int i = atoi(s);
data/libisal-2.29.0/igzip/igzip_semi_dyn_file_perf.c:194:8:  [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 (atoi(optarg) == 1) {
data/libisal-2.29.0/igzip/igzip_semi_dyn_file_perf.c:217: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).
		if (!(in = fopen(argv[optind], "rb"))) {
data/libisal-2.29.0/igzip/igzip_semi_dyn_file_perf.c:226:15:  [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 (!(out = fopen(out_file_name, "wb"))) {
data/libisal-2.29.0/igzip/igzip_sync_flush_example.c:48:7:  [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).
	in = fopen(argv[1], "rb");
data/libisal-2.29.0/igzip/igzip_sync_flush_example.c:53:8:  [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).
	out = fopen(argv[2], "wb");
data/libisal-2.29.0/include/unaligned.h:61: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(buf, &val, sizeof(val));
data/libisal-2.29.0/include/unaligned.h:65: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(buf, &val, sizeof(val));
data/libisal-2.29.0/include/unaligned.h:69: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(buf, &val, sizeof(val));
data/libisal-2.29.0/include/unaligned.h:73: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(buf, &val, sizeof(val));
data/libisal-2.29.0/programs/igzip_cli.c:369: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).
	file = fopen(file_name, mode);
data/libisal-2.29.0/programs/igzip_cli.c:901:3:  [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(outfile_name, infile_name, outfile_name_len);
data/libisal-2.29.0/programs/igzip_cli.c:1074:8:  [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).
			c = atoi(optarg);
data/libisal-2.29.0/raid/pq_check_test.c:78: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 *tmp_buf[TEST_SOURCES + 2];
data/libisal-2.29.0/raid/pq_check_test.c:106: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 *)(buffs[0]))[TEST_LEN - 2] = 0x7;	// corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:112: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 *)(buffs[0]))[TEST_LEN - 2] = 0;	// un-corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:117: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 *)buffs[j])[i] = 0x5;	// corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:124: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 *)buffs[j])[i] = 0;	// un-corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:140: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.
	c = ((char *)(buffs[0]))[TEST_LEN - 2];
data/libisal-2.29.0/raid/pq_check_test.c:141: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 *)(buffs[0]))[TEST_LEN - 2] = c ^ 0x1;
data/libisal-2.29.0/raid/pq_check_test.c:147: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 *)(buffs[0]))[TEST_LEN - 2] = c;	// un-corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:161: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.
			c = ((char *)buffs[j])[i];
data/libisal-2.29.0/raid/pq_check_test.c:162: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 *)buffs[j])[i] = c ^ 1;	// corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:169: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 *)buffs[j])[i] = c;	// un-corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:194: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.
				c = ((char *)buffs[i])[k];
data/libisal-2.29.0/raid/pq_check_test.c:195: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 *)buffs[i])[k] = c ^ 1;	// corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:205: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 *)buffs[i])[k] = c;	// un-corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:237: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.
					tmp = (char *)buffs[serr];
data/libisal-2.29.0/raid/pq_check_test.c:239: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.
					((char *)buffs[serr])[lerr] = c ^ 1;	// corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:250: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.
					((char *)buffs[serr])[lerr] = c;	// un-corrupt buffer
data/libisal-2.29.0/raid/pq_check_test.c:263: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.
			tmp_buf[j] = (char *)buffs[j] + i;
data/libisal-2.29.0/raid/pq_gen_test.c:70: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 *tmp_buf[TEST_SOURCES + 2];
data/libisal-2.29.0/raid/pq_gen_test.c:94: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.
		if (((char *)buffs[TEST_SOURCES])[i] != 0)
data/libisal-2.29.0/raid/pq_gen_test.c:99: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.
		if (((char *)buffs[TEST_SOURCES + 1])[i] != 0)
data/libisal-2.29.0/raid/pq_gen_test.c:173: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.
			tmp_buf[j] = (char *)buffs[j] + k;
data/libisal-2.29.0/raid/xor_check_test.c:59: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 *tmp_buf[TEST_SOURCES + 1];
data/libisal-2.29.0/raid/xor_check_test.c:86: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 *)(buffs[0]))[TEST_LEN - 2] = 0x7;	// corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:92: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 *)(buffs[0]))[TEST_LEN - 2] = 0;	// un-corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:97: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 *)buffs[j])[i] = 0x5;	// corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:104: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 *)buffs[j])[i] = 0;	// un-corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:120: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.
	c = ((char *)(buffs[0]))[TEST_LEN - 2];
data/libisal-2.29.0/raid/xor_check_test.c:121: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 *)(buffs[0]))[TEST_LEN - 2] = c ^ 0x1;
data/libisal-2.29.0/raid/xor_check_test.c:127: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 *)(buffs[0]))[TEST_LEN - 2] = c;	// un-corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:141: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.
			c = ((char *)buffs[j])[i];
data/libisal-2.29.0/raid/xor_check_test.c:142: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 *)buffs[j])[i] = c ^ 1;	// corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:149: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 *)buffs[j])[i] = c;	// un-corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:174: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.
				c = ((char *)buffs[i])[k];
data/libisal-2.29.0/raid/xor_check_test.c:175: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 *)buffs[i])[k] = c ^ 1;	// corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:185: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 *)buffs[i])[k] = c;	// un-corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:215: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.
					c = ((char *)buffs[serr])[lerr];
data/libisal-2.29.0/raid/xor_check_test.c:216: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.
					((char *)buffs[serr])[lerr] = c ^ 1;	// corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:226: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.
					((char *)buffs[serr])[lerr] = c;	// un-corrupt buffer
data/libisal-2.29.0/raid/xor_check_test.c:239: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.
			tmp_buf[j] = (char *)buffs[j] + i;
data/libisal-2.29.0/raid/xor_example.c:55: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 *)buffs[i])[j] = rand();
data/libisal-2.29.0/raid/xor_example.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 *)buffs[TEST_SOURCES / 2])[TEST_LEN / 2] ^= 1;	// flip one bit
data/libisal-2.29.0/raid/xor_gen_test.c:57: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 *tmp_buf[TEST_SOURCES + 1];
data/libisal-2.29.0/raid/xor_gen_test.c:81: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.
		if (((char *)buffs[TEST_SOURCES])[i] != 0)
data/libisal-2.29.0/raid/xor_gen_test.c:145: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.
			rand_buffer((unsigned char *)buffs[j] + i, TEST_LEN - i);
data/libisal-2.29.0/raid/xor_gen_test.c:146: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.
			tmp_buf[j] = (char *)buffs[j] + i;
data/libisal-2.29.0/tests/fuzz/igzip_dump_inflate_corpus.c:14: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 fname[FNAME_MAX];
data/libisal-2.29.0/tests/fuzz/igzip_dump_inflate_corpus.c:15: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 dname[DNAME_MAX];
data/libisal-2.29.0/tests/fuzz/igzip_dump_inflate_corpus.c:30:10:  [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).
		fout = fopen(fname, "w+");
data/libisal-2.29.0/tests/fuzz/igzip_fuzz_inflate.c:22:7:  [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).
	in = fopen(argv[1], "rb");
data/libisal-2.29.0/programs/igzip_cli.c:334:14:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				answer = getchar();
data/libisal-2.29.0/programs/igzip_cli.c:338:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					tmp = getchar();
data/libisal-2.29.0/programs/igzip_cli.c:612:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(outfile_name, infile_name, infile_name_len + 1);
data/libisal-2.29.0/programs/igzip_cli.c:613:3:  [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.
		strncat(outfile_name, suffix, outfile_name_len + 1);
data/libisal-2.29.0/programs/igzip_cli.c:1032: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).
			global_options.outfile_name_len = strlen(global_options.outfile_name);
data/libisal-2.29.0/programs/igzip_cli.c:1045: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).
			global_options.suffix_len = strlen(global_options.suffix);
data/libisal-2.29.0/programs/igzip_cli.c:1131: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).
			global_options.infile_name_len = strlen(global_options.infile_name);
data/libisal-2.29.0/programs/igzip_cli.c:1141: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).
			global_options.infile_name_len = strlen(global_options.infile_name);
data/libisal-2.29.0/tests/fuzz/igzip_dump_inflate_corpus.c:21:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(dname, argv[1], DNAME_MAX - 1);

ANALYSIS SUMMARY:

Hits = 327
Lines analyzed = 57752 in approximately 2.29 seconds (25183 lines/second)
Physical Source Lines of Code (SLOC) = 45452
Hits@level = [0] 1669 [1]   9 [2] 269 [3]  24 [4]  25 [5]   0
Hits@level+ = [0+] 1996 [1+] 327 [2+] 318 [3+]  49 [4+]  25 [5+]   0
Hits/KSLOC@level+ = [0+] 43.9145 [1+] 7.1944 [2+] 6.99639 [3+] 1.07806 [4+] 0.550031 [5+]   0
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.