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/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx2-functions.h
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx2_impl.h
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx512-smithwaterman.h
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx2_impl.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx2-smithwaterman.h
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx512-functions.h
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx512_impl.h
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/smithwaterman_common.h
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx512_impl.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/IntelSmithWaterman.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/IntelSmithWaterman.h
Examining data/gkl-0.8.6+dfsg/src/main/native/utils/utils.h
Examining data/gkl-0.8.6+dfsg/src/main/native/utils/utils.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/common/debug.h
Examining data/gkl-0.8.6+dfsg/src/main/native/common/avx.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/pairhmm_common.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx_impl.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx512-pairhmm.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/IntelPairHmm.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/JavaData.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx-pairhmm.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx512-functions-double.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx-functions-double.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx-pairhmm-template.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/pairhmm_common.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx512-functions-float.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/shacc_pairhmm.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx-types.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx512-vector-shift.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/shacc_pairhmm_stub.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/IntelPairHmm.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx512_impl.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx_impl.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/Context.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx512_impl.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx-vector-shift.h
Examining data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx-functions-float.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/IntelInflater.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/raid/xor_gen_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/raid/xor_example.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/raid/raid_base.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/raid/pq_check_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/raid/pq_gen_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/raid/xor_gen_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/raid/pq_gen_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/raid/raid_base_aliases.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/raid/xor_check_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/checksum32_funcs_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_level_buf_structs.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/huff_codes.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/proc_heap_base.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/huffman.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_icf_base.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/flatten_ll.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_stateless_file_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_base.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_sync_flush_example.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_hist_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/hufftables_c.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/encode_df.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/flatten_ll.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_base_aliases.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/inflate_std_vects.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_file_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_build_hash_table_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_semi_dyn_file_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_example.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/checksum_test_ref.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/huff_codes.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/generate_custom_hufftables.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/encode_df.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/crc32_gzip_base.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/bitbuf2.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/repeated_char_result.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_checksums.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_icf_body.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_sync_flush_file_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/include/types.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/include/erasure_code.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/include/gf_vect_mul.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/include/crc.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/include/test.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/include/crc64.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/include/raid.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/include/igzip_lib.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/tests/fuzz/igzip_fuzz_inflate.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/tests/fuzz/igzip_simple_inflate_fuzz_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/tests/fuzz/igzip_simple_round_trip_fuzz_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/tests/fuzz/igzip_checked_inflate_fuzz_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/tests/fuzz/igzip_dump_inflate_corpus.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_5vect_dot_prod_sse_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_update_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_dot_prod_base_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_dot_prod_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_mul_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_3vect_dot_prod_sse_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/ec_base.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_4vect_dot_prod_sse_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_inverse_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_mul_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_2vect_dot_prod_sse_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_dot_prod_1tbl.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gen_rs_matrix_limits.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_update_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/ec_base_aliases.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_dot_prod_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/ec_base.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/ec_highlevel_func.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_mad_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_base_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_mad_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_6vect_dot_prod_sse_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_mul_base_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_base_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc16_t10dif_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc32_iscsi_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc32_ieee_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc32_iscsi_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc16_t10dif_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc64_funcs_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc_simple_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc32_gzip_refl_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc_base.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc32_gzip_refl_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc16_t10dif_copy_test.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc64_funcs_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc16_t10dif_copy_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc16_t10dif_op_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc_base_aliases.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc64_base.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc32_ieee_perf.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc64_example.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/compress.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/inflate.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/inffast.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/deflate.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/crc32.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/deflate.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/crc_folding.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/inffixed.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/rte_memcpy.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/crc32.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/trees.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/fill_window_sse.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/inflate.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/inftrees.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/crc_folding.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/uncompr.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzclose.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/infcover.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zlib.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/match.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/deflate_medium.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/infback.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/inffast.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zpipe.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/enough.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzjoin.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/fitblk.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzappend.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/x86.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/trees.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/adler32.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.cpp
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/test.cpp
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/puff/pufftest.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/puff/puff.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/puff/puff.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream_test.cpp
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/testzlib/testzlib.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/inflate86/inffas86.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/ioapi.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/ioapi.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/unzip.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/iowin32.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/unzip.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/crypt.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/iowin32.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/blast/blast.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/blast/blast.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/test.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/masmx64/inffas8664.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/infback9/infback9.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/infback9/inflate9.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/infback9/inffix9.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/infback9/inftree9.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/infback9/infback9.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/infback9/inftree9.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/x86.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzread.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/deflate_quick.c
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/inftrees.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzguts.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/IntelInflater.cc
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/IntelDeflater.h
Examining data/gkl-0.8.6+dfsg/src/main/native/compression/IntelDeflater.cc

FINAL RESULTS:

data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:32:13:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#    define chmod(path,mode)    _chmod(path,mode)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:277:7:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      chmod(item->fname,item->mode);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c:527:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    (void)chmod(to, was.st_mode & 07777);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c:530:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    (void)chown(to, was.st_uid, was.st_gid);
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_update_perf.c:108: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_update_perf.c:190: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_update_perf.c:208: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_update_perf.c:220: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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) "_single_src_simple" TEST_TYPE_STR ": ");
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_update_perf.c:301: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_dot_prod_perf.c:99: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_dot_prod_perf.c:169: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_mad_perf.c:261: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_mad_perf.c:319: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_mad_perf.c:364: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/gf_vect_mad_perf.c:379: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/include/types.h:79: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/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:154:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(buffer,newdir);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:31:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#    define access(path,mode)   _access(path,mode)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:137:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(buffer,arcname);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:142:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
       strcpy(buffer+origlen,TGZsuffix[i]);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:143:12:  [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(buffer,F_OK) == 0)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:158:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr,(TGZsuffix[i+1]) ? "%s%s, " : "or %s%s\n",
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:586:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dest, log->path);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:878:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(log->id, LOGID);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:888:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(log->path, path);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:75: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.
struct access {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:82:30:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
local void free_index(struct access *index)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:92:14:  [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.
local struct access *addpoint(struct access *index, int bits,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:92:38:  [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.
local struct access *addpoint(struct access *index, int bits,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:99:38:  [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.
        index = malloc(sizeof(struct access));
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:144:52:  [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.
local int build_index(FILE *in, off_t span, struct access **built)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:149:12:  [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.
    struct access *index;       /* access points being generated */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:249:36:  [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.
local int extract(FILE *in, struct access *index, off_t offset,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:359:12:  [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.
    struct access *index = NULL;
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzguts.h:86:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#    if !defined(vsnprintf) && !defined(NO_vsnprintf)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzguts.h:88:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#         define vsnprintf _vsnprintf
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzguts.h:111:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzguts.h:111:20:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:216:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(state->path, path);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:614:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(state->msg, state->path);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:616:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(state->msg, msg);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:350:11:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    (void)vsprintf(next, format, va);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:354:11:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    len = vsprintf(next, format, va);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:358:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    (void)vsnprintf(next, state->size, format, va);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:361:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(next, state->size, format, va);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:444:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(next, format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:450:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    len = sprintf(next, format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:455:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(next, state->size, format, a1, a2, a3, a4, a5, a6, a7, a8, a9,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:459:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = snprintf(next, state->size, format, a1, a2, a3, a4, a5, a6, a7, a8,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/infcover.c:526:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(prefix, id);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/infcover.c:552:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(prefix, id);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:44:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:44:20:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:473:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(outfile, file);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:474:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(outfile, GZ_SUFFIX);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:513:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(buf, file);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:526:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(infile, GZ_SUFFIX);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.h:282:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Trace(x) {if (z_verbose>=0) fprintf x ;}
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.h:283:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracev(x) {if (z_verbose>0) fprintf x ;}
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.h:284:40:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracevv(x) {if (z_verbose>1) fprintf x ;}
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.h:285:48:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.h:286:49:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc16_t10dif_copy_test.c:112: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc16_t10dif_test.c:71: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc32_gzip_refl_test.c:77: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc32_ieee_test.c:77: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/crc/crc64_funcs_test.c:103: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/checksum32_funcs_test.c:65: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_file_perf.c:125: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:")) != -1) {
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:2386: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_semi_dyn_file_perf.c:109: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:i:")) != -1) {
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_stateless_file_perf.c:122: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:o:")) != -1) {
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:402:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:413:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:423:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:457:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:468:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:478:11:  [3] (random) setstate:
  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.
    this->setstate(std::ios_base::failbit);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/crypt.h:112:9:  [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((unsigned)(time(NULL) ^ ZCR_SEED2));
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_base_perf.c:87: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_perf.c:87: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/erasure_code/erasure_code_update_perf.c:115: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/generate_custom_hufftables.c:288: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/huff_codes.c:1603: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/huff_codes.c:1660: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/huff_codes.c:1661: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:381: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:419: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:427: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:551: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:601: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:632: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:797: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:805: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:842: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:845: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:1061: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:1245: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], next_in, size);
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:1338: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:1371: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:1395: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip.c:1517: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_file_perf.c:144: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).
			iterations = atoi(optarg);
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_file_perf.c:149: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_file_perf.c:160: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_file_perf.c:169: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_file_perf.c:178: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:257: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(short_code_lookup + copy_size, short_code_lookup,
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:286: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:417: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(short_code_lookup + copy_size, short_code_lookup,
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:443: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:915: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:935: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:966: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:1083: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->next_out,
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:1154: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:1274: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate.c:1320: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate_perf.c:61: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate_perf.c:67: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(argv[2], "wb");
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate_test.c:88: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate_test.c:99: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate_test.c:132: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_inflate_test.c:238: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_perf.c:55: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 inbuf[IBUF_SIZE], zbuf[OBUF_SIZE];
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:212: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:228: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:619: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:630: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:665: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:1030: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:1057: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:1097: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:1103: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:1397: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:1536: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:1683: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:2284: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_rand_test.c:2327: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_semi_dyn_file_perf.c:65: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_semi_dyn_file_perf.c:115: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_semi_dyn_file_perf.c:141: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_semi_dyn_file_perf.c:150: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_stateless_file_perf.c:138: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).
			iterations = atoi(optarg);
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_stateless_file_perf.c:151: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_stateless_file_perf.c:160: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_sync_flush_file_perf.c:57: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/igzip/igzip_sync_flush_file_perf.c:63: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(argv[2], "wb");
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/tests/fuzz/igzip_dump_inflate_corpus.c:13: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/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 dname[FNAME_MAX];
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/tests/fuzz/igzip_dump_inflate_corpus.c:29: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/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/tests/fuzz/igzip_fuzz_inflate.c:21: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/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/blast/blast.c:58:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char out[MAXWIN];  /* output buffer and sliding window */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/blast/blast.c:312: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.
    static const char extra[16] = {     /* extra bits for length codes */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/blast/blast.c:434:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static unsigned char hold[CHUNK];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.cpp:18:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
gzfilebuf *gzfilebuf::open( const char *name,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.cpp:24:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char char_mode[10];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.cpp:66:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char char_mode[10];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.cpp:270:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void gzfilestream_common::open( const char *name, int io_mode ) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.cpp:272:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ( !buffer.open( name, io_mode ) )
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.cpp:300:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  gzfilestream_common::open( name, io_mode );
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.cpp:320:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  gzfilestream_common::open( name, io_mode );
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.h:15:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  gzfilebuf *open( const char *name, int io_mode );
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream/zfstream.h:55:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  void open( const char *name, int io_mode );
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:55:40:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        izstream(FILE* fp) : m_fp(0) { open(fp); }
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:56:48:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        izstream(const char* name) : m_fp(0) { open(name); }
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:65:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        void open(const char* name) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:70:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        void open(FILE* fp) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:162:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            open(fp, level);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:166:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            open(name, level);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:177:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        void open(const char* name, int level = Z_DEFAULT_COMPRESSION) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:178:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char mode[4] = "wb\0";
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:186:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        void open(FILE* fp, int level = Z_DEFAULT_COMPRESSION) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:188:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char mode[4] = "wb\0";
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream_test.cpp:7:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char h[256] = "Hello";
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream_test.cpp:19:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out.open("temp.gz"); // try ascii output; zcat temp.gz to see the results
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/test.cc:15:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[80];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/test.cc:17:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outf.open("test1.txt.gz");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/test.cc:26:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  inf.open("test1.txt.gz");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/test.cc:33:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outf.open("test2.txt.gz");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/test.cc:42:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  inf.open("test2.txt.gz");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:51:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
gzfilebuf::open(const char *name,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:62:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char char_mode[6] = "\0\0\0\0\0";
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:90:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char char_mode[6] = "\0\0\0\0\0";
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:384:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  this->open(name, mode);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:398:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
gzifstream::open(const char* name,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:401:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!sb.open(name, mode | std::ios_base::in))
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:439:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  this->open(name, mode);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:453:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
gzofstream::open(const char* name,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:456:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!sb.open(name, mode | std::ios_base::out))
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.h:66:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open(const char* name,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.h:285:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open(const char* name,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.h:374:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open(const char* name,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/crypt.h:100:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char header[RAND_HEAD_LEN-2]; /* random header */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/ioapi.c:19:36:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define FOPEN_FUNC(filename, mode) fopen(filename, mode)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/ioapi.c:109:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        file = fopen(filename, mode_fopen);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/ioapi.h:49:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define fopen64 fopen
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/ioapi.h:54:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define fopen64 fopen
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/ioapi.h:59:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
 #define fopen64 fopen
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/iowin32.c:112:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
        MultiByteToWideChar(CP_ACP,0,(const char*)filename,-1,filenameW,FILENAME_MAX + 0x200);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/iowin32.c:137:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
        MultiByteToWideChar(CP_ACP,0,(const char*)filename,-1,filenameW,FILENAME_MAX + 0x200);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/iowin32.c:185:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
        MultiByteToWideChar(CP_ACP,0,(const char*)filename,-1,filenameW,FILENAME_MAX + 0x200);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:32:36:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define FOPEN_FUNC(filename, mode) fopen(filename, mode)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:209:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char number[21];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:248:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char filename_inzip[256];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:318:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename_inzip[256];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:386:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char answer[128];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:541:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename_try[MAXFILENAME+16] = "";
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:621:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(filename_try,".zip");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:33:36:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define FOPEN_FUNC(filename, mode) fopen(filename, mode)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[MAXFILENAME+1];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename_try[MAXFILENAME+16];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:334:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat(filename_try,".zip");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:349:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char answer[128];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:38:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* fpZip = fopen(file, "rb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:39:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* fpOut = fopen(fileOut, "wb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:40:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* fpOutCD = fopen(fileOutTmp, "wb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:44:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char header[30];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:45:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:46:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char extra[1024];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:149:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char header[46];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:224: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 header[22];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:257:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fpOutCD = fopen(fileOutTmp, "rb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:260:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[8192];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/unzip.c:1266:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char szCurrentFileName[UNZ_MAXFILENAMEINZIP+1];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/unzip.c:1482:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char source[12];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.c:120: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.
  unsigned char data[SIZEDATA_INDATABLOCK];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.c:289:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[8];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.c:1246:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char bufHead[RAND_HEAD_LEN];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.c:1980:7:  [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(pTmp, p, dataSize + 4);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.c:1994:7:  [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(pData, pNewHeader, size);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/puff/pufftest.c:70:33:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    in = name == NULL ? stdin : fopen(name, "rb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/puff/pufftest.c:105:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                skip = (unsigned)atoi(arg + 1);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/testzlib/testzlib.c:124: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).
    stream=fopen(filename, "rb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/testzlib/testzlib.c:175:27:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        BlockSizeCompress=atol(argv[2]);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/testzlib/testzlib.c:178:29:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        BlockSizeUncompress=atol(argv[3]);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/testzlib/testzlib.c:181:23:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        cprLevel=(int)atol(argv[4]);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:70:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[100];               /*   0 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:71:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mode[8];                 /* 100 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:72:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char uid[8];                  /* 108 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:73:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char gid[8];                  /* 116 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:74:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char size[12];                /* 124 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:75:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mtime[12];               /* 136 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char chksum[8];               /* 148 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:78:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char linkname[100];           /* 157 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:79:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char magic[6];                /* 257 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:80:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char version[2];              /* 263 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char uname[32];               /* 265 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char gname[32];               /* 297 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char devmajor[8];             /* 329 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:84:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char devminor[8];             /* 337 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:85:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char prefix[155];             /* 345 */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               buffer[BLOCKSIZE];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:134: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.
  static char buffer[1024];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:194: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.
  static char result[32];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:197:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(result,"%4d/%02d/%02d %02d:%02d:%02d",
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:394:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   fname[BLOCKSIZE];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:482:33:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                      outfile = fopen(fname,"wb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:490:37:  [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).
                          outfile = fopen(fname,"wb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/crc32.c:143: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).
        out = fopen("crc32.h", "w");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/crc_folding.c:271:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zalign(16) partial_buf[16] = { 0 };
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/crc_folding.c:279:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(partial_buf, src, len);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/crc_folding.c:281:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, partial_buf, len);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/crc_folding.c:388: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(dst, partial_buf, len);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/enough.c:476: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).
        syms = atoi(argv[1]);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/enough.c:478:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            root = atoi(argv[2]);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/enough.c:480:23:  [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).
                max = atoi(argv[3]);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/fitblk.c:76:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char raw[RAWLEN];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/fitblk.c:99:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char raw[RAWLEN];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.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.
unsigned char inbuf[SIZE];              /* input buffer */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c:162:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char outbuf[SIZE];             /* output buffer */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c:164:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char suffix[65536];            /* one-character LZW suffix */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c:165:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char match[65280 + 2];         /* buffer for reversed match or gzip
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c:559:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        infile = open(inname, O_RDONLY, 0);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c:572:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        outfile = open(outname, O_CREAT | O_TRUNC | O_WRONLY, 0666);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c:689:17:  [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(outname, *argv, len);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzappend.c:140:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(list, list + 1, len - 1);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzappend.c:270:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    gz.fd = open(name, O_RDWR, 0);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzappend.c:397:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(name, O_RDONLY, 0);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzjoin.c:108:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    in->fd = open(name, O_RDONLY, 0);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char id[4];     /* contains LOGID to detect inadvertent overwrites */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:353:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".lock");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:354:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    while ((fd = open(log->path, O_CREAT | O_EXCL, 0644)) < 0) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:376:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".lock");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:388:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".lock");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:400:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".lock");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:413:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[HEAD + EXTRA];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:440:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ext[EXTRA];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:465:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[6];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:505:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[8];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:559:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".add");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:577:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".add");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:582:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".dict");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:587:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".temp");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:615:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[DICT];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:628:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(log->end, ".dict");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:629:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(log->path, O_RDONLY, 0);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:724:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".repairs");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:725:11:  [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).
    rec = fopen(log->path, "a");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:750:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(log->end, ".add");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:758:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            if ((fd = open(log->path, O_RDONLY, 0)) < 0) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:828:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".gz");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:829:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    log->fd = open(log->path, O_RDWR | O_CREAT, 0644);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:843:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(log->end, ".dict");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:913:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char *data, buf[5];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:952:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(log->end, ".add");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:953:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:962:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(log->end, ".temp");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:963:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:1013:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->end, ".add");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:1014:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:1056:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(log->id, "bad");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zpipe.c:41:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char in[CHUNK];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zpipe.c:42:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char out[CHUNK];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zpipe.c:97:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char in[CHUNK];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zpipe.c:98:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char out[CHUNK];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:71:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char window[WINSIZE];  /* preceding 32K of uncompressed data */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:127:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(next->window, window + WINSIZE - left, left);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:129:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(next->window + left, window, WINSIZE - left);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:151:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char input[CHUNK];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:152:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char window[WINSIZE];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:255:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char input[CHUNK];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:256:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char discard[WINSIZE];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:360:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[CHUNK];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:367: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).
    in = fopen(argv[1], "rb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzguts.h:47:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define open _open
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:36:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[1024];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:65:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "unknown win32 error (%ld)", error);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:245:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        open((const char *)path, oflag, 0666));
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:298:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(path, "<fd:%d>", fd);   /* for debugging */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:615:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(state->msg, ": ");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzread.c:158:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(state->x.next, strm->next_in, strm->avail_in);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzread.c:332:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, state->x.next, n);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzread.c:391:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzread.c:531:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, state->x.next, n);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:220:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(state->in + have, buf, copy);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:252:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:377:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(state->in, state->in + state->size, left);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:476:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(state->in, state->in + state->size, left);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/inflate.c:662:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hbuf[4];      /* buffer for gzip header crc calculation */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/inflate.c:1472:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[4];       /* to restore bit buffer to byte string */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/rte_memcpy.h:246: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((dst), (src), (n)) :          \
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:98:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:149:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:245:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:341:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:420:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:501:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy((char*)uncompr, "garbage");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/infcover.c:389:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char dict[257];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/infcover.c:471:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char win[32768];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/infcover.c:527:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(prefix, "-late");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/infcover.c:553:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(prefix, "-back");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:83:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[1024];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:112:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "unknown win32 error (%ld)", error);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:223:31:  [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).
                              fopen(path, gz->write ? "wb" : "rb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:242:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char out[BUFLEN];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:267:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char in[1];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:301:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char out[BUFLEN];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:366: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.
    local char buf[BUFLEN];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:434: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.
    local char buf[BUFLEN];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:461: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.
    local char outfile[MAX_NAME_LEN];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:477: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).
    in = fopen(file, "rb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:499: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.
    local char buf[MAX_NAME_LEN];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:534:11:  [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/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:563:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *bname, outmode[20];
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:568:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(outmode, "wb6 ");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:633:33:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                    FILE * in = fopen(*argv, "rb");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/trees.c:257:20:  [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 *header = fopen("trees.h", "w");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.c:13: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.
z_const char * const z_errmsg[10] = {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.h:49:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.h:109:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
     fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.h:237:30:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define F_OPEN(name, mode) fopen((name), (mode))
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/zutil.h:266:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#    define zmemcpy memcpy
data/gkl-0.8.6+dfsg/src/main/native/pairhmm/avx-pairhmm-template.h:258:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rsArr[AVX_LENGTH] ;
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/IntelSmithWaterman.cc:23:70:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int32_t (*g_runSWOnePairBT)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/IntelSmithWaterman.cc:50:112:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  (JNIEnv * env, jclass obj, jbyteArray ref, jbyteArray alt, jbyteArray cigar, jint match, jint mismatch, jint open, jint extend, jint strategy)
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/IntelSmithWaterman.cc:63:48:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    offset = g_runSWOnePairBT(match, mismatch, open, extend,(uint8_t*) reference, (uint8_t*) alternate,refLength, altLength, strategy, (char *) cigarArray, (int16_t*) &count);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:40:89:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void inline smithWatermanBackTrack(SeqPair *p, int32_t match, int32_t mismatch, int32_t open, int32_t extend, int32_t* E_,int32_t tid)
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:51:46:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    VEC_INT_TYPE w_open_vec = VEC_SET1_VAL32(open);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:390:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        int bytesWritten = sprintf(p->cigar + curSize, "%d", cigarArray[2 * i + 1]);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:417:86:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int32_t CONCAT(runSWOnePairBT_,SIMD_ENGINE)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount)
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:424:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
     int32_t   w_open = open;
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:440:50:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    smithWatermanBackTrack(&p, match, mismatch,  open, extend, E_, 0);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx2_impl.cc:5:76:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int32_t (*runSWOnePairBT_fp_avx2)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount)= &runSWOnePairBT_avx2;
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx2_impl.h:6:83:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern int32_t (*runSWOnePairBT_fp_avx2)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx512_impl.cc:7:78:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int32_t (*runSWOnePairBT_fp_avx512)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount)= &runSWOnePairBT_avx512;
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx512_impl.cc:12:78:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int32_t (*runSWOnePairBT_fp_avx512)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount)= NULL;
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx512_impl.h:6:85:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
extern int32_t (*runSWOnePairBT_fp_avx512)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount);
data/gkl-0.8.6+dfsg/src/main/native/compression/isa-l-master/tests/fuzz/igzip_dump_inflate_corpus.c:20: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], FNAME_MAX);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/blast/blast.c:458:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (getchar() != EOF)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:87:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        int read(void* buf, size_t len) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:115:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline int read(izstream& zs, T* x, Items items) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream2/zstream.h:278:35:  [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).
    val.byte = 255;  val.word = ::strlen(x);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:146:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(c_mode, "w");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:148:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(c_mode, "a");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:150:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(c_mode, "w");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:152:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(c_mode, "r");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:160:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(c_mode) == 0)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/iostream3/zfstream.cc:163:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(c_mode, "b");
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:143:19:  [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).
  int  len = (int)strlen(newdir);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:390:27:  [1] (buffer) scanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    ret = scanf("%1s",answer);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/miniunz.c:609:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(filename_try, zipfilename,MAXFILENAME-1);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:111:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen(f);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:115:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(name, f,MAXFILENAME-1);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:324:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(filename_try, argv[zipfilenamearg],MAXFILENAME-1);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:328:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len=(int)strlen(filename_try);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:352:27:  [1] (buffer) scanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                    ret = scanf("%1s",answer);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/minizip.c:396:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  (strlen(argv[i]) == 2)))
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:151:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          int comsize = (int) strlen(comment);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/mztools.c:226:27:  [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).
      int comsize = (int) strlen(comment);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/unzip.c:1249:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.c:962:30:  [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).
  uInt size_filename = (uInt)strlen(filename);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.c:1101:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_comment = (uInt)strlen(comment);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.c:1103:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_filename = (uInt)strlen(filename);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/minizip/zip.c:1870:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_global_comment = (uInt)strlen(global_comment);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:138:13:  [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).
  origlen = strlen(buffer);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:332:14:  [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).
  int  len = strlen(buffer);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:440:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy(fname,buffer.header.name,SHORTNAMESIZE);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/contrib/untgz/untgz.c:514:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c:103:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = (int)read(me->infile, next, ret);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gun.c:669:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                len = (int)strlen(*argv);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzappend.c:184:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    len = read(in->fd, in->buf, 1 << in->size);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzappend.c:356:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(gz.fd, gz.buf, 1) != 1) bye("reading after seek on ", name);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzappend.c:375:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (read(gz.fd, gz.buf, 1) != 1) bye("reading after seek on ", name);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzappend.c:411:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        len = read(fd, in, CHUNK);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzjoin.c:131:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzjoin.c:183:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (read(in->fd, in->buf, 1) != 1)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:416:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(log->fd, buf, HEAD + EXTRA) != HEAD + EXTRA ||
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:477:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      read(log->fd, buf, 1) != 1))
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:583:19:  [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).
    dest = malloc(strlen(log->path) + 1);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:631:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            dict = read(fd, buf, DICT);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:646:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read(log->fd, buf, 1) != 1 || lseek(log->fd, -1, SEEK_CUR) < 0) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:678:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read(log->fd, buf, 1) != 1)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:762:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ret = (size_t)read(fd, data, len) != len;
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:882:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(path);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:939:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (read(log->fd, buf, 5) != 5)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/gzlog.c:943:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                read(log->fd, (char *)data + next, block) != block)
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/examples/zran.c:281:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = getc(in);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzguts.h:48:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define read _read
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:199:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen((const char *)path);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:605: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).
    if ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:605:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:611:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzlib.c:611:48:  [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).
    snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzread.c:30:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = read(state->fd, buf + *have, len - *have);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:303:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = (unsigned)strlen(str);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:359:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(next);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/gzwrite.c:457:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(next);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:93:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    uLong len = (uLong)strlen(hello)+1;
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:123:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = (int)strlen(hello)+1;
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:180:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen((char*)uncompr) != 7) { /* " hello!" */
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:206:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    uLong len = (uLong)strlen(hello)+1;
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:381:22:  [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).
    uInt len = (uInt)strlen(hello)+1;
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:480:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    c_stream.avail_in = (uInt)strlen(hello)+1;
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/example.c:576:12:  [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).
    argc = strlen(argv[0]);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/infcover.c:250:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    in = malloc((strlen(hex) + 1) >> 1);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/infcover.c:522:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    prefix = malloc(strlen(id) + 6);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:465:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(file) + strlen(GZ_SUFFIX) >= sizeof(outfile)) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:465:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(file) + strlen(GZ_SUFFIX) >= sizeof(outfile)) {
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:503:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(file);
data/gkl-0.8.6+dfsg/src/main/native/compression/otc_zlib/test/minigzip.c:505:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) {
data/gkl-0.8.6+dfsg/src/main/native/pairhmm/JavaData.h:84:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      shacc_pairhmm::Read read;
data/gkl-0.8.6+dfsg/src/main/native/pairhmm/JavaData.h:85:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read.bases = m_testcases[i].rs;
data/gkl-0.8.6+dfsg/src/main/native/pairhmm/JavaData.h:86:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read.length = m_testcases[i].rslen;
data/gkl-0.8.6+dfsg/src/main/native/pairhmm/JavaData.h:87:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read.i = m_testcases[i].i;
data/gkl-0.8.6+dfsg/src/main/native/pairhmm/JavaData.h:88:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read.d = m_testcases[i].d;
data/gkl-0.8.6+dfsg/src/main/native/pairhmm/JavaData.h:89:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read.c = m_testcases[i].c;
data/gkl-0.8.6+dfsg/src/main/native/pairhmm/JavaData.h:90:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read.q = m_testcases[i].q;
data/gkl-0.8.6+dfsg/src/main/native/pairhmm/JavaData.h:91:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      m_reads.push_back(read);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/IntelSmithWaterman.cc:23:52:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int32_t (*g_runSWOnePairBT)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/IntelSmithWaterman.cc:50:97:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  (JNIEnv * env, jclass obj, jbyteArray ref, jbyteArray alt, jbyteArray cigar, jint match, jint mismatch, jint open, jint extend, jint strategy)
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/IntelSmithWaterman.cc:63:38:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    offset = g_runSWOnePairBT(match, mismatch, open, extend,(uint8_t*) reference, (uint8_t*) alternate,refLength, altLength, strategy, (char *) cigarArray, (int16_t*) &count);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:40:71:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
void inline smithWatermanBackTrack(SeqPair *p, int32_t match, int32_t mismatch, int32_t open, int32_t extend, int32_t* E_,int32_t tid)
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:50:50:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    VEC_INT_TYPE w_mismatch_vec = VEC_SET1_VAL32(mismatch);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:396:17:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                sprintf(p->cigar + curSize, "M");
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:399:17:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                sprintf(p->cigar + curSize, "I");
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:402:17:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                sprintf(p->cigar + curSize, "D");
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:405:17:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                sprintf(p->cigar + curSize, "S");
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:408:17:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                sprintf(p->cigar + curSize, "R");
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:413:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p->cigarCount = strlen(p->cigar);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:417:68:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int32_t CONCAT(runSWOnePairBT_,SIMD_ENGINE)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount)
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:423:29:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
     int32_t   w_mismatch = mismatch;
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/PairWiseSW.h:440:39:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    smithWatermanBackTrack(&p, match, mismatch,  open, extend, E_, 0);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx2_impl.cc:5:58:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int32_t (*runSWOnePairBT_fp_avx2)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount)= &runSWOnePairBT_avx2;
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx2_impl.h:6:65:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
extern int32_t (*runSWOnePairBT_fp_avx2)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount);
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx512_impl.cc:7:60:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int32_t (*runSWOnePairBT_fp_avx512)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount)= &runSWOnePairBT_avx512;
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx512_impl.cc:12:60:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int32_t (*runSWOnePairBT_fp_avx512)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount)= NULL;
data/gkl-0.8.6+dfsg/src/main/native/smithwaterman/avx512_impl.h:6:67:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
extern int32_t (*runSWOnePairBT_fp_avx512)(int32_t match, int32_t mismatch, int32_t open, int32_t extend,uint8_t *seq1, uint8_t *seq2, int32_t len1, int32_t len2, int8_t overhangStrategy, char *cigarArray, int16_t *cigarCount);

ANALYSIS SUMMARY:

Hits = 588
Lines analyzed = 85824 in approximately 3.01 seconds (28479 lines/second)
Physical Source Lines of Code (SLOC) = 62891
Hits@level = [0] 1866 [1] 100 [2] 395 [3]  24 [4]  65 [5]   4
Hits@level+ = [0+] 2454 [1+] 588 [2+] 488 [3+]  93 [4+]  69 [5+]   4
Hits/KSLOC@level+ = [0+] 39.0199 [1+] 9.34951 [2+] 7.75946 [3+] 1.47875 [4+] 1.09714 [5+] 0.0636021
Dot directories skipped = 2 (--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.