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/fizmo-console-0.7.13/src/fizmo-console/fizmo-console.c FINAL RESULTS: data/fizmo-console-0.7.13/src/fizmo-console/fizmo-console.c:393:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). line_length = atoi(argv[i]); data/fizmo-console-0.7.13/src/fizmo-console/fizmo-console.c:158:16: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((input = fgetc(stdin)) == EOF) data/fizmo-console-0.7.13/src/fizmo-console/fizmo-console.c:175:18: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((input = fgetc(stdin)) == EOF) data/fizmo-console-0.7.13/src/fizmo-console/fizmo-console.c:200:12: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). result = getchar(); data/fizmo-console-0.7.13/src/fizmo-console/fizmo-console.c:213:16: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((input = fgetc(stdin)) == EOF) data/fizmo-console-0.7.13/src/fizmo-console/fizmo-console.c:226:18: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((input = fgetc(stdin)) == EOF) ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 472 in approximately 0.03 seconds (15013 lines/second) Physical Source Lines of Code (SLOC) = 350 Hits@level = [0] 2 [1] 5 [2] 1 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 8 [1+] 6 [2+] 1 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 22.8571 [1+] 17.1429 [2+] 2.85714 [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.