Flawfinder version 1.26, (C) 2001-2004 David A. Wheeler. Number of dangerous functions in C/C++ ruleset: 158 Examining multiple-bugs-fixed.c multiple-bugs-fixed.c:101: [4] (format) sprintf: Potential format string problem. Make format string constant. multiple-bugs-fixed.c:105: [4] (shell) system: This causes a new program to execute and is difficult to use safely. try using a library call that implements the same functionality if available. multiple-bugs-fixed.c:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated (it could cause a crash if unprotected). Hits = 3 Lines analyzed = 111 in 0.52 seconds (4833 lines/second) Physical Source Lines of Code (SLOC) = 91 Hits@level = [0] 0 [1] 1 [2] 0 [3] 0 [4] 2 [5] 0 Hits@level+ = [0+] 3 [1+] 3 [2+] 2 [3+] 2 [4+] 2 [5+] 0 Hits/KSLOC@level+ = [0+] 32.967 [1+] 32.967 [2+] 21.978 [3+] 21.978 [4+] 21.978 [5+] 0 Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code!