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/eql-1.2.ds1/eql_enslave.c FINAL RESULTS: data/eql-1.2.ds1/eql_enslave.c:45:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (master_name, argv[1]); data/eql-1.2.ds1/eql_enslave.c:46:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (slaving_request.slave_name, argv[2]); data/eql-1.2.ds1/eql_enslave.c:59:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (ifr.ifr_name, slaving_request.slave_name); data/eql-1.2.ds1/eql_enslave.c:67:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (ifr.ifr_name, master_name); data/eql-1.2.ds1/eql_enslave.c:83:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (ifr.ifr_name, master_name); data/eql-1.2.ds1/eql_enslave.c:100:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (ifr.ifr_name, name); data/eql-1.2.ds1/eql_enslave.c:35:3: [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 master_name[16]; data/eql-1.2.ds1/eql_enslave.c:47:30: [2] (integer) atol: 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). slaving_request.priority = atol (argv[3]); ANALYSIS SUMMARY: Hits = 8 Lines analyzed = 117 in approximately 0.02 seconds (6347 lines/second) Physical Source Lines of Code (SLOC) = 87 Hits@level = [0] 3 [1] 0 [2] 2 [3] 0 [4] 6 [5] 0 Hits@level+ = [0+] 11 [1+] 8 [2+] 8 [3+] 6 [4+] 6 [5+] 0 Hits/KSLOC@level+ = [0+] 126.437 [1+] 91.954 [2+] 91.954 [3+] 68.9655 [4+] 68.9655 [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.