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/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.h Examining data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/lcmaps_plugin_prototypes.h Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/lcmaps_verify_proxy.c Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src/verify_x509.c Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src/verify_x509_utils.c Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_proxy_certinfo.c Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_log.c Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_log.h Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.h Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_proxy_certinfo.h Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/interface/verify_x509_datatypes.h Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/interface/verify_x509.h Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/main.c Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/proxylifetime/lcmaps_proxylifetime.h Examining data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/proxylifetime/lcmaps_proxylifetime.c FINAL RESULTS: data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_log.c:88:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, fmt, argp); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_log.c:97:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. num = vsnprintf (bericht, VERIFY_LOG_BUFFER_SIZE, fmt, argp); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_log.c:135:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stderr, fmt, argp ); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_log.c:145:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. num = vsnprintf (bericht, VERIFY_LOG_BUFFER_SIZE, fmt, argp); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_log.h:43:27: [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. __attribute__((format(printf, 2, 3))); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_log.h:54:27: [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. __attribute__((format(printf, 2, 3))); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1656:6: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. len=snprintf(pos, buflen, prev ? " or %s" : "%s", EEC_TEXT); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1661:6: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. len=snprintf(pos, buflen, prev ? " or %s" : "%s",ANY_PROXY_TEXT); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1665:10: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. len=snprintf(pos, buflen, prev ? " or %s" : "%s", GT2_TEXT); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1669:10: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. len=snprintf(pos, buflen, prev ? " or %s" : "%s", GT3_TEXT); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1673:10: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. len=snprintf(pos, buflen, prev ? " or %s" : "%s", RFC_TEXT); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1690:7: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. len=snprintf(pos, buflen, type ? " or%s" : "%s", LIMITED_TEXT); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1694:7: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. len=snprintf(pos, buflen, data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1699:7: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. len=snprintf(pos, buflen, type ? " or%s" : "%s", ANYLANG_TEXT); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1703:7: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. len=snprintf(pos, buflen, data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:86:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stderr, msg, argp ); data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:98:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stderr, msg, argp ); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/lcmaps_verify_proxy.c:167:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv (DISCARD_PRIVATE_KEY_ABSENCE)) data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/lcmaps_verify_proxy.c:325:14: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *value=getenv("X509_CERT_DIR"); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/main.c:99:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. fileName = getenv( "X509_USER_PROXY" ); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/main.c:155:14: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. CA_dir = getenv( "X509_CERT_DIR" ); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src/verify_x509_utils.c:393:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. tz = getenv("TZ"); data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:123:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. tz = getenv("TZ"); data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:727:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. fileName = getenv( "X509_USER_PROXY" ); data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:773:14: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. CA_dir = getenv( "X509_CERT_DIR" ); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/proxylifetime/lcmaps_proxylifetime.c:125: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 dn_buffer[DN_BUFFER_LEN]; data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/main.c:92: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 data[255]; data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src/verify_x509_utils.c:435: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 s[EXT_TEXT_LEN]; data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_log.c:93: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 bericht[VERIFY_LOG_BUFFER_SIZE]; data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_log.c:140: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 bericht[VERIFY_LOG_BUFFER_SIZE]; data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:525: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 timebuf[30]; data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:939: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[OBJ_TEXT_LEN]; data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1368:4: [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 s[OBJ_TEXT_LEN]; data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1490: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[OBJ_TEXT_LEN]; data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:216:4: [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 s[80]; data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:780:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat( CA_dir, "/.globus/certificates/" ); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/lcmaps_verify_proxy.c:187:43: [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 ((argv[i + 1] != NULL) && (strlen(argv[i + 1]) > 0)) data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/lcmaps_verify_proxy.c:233:73: [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). else if (strncasecmp(argv[i], "--only-enforce-lifetime-checks", strlen("--only-enforce-lifetime-checks")) == 0) data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/lcmaps_verify_proxy.c:246:43: [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 ((argv[i + 1] != NULL) && (strlen(argv[i + 1]) > 0)) data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/lcmaps_verify_proxy.c:274:19: [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(argv[i]) == 23) && data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/lcmaps_verify_proxy.c:287:36: [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 ((argv[i + 1] != NULL) && (strlen(argv[i + 1]) > 0)) data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/proxylifetime/lcmaps_proxylifetime.c:570:30: [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). const size_t datetimelen=strlen(datetime); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/proxylifetime/lcmaps_proxylifetime.c:604: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). for (i = 0; i < strlen(emitetad); i++) data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/main.c:108:15: [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(argv[i]) >= 2 ) && ( argv[i][0] == '-' ) ) data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src/verify_x509_utils.c:142: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). len = strlen(asn1time); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src/verify_x509_utils.c:320: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). len_subject_dn = strlen(cert_subjectdn); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src/verify_x509_utils.c:321: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). len_issuer_dn = strlen(cert_issuerdn); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src/verify_x509_utils.c:330:12: [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). len_proxy=strlen("/cn=proxy"); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src/verify_x509_utils.c:341:20: [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). len_limited_proxy=strlen("/cn=limited proxy"); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1230:20: [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). len_subject = strlen( cert_subjectdn ); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1231:20: [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). len_issuer = strlen( cert_issuerdn ); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1574: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). buflen+=strlen(CA_TEXT); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1578:20: [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). buflen+=(prev ? 4+strlen(EEC_TEXT) : strlen(EEC_TEXT)); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1578:39: [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). buflen+=(prev ? 4+strlen(EEC_TEXT) : strlen(EEC_TEXT)); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1583:20: [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). buflen+=(prev ? 4+strlen(ANY_PROXY_TEXT) : strlen(ANY_PROXY_TEXT)); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1583:45: [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). buflen+=(prev ? 4+strlen(ANY_PROXY_TEXT) : strlen(ANY_PROXY_TEXT)); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1587:24: [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). buflen+=(prev ? 4+strlen(GT2_TEXT) : strlen(GT2_TEXT)); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1587:43: [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). buflen+=(prev ? 4+strlen(GT2_TEXT) : strlen(GT2_TEXT)); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1591:24: [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). buflen+=(prev ? 4+strlen(GT3_TEXT) : strlen(GT3_TEXT)); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1591:43: [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). buflen+=(prev ? 4+strlen(GT3_TEXT) : strlen(GT3_TEXT)); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1595:24: [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). buflen+=(prev ? 4+strlen(RFC_TEXT) : strlen(RFC_TEXT)); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1595:43: [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). buflen+=(prev ? 4+strlen(RFC_TEXT) : strlen(RFC_TEXT)); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1608:14: [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). buflen+=strlen(ALL_LANGUAGE_TEXT); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1612:11: [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). buflen+=strlen(IMPERSONATION_TEXT); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1616:11: [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). buflen+=strlen(LIMITED_TEXT) + (type ? 3 : 0); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1620:11: [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). buflen+=strlen(INDEPENDENT_TEXT) + (type ? 3 : 0); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1624:11: [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). buflen+=strlen(ANYLANG_TEXT) + (type ? 3 : 0); data/lcmaps-plugins-verify-proxy-1.5.10/src/verify-proxy/verify-lib/src_internal/_verify_x509.c:1628:11: [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). buflen+=strlen(RESTRICTED_TEXT) + (type ? 3 : 0); data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:148:24: [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 (len == 0) len = strlen(asn1time); data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:395:25: [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). len = strlen( cert_DN ); data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:396:25: [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). len2 = strlen( issuer_DN ); data/lcmaps-plugins-verify-proxy-1.5.10/util/grid-proxy-verify.c:739:15: [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(argv[i]) >= 2 ) && ( argv[i][0] == '-' ) ) ANALYSIS SUMMARY: Hits = 72 Lines analyzed = 6555 in approximately 0.56 seconds (11727 lines/second) Physical Source Lines of Code (SLOC) = 3775 Hits@level = [0] 38 [1] 36 [2] 11 [3] 8 [4] 17 [5] 0 Hits@level+ = [0+] 110 [1+] 72 [2+] 36 [3+] 25 [4+] 17 [5+] 0 Hits/KSLOC@level+ = [0+] 29.1391 [1+] 19.0728 [2+] 9.53642 [3+] 6.62252 [4+] 4.50331 [5+] 0 Dot directories skipped = 2 (--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.