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/jack-midi-clock-0.4.3/jack_mclk_dump.c Examining data/jack-midi-clock-0.4.3/jack_midi_clock.c FINAL RESULTS: data/jack-midi-clock-0.4.3/jack_mclk_dump.c:400:15: [3] (buffer) getopt_long: 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 ((c = getopt_long (argc, argv, data/jack-midi-clock-0.4.3/jack_midi_clock.c:570:15: [3] (buffer) getopt_long: 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 ((c = getopt_long (argc, argv, data/jack-midi-clock-0.4.3/jack_mclk_dump.c:347:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&s->pt, t, sizeof(timenfo)); data/jack-midi-clock-0.4.3/jack_midi_clock.c:140:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). (void) read(wake_main_read, &c, sizeof(c)); ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 1171 in approximately 0.08 seconds (14893 lines/second) Physical Source Lines of Code (SLOC) = 823 Hits@level = [0] 55 [1] 1 [2] 1 [3] 2 [4] 0 [5] 0 Hits@level+ = [0+] 59 [1+] 4 [2+] 3 [3+] 2 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 71.6889 [1+] 4.86027 [2+] 3.6452 [3+] 2.43013 [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.