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/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c Examining data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c FINAL RESULTS: data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:1106:2: [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(server_state, APACHE_RADIUS_MAGIC_STATE); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:302:17: [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. #define DPRINTF printf data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:1084:2: [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(server_state, APACHE_RADIUS_MAGIC_STATE); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:330:12: [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. unsigned char data[1]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:338:12: [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. unsigned char vector[RADIUS_RANDOM_VECTOR_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:431:28: [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. get_random_vector(unsigned char vector[RADIUS_RANDOM_VECTOR_LEN]) data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:493:12: [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). port = atoi(p); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:509: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). scr->retries = atoi(p); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:511:17: [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). scr->wait = atoi(wait); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:545:18: [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). scr->timeout = atoi(arg); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:553:35: [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 *)(struct_ptr + offset) = atoi(arg); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:599:17: [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. unsigned char vector[RADIUS_RANDOM_VECTOR_LEN]) data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:605:12: [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. unsigned char calculated[RADIUS_RANDOM_VECTOR_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:606:12: [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. unsigned char reply[RADIUS_RANDOM_VECTOR_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:612:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(reply, packet->vector, RADIUS_RANDOM_VECTOR_LEN); /* save the reply */ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:613:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(packet->vector, vector, RADIUS_RANDOM_VECTOR_LEN); /* sent vector */ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:636:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p->data, data, length); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:644: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 one[COOKIE_SIZE], two[COOKIE_SIZE]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:751:5: [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 buffer[1024]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:814:12: [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. unsigned char misc[RADIUS_RANDOM_VECTOR_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:816:12: [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. unsigned char password[128]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:820:12: [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. unsigned char send_buffer[RADIUS_PACKET_SEND_SIZE]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:833:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(password, passwd_in, i); /* don't use strcpy! */ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:846:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(packet->vector, vector, RADIUS_RANDOM_VECTOR_LEN); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:1012:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(STRING, ATTR->data, len); \ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:1025:12: [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. unsigned char vector[RADIUS_RANDOM_VECTOR_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:1026:12: [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. unsigned char recv_buffer[RADIUS_PACKET_RECV_SIZE]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:1075:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&i, a_timeout->data, 4); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:1091:2: [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 server_state[256]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:1174: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 errstr[MAX_STRING_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:1178: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 message[256]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:320:12: [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. unsigned char data[1]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:328:12: [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. unsigned char vector[RADIUS_RANDOM_VECTOR_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:415:28: [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. get_random_vector(unsigned char vector[RADIUS_RANDOM_VECTOR_LEN]) data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:474:12: [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). port = atoi(p); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:490: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). scr->retries = atoi(p); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:492:17: [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). scr->wait = atoi(wait); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:526:18: [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). scr->timeout = atoi(arg); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:534:35: [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 *)(struct_ptr + offset) = atoi(arg); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:580:17: [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. unsigned char vector[RADIUS_RANDOM_VECTOR_LEN]) data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:586:12: [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. unsigned char calculated[RADIUS_RANDOM_VECTOR_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:587:12: [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. unsigned char reply[RADIUS_RANDOM_VECTOR_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:593:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(reply, packet->vector, RADIUS_RANDOM_VECTOR_LEN); /* save the reply */ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:594:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(packet->vector, vector, RADIUS_RANDOM_VECTOR_LEN); /* sent vector */ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:617:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p->data, data, length); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:625: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 one[COOKIE_SIZE], two[COOKIE_SIZE]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:731:5: [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 buffer[1024]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:794:12: [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. unsigned char misc[RADIUS_RANDOM_VECTOR_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:796:12: [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. unsigned char password[128]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:800:12: [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. unsigned char send_buffer[RADIUS_PACKET_SEND_SIZE]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:813:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(password, passwd_in, i); /* don't use strcpy! */ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:826:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(packet->vector, vector, RADIUS_RANDOM_VECTOR_LEN); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:990:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(STRING, ATTR->data, len); \ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:1003:12: [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. unsigned char vector[RADIUS_RANDOM_VECTOR_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:1004:12: [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. unsigned char recv_buffer[RADIUS_PACKET_RECV_SIZE]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:1053:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&i, a_timeout->data, 4); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:1069:2: [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 server_state[256]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:1153: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 errstr[MAX_STRING_LEN]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:1157: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 message[256]; data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:505:21: [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). scr->secret_len = strlen(scr->secret); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:725:7: [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 (strlen(cookie) < (16 + 4)*2) { /* MD5 is 16 bytes, and expiry date is 4*/ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:776:16: [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). value += strlen(cookie_name); /* skip the name */ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:823:7: [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). i = strlen(passwd_in); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:849:49: [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). add_attribute(packet, RADIUS_USER_NAME, user, strlen(user)); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:879:3: [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). strlen(r->server->server_hostname)); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius-2.0.c:901:48: [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). add_attribute(packet, RADIUS_STATE, state, strlen(state)); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:486:21: [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). scr->secret_len = strlen(scr->secret); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:705:7: [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 (strlen(cookie) < (16 + 4)*2) { /* MD5 is 16 bytes, and expiry date is 4*/ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:756:16: [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). value += strlen(cookie_name); /* skip the name */ data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:803:7: [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). i = strlen(passwd_in); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:829:49: [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). add_attribute(packet, RADIUS_USER_NAME, user, strlen(user)); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:859:3: [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). strlen(r->server->server_hostname)); data/libapache-mod-auth-radius-1.5.8/mod_auth_radius.c:881:48: [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). add_attribute(packet, RADIUS_STATE, state, strlen(state)); ANALYSIS SUMMARY: Hits = 73 Lines analyzed = 2604 in approximately 0.10 seconds (26349 lines/second) Physical Source Lines of Code (SLOC) = 1401 Hits@level = [0] 4 [1] 14 [2] 56 [3] 0 [4] 3 [5] 0 Hits@level+ = [0+] 77 [1+] 73 [2+] 59 [3+] 3 [4+] 3 [5+] 0 Hits/KSLOC@level+ = [0+] 54.9607 [1+] 52.1056 [2+] 42.1128 [3+] 2.14133 [4+] 2.14133 [5+] 0 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.