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/bmagic-6.3.0/lang-maps/jni/include/io_bitmagic_core_BVector0.h Examining data/bmagic-6.3.0/lang-maps/jni/include/io_bitmagic_core_BVIterator0.h Examining data/bmagic-6.3.0/lang-maps/jni/include/io_bitmagic_core_SimdUtil0.h Examining data/bmagic-6.3.0/lang-maps/jni/src/bmcpuidj.c Examining data/bmagic-6.3.0/lang-maps/jni/src/bmjni.c Examining data/bmagic-6.3.0/lang-maps/jni/src/jnialloc.h Examining data/bmagic-6.3.0/lang-maps/jni/src/libbmjni.cpp Examining data/bmagic-6.3.0/lang-maps/libbm/include/libbm.h Examining data/bmagic-6.3.0/lang-maps/libbm/include/libbmcpuid.h Examining data/bmagic-6.3.0/lang-maps/libbm/src/bmcalloc.h Examining data/bmagic-6.3.0/lang-maps/libbm/src/libbm.cpp Examining data/bmagic-6.3.0/lang-maps/libbm/src/libbmcpuid.c Examining data/bmagic-6.3.0/lang-maps/libbm/src/libbm_impl.cpp Examining data/bmagic-6.3.0/lang-maps/libbm/src/try_throw_catch.h Examining data/bmagic-6.3.0/lang-maps/test/libbmtest.c Examining data/bmagic-6.3.0/samples/bvsample01/sample1.cpp Examining data/bmagic-6.3.0/samples/bvsample01_64/bvsample01_64.cpp Examining data/bmagic-6.3.0/samples/bvsample02/sample2.cpp Examining data/bmagic-6.3.0/samples/bvsample03/sample3.cpp Examining data/bmagic-6.3.0/samples/bvsample04/sample4.cpp Examining data/bmagic-6.3.0/samples/bvsample05/sample5.cpp Examining data/bmagic-6.3.0/samples/bvsample06/sample6.cpp Examining data/bmagic-6.3.0/samples/bvsample07/sample7.cpp Examining data/bmagic-6.3.0/samples/bvsample08/sample8.cpp Examining data/bmagic-6.3.0/samples/bvsample09/sample9.cpp Examining data/bmagic-6.3.0/samples/bvsample10/sample10.cpp Examining data/bmagic-6.3.0/samples/bvsample11/sample11.cpp Examining data/bmagic-6.3.0/samples/bvsample12/sample12.cpp Examining data/bmagic-6.3.0/samples/bvsample14/sample14.cpp Examining data/bmagic-6.3.0/samples/bvsample15/sample15.cpp Examining data/bmagic-6.3.0/samples/bvsample16/sample16.cpp Examining data/bmagic-6.3.0/samples/bvsample17/sample17.cpp Examining data/bmagic-6.3.0/samples/bvsample18/sample18.cpp Examining data/bmagic-6.3.0/samples/bvsample19/sample19.cpp Examining data/bmagic-6.3.0/samples/bvsample20/sample20.cpp Examining data/bmagic-6.3.0/samples/bvsample21/sample21.cpp Examining data/bmagic-6.3.0/samples/bvsample22/sample22.cpp Examining data/bmagic-6.3.0/samples/bvsample23/sample23.cpp Examining data/bmagic-6.3.0/samples/bvsetalgebra/bvsetalgebra.cpp Examining data/bmagic-6.3.0/samples/rscsample01/rscsample01.cpp Examining data/bmagic-6.3.0/samples/rscsample02/rscsample02.cpp Examining data/bmagic-6.3.0/samples/rscsample03/rscsample03.cpp Examining data/bmagic-6.3.0/samples/strsvsample01/strsvsample01.cpp Examining data/bmagic-6.3.0/samples/strsvsample02/strsvsample02.cpp Examining data/bmagic-6.3.0/samples/strsvsample03/strsvsample03.cpp Examining data/bmagic-6.3.0/samples/strsvsample04/strsvsample04.cpp Examining data/bmagic-6.3.0/samples/strsvsample05/strsvsample05.cpp Examining data/bmagic-6.3.0/samples/svsample01/svsample01.cpp Examining data/bmagic-6.3.0/samples/svsample02/svsample02.cpp Examining data/bmagic-6.3.0/samples/svsample03/svsample03.cpp Examining data/bmagic-6.3.0/samples/svsample04/svsample04.cpp Examining data/bmagic-6.3.0/samples/svsample05/svsample05.cpp Examining data/bmagic-6.3.0/samples/svsample06/svsample06.cpp Examining data/bmagic-6.3.0/samples/svsample07/svsample07.cpp Examining data/bmagic-6.3.0/samples/svsample08/svsample08.cpp Examining data/bmagic-6.3.0/samples/svsample09/svsample09.cpp Examining data/bmagic-6.3.0/samples/xsample01/xsample01.cpp Examining data/bmagic-6.3.0/samples/xsample02/xsample02.cpp Examining data/bmagic-6.3.0/samples/xsample03/xsample03.cpp Examining data/bmagic-6.3.0/samples/xsample04/xsample04.cpp Examining data/bmagic-6.3.0/samples/xsample04a/xsample04a.cpp Examining data/bmagic-6.3.0/samples/xsample05/xsample05.cpp Examining data/bmagic-6.3.0/samples/xsample06/xsample06.cpp Examining data/bmagic-6.3.0/samples/xsample07/cmd_args.h Examining data/bmagic-6.3.0/samples/xsample07/dna_finger.h Examining data/bmagic-6.3.0/samples/xsample07/xsample07.cpp Examining data/bmagic-6.3.0/samples/xsample08/xsample08.cpp Examining data/bmagic-6.3.0/src/bm.h Examining data/bmagic-6.3.0/src/bm64.h Examining data/bmagic-6.3.0/src/bmaggregator.h Examining data/bmagic-6.3.0/src/bmalgo.h Examining data/bmagic-6.3.0/src/bmalgo_impl.h Examining data/bmagic-6.3.0/src/bmalgo_similarity.h Examining data/bmagic-6.3.0/src/bmalloc.h Examining data/bmagic-6.3.0/src/bmavx2.h Examining data/bmagic-6.3.0/src/bmavx512.h Examining data/bmagic-6.3.0/src/bmblocks.h Examining data/bmagic-6.3.0/src/bmbmatrix.h Examining data/bmagic-6.3.0/src/bmbmi1.h Examining data/bmagic-6.3.0/src/bmbmi2.h Examining data/bmagic-6.3.0/src/bmbuffer.h Examining data/bmagic-6.3.0/src/bmconst.h Examining data/bmagic-6.3.0/src/bmdbg.h Examining data/bmagic-6.3.0/src/bmdef.h Examining data/bmagic-6.3.0/src/bmfunc.h Examining data/bmagic-6.3.0/src/bmfwd.h Examining data/bmagic-6.3.0/src/bmgamma.h Examining data/bmagic-6.3.0/src/bmintervals.h Examining data/bmagic-6.3.0/src/bmrandom.h Examining data/bmagic-6.3.0/src/bmrs.h Examining data/bmagic-6.3.0/src/bmserial.h Examining data/bmagic-6.3.0/src/bmsimd.h Examining data/bmagic-6.3.0/src/bmsparsevec.h Examining data/bmagic-6.3.0/src/bmsparsevec_algo.h Examining data/bmagic-6.3.0/src/bmsparsevec_compr.h Examining data/bmagic-6.3.0/src/bmsparsevec_serial.h Examining data/bmagic-6.3.0/src/bmsparsevec_util.h Examining data/bmagic-6.3.0/src/bmsse2.h Examining data/bmagic-6.3.0/src/bmsse4.h Examining data/bmagic-6.3.0/src/bmsse_util.h Examining data/bmagic-6.3.0/src/bmstrsparsevec.h Examining data/bmagic-6.3.0/src/bmtimer.h Examining data/bmagic-6.3.0/src/bmtrans.h Examining data/bmagic-6.3.0/src/bmundef.h Examining data/bmagic-6.3.0/src/bmutil.h Examining data/bmagic-6.3.0/src/bmvmin.h Examining data/bmagic-6.3.0/src/bmxor.h Examining data/bmagic-6.3.0/src/encoding.h Examining data/bmagic-6.3.0/tests/bench-tpch/bench01.cpp Examining data/bmagic-6.3.0/tests/perf/perf.cpp Examining data/bmagic-6.3.0/tests/perf64/perf64.cpp Examining data/bmagic-6.3.0/tests/stress/rlebtv.h Examining data/bmagic-6.3.0/tests/stress/t.cpp Examining data/bmagic-6.3.0/tests/stress64/gena.h Examining data/bmagic-6.3.0/tests/stress64/t64.cpp Examining data/bmagic-6.3.0/tests/stress64/test_util.h Examining data/bmagic-6.3.0/utils/inv_list/inv_list.cpp Examining data/bmagic-6.3.0/utils/lnkutil/bmcompvect.h Examining data/bmagic-6.3.0/utils/lnkutil/lnkutil.cpp Examining data/bmagic-6.3.0/utils/range_idx/range_idx.cpp Examining data/bmagic-6.3.0/utils/svutil/svutil.cpp FINAL RESULTS: data/bmagic-6.3.0/lang-maps/jni/src/bmjni.c:101: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[64]; data/bmagic-6.3.0/lang-maps/test/libbmtest.c:1214: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(sbuf2, sbuf1, blob_size); // imitation of I/O data/bmagic-6.3.0/samples/bvsample14/sample14.cpp:109:11: [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(vect1.data(), sbuf1.buf(), sbuf1.size()); data/bmagic-6.3.0/samples/bvsample14/sample14.cpp:110:11: [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(vect2.data(), sbuf2.buf(), sbuf2.size()); data/bmagic-6.3.0/samples/bvsetalgebra/bvsetalgebra.cpp:88: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(target_buf.data(), sbuf.buf(), sbuf.size()); data/bmagic-6.3.0/samples/rscsample01/rscsample01.cpp:118:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&tmp_buf[0], buf, buf_size); data/bmagic-6.3.0/samples/strsvsample05/strsvsample05.cpp:148: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 s1[16]; char s2[16]; char s3[16]; data/bmagic-6.3.0/samples/strsvsample05/strsvsample05.cpp:148: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. char s1[16]; char s2[16]; char s3[16]; data/bmagic-6.3.0/samples/strsvsample05/strsvsample05.cpp:148:39: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char s1[16]; char s2[16]; char s3[16]; data/bmagic-6.3.0/samples/svsample02/svsample02.cpp:74:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&tmp_buf[0], buf, buf_size); data/bmagic-6.3.0/samples/xsample01/xsample01.cpp:337:11: [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(vbuf.data(), buf.data(), bvs_size); data/bmagic-6.3.0/samples/xsample04a/xsample04a.cpp:98:44: [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). parallel_jobs = unsigned(::atoi(argv[++i])); data/bmagic-6.3.0/samples/xsample07/cmd_args.h:90:44: [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). parallel_jobs = unsigned(::atoi(argv[++i])); data/bmagic-6.3.0/src/bm.h:330:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bits[set_bitscan_wave_size*32]; //!< bit list data/bmagic-6.3.0/src/bm.h:500:15: [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_, iit.buf_, buf_size_ * sizeof(*buf_)); data/bmagic-6.3.0/src/bm.h:525:15: [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_, ii.buf_, buf_size_ * sizeof(*buf_)); data/bmagic-6.3.0/src/bm.h:3087:11: [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(stat->gap_levels, data/bmagic-6.3.0/src/bm.h:3130: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(opt_glen, st.gap_levels, bm::gap_levels * sizeof(*opt_glen)); data/bmagic-6.3.0/src/bm.h:3399: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(st->gap_levels, data/bmagic-6.3.0/src/bmaggregator.h:436: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 carry_overs_[max_aggregator_cap]; /// carry over flags data/bmagic-6.3.0/src/bmalgo_impl.h:1541:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bits[bm::set_bitscan_wave_size*32]; data/bmagic-6.3.0/src/bmalgo_impl.h:1583:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bits[bm::set_bitscan_wave_size*32]; data/bmagic-6.3.0/src/bmblocks.h:842:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(new_block, gap_block, len * sizeof(bm::gap_word_t)); data/bmagic-6.3.0/src/bmblocks.h:997:11: [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(BMGAP_PTR(blk), tmp_buf, res_len * sizeof(gap_word_t)); data/bmagic-6.3.0/src/bmblocks.h:1232:15: [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(gap_blk_ptr, gap_block_src, data/bmagic-6.3.0/src/bmblocks.h:1733:15: [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(ptr, src, len * sizeof(gap_word_t)); data/bmagic-6.3.0/src/bmblocks.h:1809:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&new_blocks[0], &top_blocks_[0], data/bmagic-6.3.0/src/bmbuffer.h:186:15: [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(byte_buf_, in_buf, in_size); data/bmagic-6.3.0/src/bmconst.h:257:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const signed char _idx[256]; data/bmagic-6.3.0/src/bmconst.h:289:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char _count[256]; data/bmagic-6.3.0/src/bmconst.h:311: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 const _lut[16]; data/bmagic-6.3.0/src/bmconst.h:326: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 const _lut[37]; data/bmagic-6.3.0/src/bmfunc.h:856:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&_p_fullp, &magic_mask, sizeof(magic_mask)); data/bmagic-6.3.0/src/bmfunc.h:863:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&_p_fullp, &magic_mask, sizeof(magic_mask)); data/bmagic-6.3.0/src/bmfunc.h:5904: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(dst, src, bm::set_block_size * sizeof(bm::word_t)); data/bmagic-6.3.0/src/bmfunc.h:5923: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(dst, src, bm::set_block_size * sizeof(bm::word_t)); data/bmagic-6.3.0/src/bmrandom.h:442:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char blist[64]; data/bmagic-6.3.0/src/bmserial.h:390: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 models_[bm::block_waves]; data/bmagic-6.3.0/src/bmsparsevec.h:999: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 b_list[sizeof(Val)*8]; data/bmagic-6.3.0/src/bmsparsevec_algo.h:1335:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bits[64]; data/bmagic-6.3.0/src/bmsparsevec_algo.h:1418:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bits[sizeof(value) * 8]; data/bmagic-6.3.0/src/bmsparsevec_algo.h:1465:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bits[sizeof(value) * 8]; data/bmagic-6.3.0/src/bmsparsevec_serial.h:521: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. enc.memcpy(cbuf.buf(), sz); data/bmagic-6.3.0/src/bmsparsevec_serial.h:594: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. dec.memcpy(b.data(), sz); data/bmagic-6.3.0/src/bmsparsevec_serial.h:712:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. enc_m.memcpy(matrix_buf, remap_size); data/bmagic-6.3.0/src/bmsparsevec_serial.h:1134:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. dec_m.memcpy(remap_buf, remap_size); data/bmagic-6.3.0/src/bmtrans.h:789: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(tmp_block, garr, sizeof(GT)*garr_size); data/bmagic-6.3.0/src/bmtrans.h:856: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 pc_vector_[tmatrix_type::n_rows]; data/bmagic-6.3.0/src/bmvmin.h:177:15: [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(m_buf, buf, arr_size * sizeof(bm::word_t)); data/bmagic-6.3.0/src/bmvmin.h:193:15: [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(m_buf, buf, arr_size * sizeof(bm::word_t)); data/bmagic-6.3.0/src/bmvmin.h:309:11: [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(m_buf, bvect.m_buf, arr_size * sizeof(unsigned)); data/bmagic-6.3.0/src/encoding.h:68:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. void memcpy(const unsigned char* src, size_t count) BMNOEXCEPT; data/bmagic-6.3.0/src/encoding.h:98:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. void memcpy(unsigned char* dst, size_t count) BMNOEXCEPT; data/bmagic-6.3.0/src/encoding.h:433: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(buf_, &s, sizeof(bm::short_t)); // optimizer takes care of it data/bmagic-6.3.0/src/encoding.h:448: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(buf_, s, sizeof(bm::short_t)*count); data/bmagic-6.3.0/src/encoding.h:472:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. void encoder::memcpy(const unsigned char* src, size_t count) BMNOEXCEPT data/bmagic-6.3.0/src/encoding.h:476:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buf_, src, count); data/bmagic-6.3.0/src/encoding.h:530: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(buf_, &w, sizeof(bm::word_t)); data/bmagic-6.3.0/src/encoding.h:565: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(buf_, &w, sizeof(bm::id64_t)); data/bmagic-6.3.0/src/encoding.h:587: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(buf_, w, sizeof(bm::word_t) * count); data/bmagic-6.3.0/src/encoding.h:618:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. void decoder_base::memcpy(unsigned char* dst, size_t count) BMNOEXCEPT data/bmagic-6.3.0/src/encoding.h:621:11: [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, buf_, count); data/bmagic-6.3.0/src/encoding.h:643: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(&a, buf_, sizeof(bm::short_t)); data/bmagic-6.3.0/src/encoding.h:672: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(&a, buf_, sizeof(bm::word_t)); data/bmagic-6.3.0/src/encoding.h:707: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(&a, buf_, sizeof(bm::id64_t)); data/bmagic-6.3.0/src/encoding.h:737: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(w, buf_, count * sizeof(bm::word_t)); data/bmagic-6.3.0/src/encoding.h:848: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(s, buf_, sizeof(bm::short_t) * count); data/bmagic-6.3.0/tests/bench-tpch/bench01.cpp:236: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(&buf_vect[0], &temp_buf_vect[0], len); data/bmagic-6.3.0/tests/perf/perf.cpp:315: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(m1, m2, BSIZE/32 * sizeof(unsigned)); data/bmagic-6.3.0/tests/perf/perf.cpp:441: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 bit_list[64]; data/bmagic-6.3.0/tests/perf/perf.cpp:458:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/bmagic-6.3.0/tests/perf/perf.cpp:459: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(buf, "%i", (int)value); // to fool some smart compilers like ICC data/bmagic-6.3.0/tests/perf/perf.cpp:925:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/bmagic-6.3.0/tests/perf/perf.cpp:926: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(buf, "%p", p); data/bmagic-6.3.0/tests/perf/perf.cpp:990:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cbuf[256]; data/bmagic-6.3.0/tests/perf/perf.cpp:991: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(cbuf, "%i ", pos_sum); // attempt to avoid agressive optmizations data/bmagic-6.3.0/tests/perf/perf.cpp:1219:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/bmagic-6.3.0/tests/perf/perf.cpp:1220: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(buf, "%i", cnt); // to fool some smart compilers like ICC data/bmagic-6.3.0/tests/perf/perf.cpp:1298:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cbuf[256] = {0, }; data/bmagic-6.3.0/tests/perf/perf.cpp:1299: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(cbuf, "%u", value); data/bmagic-6.3.0/tests/perf/perf.cpp:2044: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(d2, distance, sizeof(distance)); data/bmagic-6.3.0/tests/perf/perf.cpp:2049:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cbuf[256]; data/bmagic-6.3.0/tests/perf/perf.cpp:2050: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(cbuf, "%i %i", cnt, d2[10][10]); data/bmagic-6.3.0/tests/perf/perf.cpp:2425:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/bmagic-6.3.0/tests/perf/perf.cpp:2426: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(buf, "%i", (int)cnt); // to fool some smart compilers like ICC data/bmagic-6.3.0/tests/perf/perf.cpp:2863:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/bmagic-6.3.0/tests/perf/perf.cpp:2864: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(buf, "%i", (int)cnt); // to fool some smart compilers like ICC data/bmagic-6.3.0/tests/perf/perf.cpp:3217:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/bmagic-6.3.0/tests/perf/perf.cpp:3218:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "%u", sum); // this is to prevent unwanted optimizations by some compilers data/bmagic-6.3.0/tests/stress/rlebtv.h:103:11: [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(m_buf, tmp_buf, (len+1)*sizeof(gap_word_t)); data/bmagic-6.3.0/tests/stress/rlebtv.h:124:11: [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(m_buf, tmp_buf, (len+1)*sizeof(gap_word_t)); data/bmagic-6.3.0/tests/stress/rlebtv.h:145:11: [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(m_buf, tmp_buf, (len+1) * sizeof(gap_word_t)); data/bmagic-6.3.0/tests/stress/rlebtv.h:242:11: [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(m_buf, tmp_buf, (len+1) * sizeof(gap_word_t)); data/bmagic-6.3.0/tests/stress/t.cpp:8145:10: [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(smemv.data(), sermemv1.data(), slen); data/bmagic-6.3.0/tests/stress/t.cpp:12424: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(new_sermem, sermem, slen); data/bmagic-6.3.0/tests/stress/t.cpp:14290: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(glevel, gap_len_table<true>::_len, bm::gap_levels * sizeof(gap_word_t)); data/bmagic-6.3.0/tests/stress/t.cpp:15103: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 BM_VECT_ALIGN block1[arr_size] BM_VECT_ALIGN_ATTR = {0,}; data/bmagic-6.3.0/tests/stress/t.cpp:15105: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 BM_VECT_ALIGN tmatrix1[8][arr_plain_size] BM_VECT_ALIGN_ATTR; data/bmagic-6.3.0/tests/stress/t.cpp:15107: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 pc_vector1[8] = {0,}; data/bmagic-6.3.0/tests/stress/t.cpp:16645:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[20] = {0,}; data/bmagic-6.3.0/tests/stress/t.cpp:16662:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[65536*10] = {0,}; data/bmagic-6.3.0/tests/stress/t.cpp:16793: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 bit_list[64]; data/bmagic-6.3.0/tests/stress/t.cpp:17201:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[1024 * 200] = {0, }; data/bmagic-6.3.0/tests/stress/t.cpp:17375:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[1024 * 200] = {0, }; data/bmagic-6.3.0/tests/stress/t.cpp:17376: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 buf2[1024 * 200] = {0, }; data/bmagic-6.3.0/tests/stress/t.cpp:17753:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf1[2048 * 4] = {0, }; data/bmagic-6.3.0/tests/stress/t.cpp:18206:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&tmp_buf[0], buf, buf_size); data/bmagic-6.3.0/tests/stress/t.cpp:21799: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 str[256]; data/bmagic-6.3.0/tests/stress/t.cpp:22082: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 str[256]; data/bmagic-6.3.0/tests/stress/t.cpp:22133: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 str0[64]; data/bmagic-6.3.0/tests/stress/t.cpp:22134: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 str1[64]; data/bmagic-6.3.0/tests/stress/t.cpp:22192: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 str[256]; data/bmagic-6.3.0/tests/stress/t.cpp:22583:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[256]; data/bmagic-6.3.0/tests/stress/t.cpp:22626: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 s1[256]; data/bmagic-6.3.0/tests/stress/t.cpp:22627: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 s2[256]; data/bmagic-6.3.0/tests/stress/t.cpp:22704: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 s1[256]; data/bmagic-6.3.0/tests/stress/t.cpp:22705: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 s2[256]; data/bmagic-6.3.0/tests/stress/t.cpp:22706: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 s3[256]; data/bmagic-6.3.0/tests/stress/t.cpp:23042:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str1[str_size]; data/bmagic-6.3.0/tests/stress/t.cpp:23043:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str2[str_size]; data/bmagic-6.3.0/tests/stress64/t64.cpp:792:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[20] = {0,}; data/bmagic-6.3.0/tests/stress64/t64.cpp:809:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[65536*10] = {0,}; data/bmagic-6.3.0/tests/stress64/t64.cpp:4859: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(new_sermem, sermem, slen); data/bmagic-6.3.0/tests/stress64/t64.cpp:5011:10: [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(smemv.data(), sermemv1.data(), slen); data/bmagic-6.3.0/tests/stress64/t64.cpp:14050:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[256]; data/bmagic-6.3.0/tests/stress64/t64.cpp:14334:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[256]; data/bmagic-6.3.0/tests/stress64/t64.cpp:14385: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 str0[64]; data/bmagic-6.3.0/tests/stress64/t64.cpp:14386:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str1[64]; data/bmagic-6.3.0/tests/stress64/t64.cpp:14444:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[256]; data/bmagic-6.3.0/tests/stress64/t64.cpp:15323:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str1[str_size]; data/bmagic-6.3.0/tests/stress64/t64.cpp:15324:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str2[str_size]; data/bmagic-6.3.0/tests/stress64/test_util.h:963:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&tmp_buf[0], buf, buf_size); data/bmagic-6.3.0/utils/inv_list/inv_list.cpp:375:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). bv_file.open(bv_out_fname, std::ios::out | std::ios::binary); data/bmagic-6.3.0/utils/inv_list/inv_list.cpp:568:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). bv_file.open(bv_in_fname, std::ios::in | std::ios::binary); data/bmagic-6.3.0/utils/lnkutil/bmcompvect.h:84:11: [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_, vect.data_, sizeof(V) * size_); data/bmagic-6.3.0/utils/lnkutil/bmcompvect.h:117: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(data_, vect.data_, sizeof(V) * size_); data/bmagic-6.3.0/utils/lnkutil/bmcompvect.h:167: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(data_, data_new, sizeof(V) * size_); data/bmagic-6.3.0/samples/bvsample14/sample14.cpp:137:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv1.equal(bv4); data/bmagic-6.3.0/samples/bvsample22/sample22.cpp:149:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv.equal(bv2); // make sure both vectors are the same data/bmagic-6.3.0/samples/bvsample22/sample22.cpp:177:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv4.equal(bv2); // make sure both vectors are the same data/bmagic-6.3.0/samples/rscsample01/rscsample01.cpp:129:19: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!csv3.equal(csv2) ) data/bmagic-6.3.0/samples/rscsample01/rscsample01.cpp:139:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv3.equal(sv1) ) data/bmagic-6.3.0/samples/svsample02/svsample02.cpp:84:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv1.equal(sv2) ) data/bmagic-6.3.0/samples/xsample02/xsample02.cpp:264:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!r_sv.equal(h_sv)) data/bmagic-6.3.0/samples/xsample02/xsample02.cpp:319:19: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!r_sv.equal(h_sv) || !n_sv.equal(h_sv)) data/bmagic-6.3.0/samples/xsample02/xsample02.cpp:319:40: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!r_sv.equal(h_sv) || !n_sv.equal(h_sv)) data/bmagic-6.3.0/samples/xsample02/xsample02.cpp:324:19: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!r_sv.equal(p_sv)) data/bmagic-6.3.0/samples/xsample03/xsample03.cpp:510:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv.equal(sv2)) // diagnostics check (just in case) data/bmagic-6.3.0/src/bm.h:1011:75: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool operator == (const bvector<Alloc>& bv) const BMNOEXCEPT { return equal(bv); } data/bmagic-6.3.0/src/bm.h:1012:76: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool operator != (const bvector<Alloc>& bv) const BMNOEXCEPT { return !equal(bv); } data/bmagic-6.3.0/src/bm.h:1883:10: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal(const bvector<Alloc>& bvect) const BMNOEXCEPT data/bmagic-6.3.0/src/bmbmatrix.h:1477:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv->equal(*arg_bv); data/bmagic-6.3.0/src/bmbmatrix.h:1494:28: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv_null->equal(*bv_null_arg); data/bmagic-6.3.0/src/bmbuffer.h:61:75: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool operator==(const byte_buffer_ptr& lhs) const BMNOEXCEPT { return equal(lhs); } data/bmagic-6.3.0/src/bmbuffer.h:64:10: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal(const byte_buffer_ptr& lhs) const BMNOEXCEPT data/bmagic-6.3.0/src/bmdbg.h:157:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fin.read((char*) &data[0], std::streamsize(fsize)); data/bmagic-6.3.0/src/bmdbg.h:189:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bv_file.read(buffer, length); data/bmagic-6.3.0/src/bmsparsevec.h:670:10: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal(const sparse_vector<Val, BV>& sv, data/bmagic-6.3.0/src/bmsparsevec.h:1890:30: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool sparse_vector<Val, BV>::equal(const sparse_vector<Val, BV>& sv, data/bmagic-6.3.0/src/bmsparsevec.h:1893:25: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return parent_type::equal(sv, null_able); data/bmagic-6.3.0/src/bmsparsevec_algo.h:197:73: [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. bool f = bv_null1->find_first_mismatch(*bv_null2, midx, mismatch); data/bmagic-6.3.0/src/bmsparsevec_algo.h:198:34: [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. if (f && (midx < mismatch)) // better mismatch found data/bmagic-6.3.0/src/bmsparsevec_algo.h:213:74: [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. bool f = bv_null1->find_first_mismatch(bv_tmp, midx, mismatch); data/bmagic-6.3.0/src/bmsparsevec_algo.h:214: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. if (f && (midx < mismatch)) // better mismatch found data/bmagic-6.3.0/src/bmsparsevec_algo.h:225:74: [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. bool f = bv_null2->find_first_mismatch(bv_tmp, midx, mismatch); data/bmagic-6.3.0/src/bmsparsevec_algo.h:226: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. if (f && (midx < mismatch)) // better mismatch found data/bmagic-6.3.0/src/bmsparsevec_algo.h:235:26: [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. for (unsigned i = 0; mismatch & (i < plains1); ++i) data/bmagic-6.3.0/src/bmsparsevec_algo.h:244:30: [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. if (f && (midx < mismatch)) data/bmagic-6.3.0/src/bmsparsevec_algo.h:254:30: [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. if (f && (midx < mismatch)) data/bmagic-6.3.0/src/bmsparsevec_algo.h:262:55: [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. bool f = bv1->find_first_mismatch(*bv2, midx, mismatch); data/bmagic-6.3.0/src/bmsparsevec_algo.h:263:26: [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. if (f && (midx < mismatch)) // better mismatch found data/bmagic-6.3.0/src/bmsparsevec_algo.h:268:37: [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. sv_idx = (bv1->test(mismatch)) ? 1 : 2; data/bmagic-6.3.0/src/bmsparsevec_algo.h:285:49: [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. found = sv1.find_rank(midx + 1, mismatch); data/bmagic-6.3.0/src/bmsparsevec_algo.h:288:49: [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. found = sv2.find_rank(midx + 1, mismatch); data/bmagic-6.3.0/src/bmsparsevec_algo.h:302:66: [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. found = bv_null1->find_first_mismatch(*bv_null2, mismatch); data/bmagic-6.3.0/src/bmsparsevec_algo.h:307:12: [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. midx = mismatch; // minimal mismatch data/bmagic-6.3.0/src/bmsparsevec_compr.h:505:10: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal(const rsc_sparse_vector<Val, SV>& csv) const BMNOEXCEPT; data/bmagic-6.3.0/src/bmsparsevec_compr.h:875:34: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool rsc_sparse_vector<Val, SV>::equal( data/bmagic-6.3.0/src/bmsparsevec_compr.h:882:24: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool same_sv = sv_.equal(csv.sv_); data/bmagic-6.3.0/src/bmsparsevec_util.h:149:10: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal(const bvps_addr_resolver& addr_res) const BMNOEXCEPT; data/bmagic-6.3.0/src/bmsparsevec_util.h:291:10: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal(const compressed_collection<Value, BV>& ccoll) const; data/bmagic-6.3.0/src/bmsparsevec_util.h:534:30: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool bvps_addr_resolver<BV>::equal( data/bmagic-6.3.0/src/bmsparsevec_util.h:537:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return addr_bv_.equal(addr_res.addr_bv_); data/bmagic-6.3.0/src/bmsparsevec_util.h:711:40: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool compressed_collection<Value, BV>::equal( data/bmagic-6.3.0/src/bmstrsparsevec.h:1665:41: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. b = remap_matrix1_.get_buffer().equal(sv.remap_matrix1_.get_buffer()); data/bmagic-6.3.0/src/bmstrsparsevec.h:1668:41: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. b = remap_matrix2_.get_buffer().equal(sv.remap_matrix2_.get_buffer()); data/bmagic-6.3.0/src/bmstrsparsevec.h:1672:25: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return parent_type::equal(sv, null_able); data/bmagic-6.3.0/tests/bench-tpch/bench01.cpp:701:9: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getchar(); data/bmagic-6.3.0/tests/perf/perf.cpp:2317:14: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv2.equal(sv3)) data/bmagic-6.3.0/tests/perf/perf.cpp:3494:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = sv1.equal(sv2); data/bmagic-6.3.0/tests/perf/perf.cpp:3520:14: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = sv1.equal(sv3); data/bmagic-6.3.0/tests/stress/t.cpp:432:19: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv1.equal(bv2); data/bmagic-6.3.0/tests/stress/t.cpp:517:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv2.equal(bv_control); data/bmagic-6.3.0/tests/stress/t.cpp:565:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv2.equal(bv_control); data/bmagic-6.3.0/tests/stress/t.cpp:2270:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress/t.cpp:2284:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress/t.cpp:2299:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress/t.cpp:2313:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress/t.cpp:2327:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress/t.cpp:2341:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress/t.cpp:8241:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:8259:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_r.equal(bv_rd_m); data/bmagic-6.3.0/tests/stress/t.cpp:8264:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_r.equal(bv_rd); data/bmagic-6.3.0/tests/stress/t.cpp:8283:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_r.equal(bv_rd); data/bmagic-6.3.0/tests/stress/t.cpp:8287:28: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_rd.equal(bv_rd_m); data/bmagic-6.3.0/tests/stress/t.cpp:8293:32: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_rd.equal(bv_rd2); data/bmagic-6.3.0/tests/stress/t.cpp:8328:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_r.equal(bv_rd); data/bmagic-6.3.0/tests/stress/t.cpp:8334:24: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_rd.equal(bv_rd_m); data/bmagic-6.3.0/tests/stress/t.cpp:10820:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool b = bv0.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:11429:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. auto eq = bv3.equal(bv2); data/bmagic-6.3.0/tests/stress/t.cpp:11437:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv4.equal(bv2); data/bmagic-6.3.0/tests/stress/t.cpp:11442:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv5.equal(bv2); data/bmagic-6.3.0/tests/stress/t.cpp:11474:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. auto eq = bv3.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:11482:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv4.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:11487:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv5.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:11495:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv6.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:11501:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv7.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:11549:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. auto eq = bv3.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:11557:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv4.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:11562:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv5.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:11570:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv6.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:11576:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv7.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:12509:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = sv1.equal(sv2); data/bmagic-6.3.0/tests/stress/t.cpp:12537:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = sv_r.equal(sv4); data/bmagic-6.3.0/tests/stress/t.cpp:12559:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = sv1.equal(sv3); data/bmagic-6.3.0/tests/stress/t.cpp:12594:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = sv_r.equal(sv4); data/bmagic-6.3.0/tests/stress/t.cpp:13579:30: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:13590:34: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress/t.cpp:13886:19: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(bv.equal(bvc)); data/bmagic-6.3.0/tests/stress/t.cpp:18026:13: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv.equal(sv2) ) data/bmagic-6.3.0/tests/stress/t.cpp:18057:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool b = sv1.equal(sv2); data/bmagic-6.3.0/tests/stress/t.cpp:18136:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool b = svv1.equal(svv2, is_null); data/bmagic-6.3.0/tests/stress/t.cpp:18144:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. b = svv1.equal(svv2, is_null); data/bmagic-6.3.0/tests/stress/t.cpp:18169:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool b = sv1.equal(sv3, is_null); data/bmagic-6.3.0/tests/stress/t.cpp:18240:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv1.equal(sv3, is_null) ) data/bmagic-6.3.0/tests/stress/t.cpp:18246:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv2.equal(sv3, is_null) ) data/bmagic-6.3.0/tests/stress/t.cpp:18525:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv1.equal(sv2) ) data/bmagic-6.3.0/tests/stress/t.cpp:19679:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool f = bv_m.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:19689:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool f = bv_m.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:19721:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool f = bv_m.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:19730:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool f = bv_m.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:19764:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool f = bv_m.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:19772:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool f = bv_m.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:19797:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool f = bv_m.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:19805:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool f = bv_m.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:19816:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool f = bv_m.equal(bv_c); data/bmagic-6.3.0/tests/stress/t.cpp:20063:38: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool is_eq = sv1.equal(sv4); data/bmagic-6.3.0/tests/stress/t.cpp:20084:37: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. is_eq = sv_filt.equal(sv_range); data/bmagic-6.3.0/tests/stress/t.cpp:20090:33: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. is_eq = sv2.equal(sv_range); data/bmagic-6.3.0/tests/stress/t.cpp:20102:33: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. is_eq = sv2.equal(sv3); data/bmagic-6.3.0/tests/stress/t.cpp:20203:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv1.equal(sv2)) data/bmagic-6.3.0/tests/stress/t.cpp:20237:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv1.equal(sv2)) data/bmagic-6.3.0/tests/stress/t.cpp:20537:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool same = sv2.equal(sv1); data/bmagic-6.3.0/tests/stress/t.cpp:21988:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(hmatr.row(0), cs0, hmatr.cols()); data/bmagic-6.3.0/tests/stress/t.cpp:21989:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(hmatr.row(1), cs1, hmatr.cols()); data/bmagic-6.3.0/tests/stress/t.cpp:21990:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(hmatr.row(2), cs2, hmatr.cols()); data/bmagic-6.3.0/tests/stress/t.cpp:22049:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = str_sv0.equal(str_sv2); data/bmagic-6.3.0/tests/stress/t.cpp:22253:34: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal = str_sv1.equal(str_sv0); data/bmagic-6.3.0/tests/stress/t.cpp:22254:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(!equal); data/bmagic-6.3.0/tests/stress/t.cpp:22257:29: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. equal = str_sv1.equal(str_sv2); data/bmagic-6.3.0/tests/stress/t.cpp:22258:20: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(equal); data/bmagic-6.3.0/tests/stress/t.cpp:22263:34: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal = str_sv1.equal(str_sv2); data/bmagic-6.3.0/tests/stress/t.cpp:22264:20: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(equal); data/bmagic-6.3.0/tests/stress/t.cpp:22350:30: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal = str_sv1.equal(str_sv2); data/bmagic-6.3.0/tests/stress/t.cpp:22351:16: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(equal); data/bmagic-6.3.0/tests/stress/t.cpp:22643:31: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = str_sv2.equal(str_sv3); data/bmagic-6.3.0/tests/stress/t.cpp:22647:24: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = str_r.equal(str_sv3); data/bmagic-6.3.0/tests/stress/t.cpp:22725:31: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = str_sv2.equal(str_sv3); data/bmagic-6.3.0/tests/stress/t.cpp:22729:24: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = str_r.equal(str_sv3); data/bmagic-6.3.0/tests/stress/t.cpp:23012:29: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal = str_sv.equal(str_sv2); data/bmagic-6.3.0/tests/stress/t.cpp:23013:16: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(equal); data/bmagic-6.3.0/tests/stress/t.cpp:23032:35: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal = str_sv_remap.equal(str_sv2); data/bmagic-6.3.0/tests/stress/t.cpp:23033:16: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(equal); data/bmagic-6.3.0/tests/stress/t.cpp:23616:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bv_file.read((char*)&bv_size, sizeof(bv_size)); data/bmagic-6.3.0/tests/stress/t.cpp:23630:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bv_file.read((char*)buffer, bv_size); data/bmagic-6.3.0/tests/stress/t.cpp:23719:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bv_file.read((char*)&bv_size, sizeof(bv_size)); data/bmagic-6.3.0/tests/stress/t.cpp:23725:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bv_file.read((char*)buffer, bv_size); data/bmagic-6.3.0/tests/stress/t.cpp:23747:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bv_file.read((char*)&bv_size, sizeof(bv_size)); data/bmagic-6.3.0/tests/stress/t.cpp:23761:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bv_file.read((char*)buffer, bv_size); data/bmagic-6.3.0/tests/stress/t.cpp:24644:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool same = ares.equal(ares2); data/bmagic-6.3.0/tests/stress/t.cpp:24649:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. same = ares.equal(ares3); data/bmagic-6.3.0/tests/stress/t.cpp:24770:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv.equal(bv_control); data/bmagic-6.3.0/tests/stress/t.cpp:24774:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv.equal(bv_control); data/bmagic-6.3.0/tests/stress/t.cpp:25035:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_c.equal(bv1); data/bmagic-6.3.0/tests/stress/t.cpp:25037:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_c.equal(bv2); data/bmagic-6.3.0/tests/stress/t.cpp:25209:15: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!cbc2.equal(cbc)) data/bmagic-6.3.0/tests/stress/t.cpp:25241:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!cbc2.equal(cbc1)) data/bmagic-6.3.0/tests/stress/t.cpp:26364:14: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!csv.equal(csv1)) data/bmagic-6.3.0/tests/stress/t.cpp:26551:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. ::strncpy(r, "abcd", hm.cols()); data/bmagic-6.3.0/tests/stress/t.cpp:26574:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(csv1.equal(csv1)); data/bmagic-6.3.0/tests/stress/t.cpp:26576:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(csv1.equal(csv2)); data/bmagic-6.3.0/tests/stress/t.cpp:26578:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(csv3.equal(csv2)); data/bmagic-6.3.0/tests/stress/t.cpp:26630:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool same = csv2.equal(csv1); data/bmagic-6.3.0/tests/stress/t.cpp:26635:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. same = csv3.equal(csv1); data/bmagic-6.3.0/tests/stress/t.cpp:27006:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool same = csv1.equal(csv2); data/bmagic-6.3.0/tests/stress/t.cpp:27195:32: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = csv2.equal(csv3); data/bmagic-6.3.0/tests/stress64/t64.cpp:1777:30: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv.equal(bv_c); data/bmagic-6.3.0/tests/stress64/t64.cpp:2760:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = bv2.equal(bv_control); data/bmagic-6.3.0/tests/stress64/t64.cpp:5259:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv.equal(bv_c); data/bmagic-6.3.0/tests/stress64/t64.cpp:5277:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_r.equal(bv_rd_m); data/bmagic-6.3.0/tests/stress64/t64.cpp:5282:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_r.equal(bv_rd); data/bmagic-6.3.0/tests/stress64/t64.cpp:5301:27: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_r.equal(bv_rd); data/bmagic-6.3.0/tests/stress64/t64.cpp:5305:28: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_rd.equal(bv_rd_m); data/bmagic-6.3.0/tests/stress64/t64.cpp:5311:32: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_rd.equal(bv_rd2); data/bmagic-6.3.0/tests/stress64/t64.cpp:5346:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_r.equal(bv_rd); data/bmagic-6.3.0/tests/stress64/t64.cpp:5352:24: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_rd.equal(bv_rd_m); data/bmagic-6.3.0/tests/stress64/t64.cpp:6252:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool same = ares.equal(ares2); data/bmagic-6.3.0/tests/stress64/t64.cpp:6257:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. same = ares.equal(ares3); data/bmagic-6.3.0/tests/stress64/t64.cpp:6590:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv_r.equal(bv_od_r); data/bmagic-6.3.0/tests/stress64/t64.cpp:10737:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv1.equal(sv2) ) data/bmagic-6.3.0/tests/stress64/t64.cpp:11925:34: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool is_eq = sv2.equal(sv3); data/bmagic-6.3.0/tests/stress64/t64.cpp:12006:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv1.equal(sv2)) data/bmagic-6.3.0/tests/stress64/t64.cpp:12040:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv1.equal(sv2)) data/bmagic-6.3.0/tests/stress64/t64.cpp:12207:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = sv1.equal(sv2); data/bmagic-6.3.0/tests/stress64/t64.cpp:12232:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = sv1.equal(sv3); data/bmagic-6.3.0/tests/stress64/t64.cpp:12933:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool same = sv2.equal(sv1); data/bmagic-6.3.0/tests/stress64/t64.cpp:13460:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(csv1.equal(csv1)); data/bmagic-6.3.0/tests/stress64/t64.cpp:13462:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(csv1.equal(csv2)); data/bmagic-6.3.0/tests/stress64/t64.cpp:13464:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(csv3.equal(csv2)); data/bmagic-6.3.0/tests/stress64/t64.cpp:13513:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool same = csv2.equal(csv1); data/bmagic-6.3.0/tests/stress64/t64.cpp:13518:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. same = csv3.equal(csv1); data/bmagic-6.3.0/tests/stress64/t64.cpp:13728:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool same = csv1.equal(csv2); data/bmagic-6.3.0/tests/stress64/t64.cpp:14240:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(hmatr.row(0), cs0, hmatr.cols()); data/bmagic-6.3.0/tests/stress64/t64.cpp:14241:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(hmatr.row(1), cs1, hmatr.cols()); data/bmagic-6.3.0/tests/stress64/t64.cpp:14242:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(hmatr.row(2), cs2, hmatr.cols()); data/bmagic-6.3.0/tests/stress64/t64.cpp:14301:31: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = str_sv0.equal(str_sv2); data/bmagic-6.3.0/tests/stress64/t64.cpp:14505:34: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal = str_sv1.equal(str_sv0); data/bmagic-6.3.0/tests/stress64/t64.cpp:14506:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(!equal); data/bmagic-6.3.0/tests/stress64/t64.cpp:14509:29: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. equal = str_sv1.equal(str_sv2); data/bmagic-6.3.0/tests/stress64/t64.cpp:14510:20: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(equal); data/bmagic-6.3.0/tests/stress64/t64.cpp:14515:34: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal = str_sv1.equal(str_sv2); data/bmagic-6.3.0/tests/stress64/t64.cpp:14516:20: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(equal); data/bmagic-6.3.0/tests/stress64/t64.cpp:14602:30: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal = str_sv1.equal(str_sv2); data/bmagic-6.3.0/tests/stress64/t64.cpp:14603:16: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(equal); data/bmagic-6.3.0/tests/stress64/t64.cpp:15293:29: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal = str_sv.equal(str_sv2); data/bmagic-6.3.0/tests/stress64/t64.cpp:15294:16: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(equal); data/bmagic-6.3.0/tests/stress64/t64.cpp:15313:35: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal = str_sv_remap.equal(str_sv2); data/bmagic-6.3.0/tests/stress64/t64.cpp:15314:16: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. assert(equal); data/bmagic-6.3.0/tests/stress64/t64.cpp:15757:15: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!cbc2.equal(cbc)) data/bmagic-6.3.0/tests/stress64/t64.cpp:15789:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!cbc2.equal(cbc1)) data/bmagic-6.3.0/tests/stress64/test_util.h:279:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress64/test_util.h:291:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress64/test_util.h:303:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress64/test_util.h:315:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress64/test_util.h:327:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress64/test_util.h:339:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. eq = bv2.equal(bv2_c); data/bmagic-6.3.0/tests/stress64/test_util.h:464:13: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv.equal(sv2) ) data/bmagic-6.3.0/tests/stress64/test_util.h:695:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!csv.equal(csv1)) data/bmagic-6.3.0/tests/stress64/test_util.h:814:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool b = sv1.equal(sv2); data/bmagic-6.3.0/tests/stress64/test_util.h:893:23: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool b = svv1.equal(svv2, is_null); data/bmagic-6.3.0/tests/stress64/test_util.h:901:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. b = svv1.equal(svv2, is_null); data/bmagic-6.3.0/tests/stress64/test_util.h:926:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool b = sv1.equal(sv3, is_null); data/bmagic-6.3.0/tests/stress64/test_util.h:997:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv1.equal(sv3, is_null) ) data/bmagic-6.3.0/tests/stress64/test_util.h:1003:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!sv2.equal(sv3, is_null)) data/bmagic-6.3.0/utils/inv_list/inv_list.cpp:234:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fin.read((char*) &len, std::streamsize(sizeof(len))); data/bmagic-6.3.0/utils/inv_list/inv_list.cpp:241:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fin.read((char*) &vec[0], std::streamsize(len*sizeof(value_type))); data/bmagic-6.3.0/utils/inv_list/inv_list.cpp:521:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bv_file.read((char*) &len, std::streamsize(sizeof(len))); data/bmagic-6.3.0/utils/inv_list/inv_list.cpp:528:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bv_file.read((char*) sbuf.data(), std::streamsize(len)); data/bmagic-6.3.0/utils/lnkutil/lnkutil.cpp:346:10: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal(const sparse_vector_u32& sv) const; data/bmagic-6.3.0/utils/lnkutil/lnkutil.cpp:410:24: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool compress_svector::equal(const sparse_vector_u32& sv) const data/bmagic-6.3.0/utils/svutil/svutil.cpp:535:37: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool eq = sv_u32_in.equal(sv_u32_out); ANALYSIS SUMMARY: Hits = 361 Lines analyzed = 131142 in approximately 2.76 seconds (47432 lines/second) Physical Source Lines of Code (SLOC) = 94159 Hits@level = [0] 268 [1] 224 [2] 137 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 629 [1+] 361 [2+] 137 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 6.68019 [1+] 3.83394 [2+] 1.45499 [3+] 0 [4+] 0 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.