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/nim-kexpr-0.0.2/kexpr/kexpr-c.c Examining data/nim-kexpr-0.0.2/kexpr/kexpr-c.h FINAL RESULTS: data/nim-kexpr-0.0.2/kexpr/kexpr-c.c:162:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(dst, src, n); ANALYSIS SUMMARY: Hits = 1 Lines analyzed = 604 in approximately 0.04 seconds (16435 lines/second) Physical Source Lines of Code (SLOC) = 522 Hits@level = [0] 6 [1] 1 [2] 0 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 7 [1+] 1 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 13.41 [1+] 1.91571 [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.