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/vdesk-1.2/vdesk.c FINAL RESULTS: data/vdesk-1.2/vdesk.c:130:5: [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(PACKAGE_STRING " by Adam Sampson\n" data/vdesk-1.2/vdesk.c:149:17: [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. int c = getopt(argc, argv, "+?"); ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 217 in approximately 0.02 seconds (14268 lines/second) Physical Source Lines of Code (SLOC) = 162 Hits@level = [0] 4 [1] 0 [2] 0 [3] 1 [4] 1 [5] 0 Hits@level+ = [0+] 6 [1+] 2 [2+] 2 [3+] 2 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 37.037 [1+] 12.3457 [2+] 12.3457 [3+] 12.3457 [4+] 6.17284 [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.