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/mh-book-200605/examples/mh/execit/execit.c Examining data/mh-book-200605/examples/mh/iso2asc/iso2asc.c FINAL RESULTS: data/mh-book-200605/examples/mh/iso2asc/iso2asc.c:301:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(((i & 15) == 15) ? "%4s\n" : "%4s ", iso2asc[table][i]); data/mh-book-200605/examples/mh/iso2asc/iso2asc.c:23:1: [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 inbuf[BUF_LENGTH]; data/mh-book-200605/examples/mh/iso2asc/iso2asc.c:24:1: [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 outbuf[4*BUF_LENGTH]; data/mh-book-200605/examples/mh/iso2asc/iso2asc.c:85:8: [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. static char *iso2asc[ISO_TABLES][96] = {{ ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 431 in approximately 0.05 seconds (8977 lines/second) Physical Source Lines of Code (SLOC) = 279 Hits@level = [0] 33 [1] 0 [2] 3 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 37 [1+] 4 [2+] 4 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 132.616 [1+] 14.3369 [2+] 14.3369 [3+] 3.58423 [4+] 3.58423 [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.