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/slgdbm-1.7.1/gdbm-module.c FINAL RESULTS: data/slgdbm-1.7.1/gdbm-module.c:124:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k.dsize=strlen(key); data/slgdbm-1.7.1/gdbm-module.c:126:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). v.dsize=strlen(value); data/slgdbm-1.7.1/gdbm-module.c:152:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k.dsize=strlen(key); data/slgdbm-1.7.1/gdbm-module.c:191:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k.dsize=strlen(key); data/slgdbm-1.7.1/gdbm-module.c:217:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k.dsize=strlen(key); data/slgdbm-1.7.1/gdbm-module.c:629:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k.dsize=strlen(key); data/slgdbm-1.7.1/gdbm-module.c:676:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k.dsize=strlen(key); data/slgdbm-1.7.1/gdbm-module.c:679:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). v.dsize=strlen(val); ANALYSIS SUMMARY: Hits = 8 Lines analyzed = 1165 in approximately 0.05 seconds (25026 lines/second) Physical Source Lines of Code (SLOC) = 785 Hits@level = [0] 0 [1] 8 [2] 0 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 8 [1+] 8 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 10.1911 [1+] 10.1911 [2+] 0 [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.