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/libbit-vector-perl-7.4/BitVector.h Examining data/libbit-vector-perl-7.4/ToolBox.h Examining data/libbit-vector-perl-7.4/examples/test.c Examining data/libbit-vector-perl-7.4/BitVector.c FINAL RESULTS: data/libbit-vector-perl-7.4/ToolBox.h:118:46: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. #define blockdef(name,size) unsigned char name[size] data/libbit-vector-perl-7.4/ToolBox.h:119:54: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. #define blocktypedef(name,size) typedef unsigned char name[size] data/libbit-vector-perl-7.4/BitVector.c:1725:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen((char *) string); data/libbit-vector-perl-7.4/BitVector.c:1796:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen((char *) string); data/libbit-vector-perl-7.4/BitVector.c:1960:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen((char *) string); ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 4629 in approximately 0.14 seconds (33057 lines/second) Physical Source Lines of Code (SLOC) = 3654 Hits@level = [0] 7 [1] 3 [2] 2 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 12 [1+] 5 [2+] 2 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 3.28407 [1+] 1.36836 [2+] 0.547345 [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.