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/gtools-3.8.2/src/gtools.h Examining data/gtools-3.8.2/src/roman2int.c Examining data/gtools-3.8.2/src/setTCPNoDelay.c Examining data/gtools-3.8.2/src/gtools_load.c FINAL RESULTS: data/gtools-3.8.2/src/setTCPNoDelay.c:28:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy( status_str, data/gtools-3.8.2/src/setTCPNoDelay.c:66:7: [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( status_str, data/gtools-3.8.2/src/setTCPNoDelay.c:72:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(status_str, strerror(status), status_len); ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 209 in approximately 0.05 seconds (3938 lines/second) Physical Source Lines of Code (SLOC) = 157 Hits@level = [0] 0 [1] 3 [2] 0 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 3 [1+] 3 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 19.1083 [1+] 19.1083 [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.