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/libbs2b-3.1.0+dfsg/src/bs2b.h Examining data/libbs2b-3.1.0+dfsg/src/bs2btypes.h Examining data/libbs2b-3.1.0+dfsg/src/bs2bclass.h Examining data/libbs2b-3.1.0+dfsg/src/bs2bversion.h Examining data/libbs2b-3.1.0+dfsg/src/bs2b.c Examining data/libbs2b-3.1.0+dfsg/src/bs2bclass.cpp Examining data/libbs2b-3.1.0+dfsg/src/bs2bstream.c Examining data/libbs2b-3.1.0+dfsg/src/bs2bconvert.c FINAL RESULTS: data/libbs2b-3.1.0+dfsg/src/bs2bconvert.c:117:14: [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). feed = atoi( argv[ i ] ); data/libbs2b-3.1.0+dfsg/src/bs2bconvert.c:123:14: [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). fcut = atoi( argv[ i ] ); data/libbs2b-3.1.0+dfsg/src/bs2bstream.c:115:12: [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). bits = atoi( argv[ i ] ); data/libbs2b-3.1.0+dfsg/src/bs2bstream.c:161:14: [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). feed = atoi( argv[ i ] ); data/libbs2b-3.1.0+dfsg/src/bs2bstream.c:167:14: [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). fcut = atoi( argv[ i ] ); ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 2420 in approximately 0.17 seconds (14129 lines/second) Physical Source Lines of Code (SLOC) = 1690 Hits@level = [0] 21 [1] 0 [2] 5 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 26 [1+] 5 [2+] 5 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 15.3846 [1+] 2.95858 [2+] 2.95858 [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.