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/mpm-itk-2.4.7-04/mpm_default.h Examining data/mpm-itk-2.4.7-04/seccomp.c Examining data/mpm-itk-2.4.7-04/mpm_itk.c Examining data/mpm-itk-2.4.7-04/seccomp.h FINAL RESULTS: data/mpm-itk-2.4.7-04/mpm_itk.c:284:9: [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 my_vhost[sizeof(ws->vhost)]; data/mpm-itk-2.4.7-04/mpm_itk.c:528:22: [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). ap_itk_min_uid = atoi(min_arg); data/mpm-itk-2.4.7-04/mpm_itk.c:529:22: [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). ap_itk_max_uid = atoi(max_arg); data/mpm-itk-2.4.7-04/mpm_itk.c:540:22: [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). ap_itk_min_gid = atoi(min_arg); data/mpm-itk-2.4.7-04/mpm_itk.c:541:22: [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). ap_itk_max_gid = atoi(max_arg); data/mpm-itk-2.4.7-04/mpm_itk.c:610:32: [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). sconf->max_clients_vhost = atoi(arg); data/mpm-itk-2.4.7-04/mpm_itk.c:617:22: [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). int nice_value = atoi(arg); ANALYSIS SUMMARY: Hits = 7 Lines analyzed = 1017 in approximately 0.06 seconds (17681 lines/second) Physical Source Lines of Code (SLOC) = 680 Hits@level = [0] 0 [1] 0 [2] 7 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 7 [1+] 7 [2+] 7 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 10.2941 [1+] 10.2941 [2+] 10.2941 [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.