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/liwc-1.21/ccmtcnvt.c Examining data/liwc-1.21/cstr.c Examining data/liwc-1.21/entrigraph.c Examining data/liwc-1.21/rmccmt.c Examining data/liwc-1.21/untrigraph.c FINAL RESULTS: data/liwc-1.21/ccmtcnvt.c:172:16: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((opt = getopt(argc, argv, "hv")) != EOF) { data/liwc-1.21/cstr.c:112:16: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((opt = getopt(argc, argv, "hv")) != EOF) { data/liwc-1.21/ccmtcnvt.c:195:7: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/liwc-1.21/cstr.c:141:7: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/liwc-1.21/entrigraph.c:36:14: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = getc(f)) != EOF) { data/liwc-1.21/rmccmt.c:64:14: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = getc(f)) != EOF) { data/liwc-1.21/untrigraph.c:60:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((c1=getc(f)) != EOF && (c2=getc(f)) != EOF) data/liwc-1.21/untrigraph.c:60:33: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((c1=getc(f)) != EOF && (c2=getc(f)) != EOF) data/liwc-1.21/untrigraph.c:61:8: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c3 = getc(f); data/liwc-1.21/untrigraph.c:70:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c3 = getc(f); data/liwc-1.21/untrigraph.c:77:12: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((c1=getc(f)) != EOF && (c2=getc(f)) != EOF) data/liwc-1.21/untrigraph.c:77:35: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((c1=getc(f)) != EOF && (c2=getc(f)) != EOF) data/liwc-1.21/untrigraph.c:78:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c3 = getc(f); ANALYSIS SUMMARY: Hits = 13 Lines analyzed = 738 in approximately 0.05 seconds (14172 lines/second) Physical Source Lines of Code (SLOC) = 431 Hits@level = [0] 4 [1] 11 [2] 0 [3] 2 [4] 0 [5] 0 Hits@level+ = [0+] 17 [1+] 13 [2+] 2 [3+] 2 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 39.4432 [1+] 30.1624 [2+] 4.64037 [3+] 4.64037 [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.