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/libapache2-mod-lookup-identity-1.0.0/mod_lookup_identity.c FINAL RESULTS: data/libapache2-mod-lookup-identity-1.0.0/mod_lookup_identity.c:305:5: [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(p + 2, args[i]); data/libapache2-mod-lookup-identity-1.0.0/mod_lookup_identity.c:304:5: [2] (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). Risk is low because the source is a constant string. strcpy(p, ", "); data/libapache2-mod-lookup-identity-1.0.0/mod_lookup_identity.c:351:12: [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). start = atol(start_index); data/libapache2-mod-lookup-identity-1.0.0/mod_lookup_identity.c:299:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). total_args_length += strlen(args[i]) + 2; data/libapache2-mod-lookup-identity-1.0.0/mod_lookup_identity.c:306:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(args[i]) + 2; data/libapache2-mod-lookup-identity-1.0.0/mod_lookup_identity.c:577:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (values && strlen(out_name)) { ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 804 in approximately 0.04 seconds (21866 lines/second) Physical Source Lines of Code (SLOC) = 734 Hits@level = [0] 0 [1] 3 [2] 2 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 6 [1+] 6 [2+] 3 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 8.17439 [1+] 8.17439 [2+] 4.08719 [3+] 1.3624 [4+] 1.3624 [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.