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/wzip-1.1.5/wzip.c FINAL RESULTS: data/wzip-1.1.5/wzip.c:346:3: [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. char st[256]; data/wzip-1.1.5/wzip.c:261:6: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c0=getchar(); data/wzip-1.1.5/wzip.c:264:6: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c1=getchar(); data/wzip-1.1.5/wzip.c:267:6: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c2=getchar(); data/wzip-1.1.5/wzip.c:352:11: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). st[i]=getchar(); ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 455 in approximately 0.03 seconds (15002 lines/second) Physical Source Lines of Code (SLOC) = 285 Hits@level = [0] 28 [1] 4 [2] 1 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 33 [1+] 5 [2+] 1 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 115.789 [1+] 17.5439 [2+] 3.50877 [3+] 0 [4+] 0 [5+] 0 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.