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-jk-1.2.48/native/common/jk_context.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_pool.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_connect.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp13_worker.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_worker.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_map.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_util.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_service.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_global.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_sockbuf.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_msg_buff.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_status.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp13.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_util.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp14.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.h
Examining data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_connect.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp14_worker.c
Examining data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_mt.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_logger.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_map.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_context.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp13_worker.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_sockbuf.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_version.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp14_worker.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_shm.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_url.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_pool.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_url.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_worker_list.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp13.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_status.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_md5.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_worker.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_md5.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_shm.h
Examining data/libapache-mod-jk-1.2.48/native/common/jk_ajp14.c
Examining data/libapache-mod-jk-1.2.48/native/common/jk_msg_buff.c
Examining data/libapache-mod-jk-1.2.48/native/netscape/jk_nsapi_plugin.c
Examining data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_jit_compile.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_printint.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_ucd.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_tables.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_xclass.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_xclass.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_exec.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/dftables.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_newline.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_globals.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_maketables.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_scanner.h
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_valid_utf32.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_refcount.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_internal.h
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_fullinfo.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_globals.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_jit_compile.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_dfa_exec.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_printint.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_study.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_stringpiece.cc
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_refcount.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_valid_utf8.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_ucd.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_get.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_exec.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp.h
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_config.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_ord2utf32.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_compile.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_utf16_utils.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_dfa_exec.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcredemo.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_fullinfo.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcreposix.h
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_study.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_version.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_newline.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_tables.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_config.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_compile.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_chartables.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeARM_32.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativePPC_common.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeMIPS_32.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitConfigInternal.h
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativePPC_64.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeMIPS_64.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitExecAllocator.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeSPARC_common.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitConfig.h
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeMIPS_common.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativePPC_32.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeX86_common.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeARM_64.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeSPARC_32.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeTILEGX_64.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeARM_T2_32.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitUtils.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitLir.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeX86_32.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeX86_64.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitLir.h
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeTILEGX-encoder.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcreposix.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_byte_order.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_newline.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_scanner.cc
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_globals.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_version.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_scanner_unittest.cc
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_jit_test.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp.cc
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_config.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_ord2utf8.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_dfa_exec.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_string_utils.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_xclass.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_internal.h
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_ord2utf16.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_string_utils.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_maketables.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_fullinfo.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/ucp.h
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_byte_order.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_version.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_jit_compile.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_refcount.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_exec.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_get.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_string_utils.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_tables.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_chartables.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_maketables.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_stringpiece_unittest.cc
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_get.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_byte_order.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_study.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_valid_utf16.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre32_utf32_utils.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre16_ucd.c
Examining data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_printint.c
Examining data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c

FINAL RESULTS:

data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:234:9:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
        strncat(lkname, "_MUTEX", MAX_PATH - 1);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:617:9:  [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(buf + used, s->server_hostname);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:630:13:  [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(buf + used, s->addrs->virthost);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:767:17:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
            if (sscanf(lenp, "%" JK_UINT64_T_FMT, &rc) > 0 && rc > 0) {
data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.c:499:23:  [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).
        *len = strlen(strcpy(buf, p));
data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.h:142:33:  [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,3,4)));
data/libapache-mod-jk-1.2.48/native/common/jk_ajp14_worker.c:107:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "/%s/%s", ci->cbase, ci->uris[j]);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1273: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(dst, tmp);
data/libapache-mod-jk-1.2.48/native/common/jk_global.h:359:9:  [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.
#define snprintf apr_snprintf
data/libapache-mod-jk-1.2.48/native/common/jk_global.h:360:9:  [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.
#define vsnprintf apr_vsnprintf
data/libapache-mod-jk-1.2.48/native/common/jk_global.h:363:9:  [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.
#define snprintf _snprintf
data/libapache-mod-jk-1.2.48/native/common/jk_global.h:363:18:  [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.
#define snprintf _snprintf
data/libapache-mod-jk-1.2.48/native/common/jk_global.h:364:9:  [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.
#define vsnprintf _vsnprintf
data/libapache-mod-jk-1.2.48/native/common/jk_global.h:371:9:  [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.
#define snprintf apr_snprintf
data/libapache-mod-jk-1.2.48/native/common/jk_global.h:374:9:  [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.
#define vsnprintf apr_vsnprintf
data/libapache-mod-jk-1.2.48/native/common/jk_global.h:381:9:  [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.
#define snprintf ap_snprintf
data/libapache-mod-jk-1.2.48/native/common/jk_global.h:384:9:  [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.
#define vsnprintf ap_vsnprintf
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1162:9:  [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.
        snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT64_T_FMT, w->s->lb_value);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1166:9:  [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.
        snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT64_T_FMT, aw->s->used);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1170:9:  [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.
        snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT64_T_FMT, w->s->sessions);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1174:9:  [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.
        snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT64_T_FMT, aw->s->readed);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1178:9:  [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.
        snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT64_T_FMT, aw->s->transferred);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1182:9:  [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.
        snprintf(buf, JK_LB_UINT64_STR_SZ, "%" JK_UINT32_T_FMT, w->s->errors);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1862:29:  [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->lb_workers[i].domain, p->lb_workers[i].route);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:445:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmpv, "%s%c%s", oldv, sep, *v);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:481: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(prp, str);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:715:13:  [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(env_name, env_start + 2);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:745:17:  [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(new_value, rc);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:746:17:  [4] (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).
                strcat(new_value, env_value);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:747:17:  [4] (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).
                strcat(new_value, env_end + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:805:29:  [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(from, v);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:869:17:  [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(to_prp, to);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:870:17:  [4] (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).
                strcat(to_prp, prp);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:233:9:  [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(lkname, shname);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:485:17:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
            if (mktemp(flkname)) {
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:493:9:  [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(flkname, fname);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:584:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(jk_shmem.filename, "%s.%" JK_PID_T_FMT, fname, getpid());
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:548:10:  [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.
    rc = vsnprintf(buf, HUGE_BUFFER_SIZE, fmt, args);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:775:9:  [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(buf, pattern);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3458:17:  [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.
                snprintf(p->msg, size, msg, arg, aw->name);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3471:25:  [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(wr->domain, wr->route);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3484:17:  [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.
                snprintf(p->msg, size, msg, arg, aw->name);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3502:17:  [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.
                snprintf(p->msg, size, msg, arg, aw->name);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3543:13:  [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.
            snprintf(p->msg, size, msg, arg, aw->name);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3561:13:  [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.
            snprintf(p->msg, size, msg, host, port, aw->name);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3809:29:  [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.
                            snprintf(p->msg, size, msg, arg, aw->name);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3822:37:  [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(wr->domain, wr->route);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3836:29:  [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.
                            snprintf(p->msg, size, msg, arg, aw->name);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3855:29:  [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.
                            snprintf(p->msg, size, msg, arg, aw->name);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4404:25:  [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.
                        snprintf(p->msg, size, msg, aw->name);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4410:25:  [4] (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).
                        strcat(p->msg, msg);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4448:21:  [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.
                    snprintf(p->msg, size, msg, aw->name);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:791:14:  [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.
        rc = vsnprintf(buf + used, usable_size - used, fmt, args);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2119:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(env, "%s=%s%c%s",
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2127:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(env, "%s=%s", PATH_ENV_VARIABLE, libpath);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_internal.h:99:20:  [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(p) printf p
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:979:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf, LLD, max_value);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:982:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf, LLD, min_value);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:985:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf, LLD, max_value);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:990:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf, LLD, min_value);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:1006:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf, LLU, max_value);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:1641:11:  [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(endptr, jfriedl_prefix); endptr += strlen(jfriedl_prefix);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:1646:11:  [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(endptr, jfriedl_postfix); endptr += strlen(jfriedl_postfix);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2259:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buffer, "%s%c%s", pathname, FILESEP, nextfile);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcreposix.c:227:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(errbuf, "%s%s%-6d", message, addmessage, (int)preg->re_erroffset);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:3709: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((char *)pbuffer, (char *)p);
data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitLir.c:1141:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			fprintf(compiler->verbose, (op & SLJIT_I32_OP) ? "32" : "w");
data/libapache-mod-jk-1.2.48/native/netscape/jk_nsapi_plugin.c:435:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        sscanf(tmp, "%" JK_UINT64_T_FMT, &(s->content_length));
data/libapache-mod-jk-1.2.48/native/netscape/jk_nsapi_plugin.c:470:13:  [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(s->ssl_cert, ssl_cert_start);
data/libapache-mod-jk-1.2.48/native/netscape/jk_nsapi_plugin.c:471:13:  [4] (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).
            strcat(s->ssl_cert, ssl_cert);
data/libapache-mod-jk-1.2.48/native/netscape/jk_nsapi_plugin.c:472:13:  [4] (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).
            strcat(s->ssl_cert, ssl_cert_end);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:720:29:  [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.
                env_value = getenv(env_name);
data/libapache-mod-jk-1.2.48/native/common/jk_mt.h:47:29:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
#define JK_INIT_CS(x, rc)   InitializeCriticalSection(x); rc = JK_TRUE
data/libapache-mod-jk-1.2.48/native/common/jk_mt.h:49:29:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
#define JK_ENTER_CS(x)      EnterCriticalSection(x)
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2113:21:  [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 *current = getenv(PATH_ENV_VARIABLE);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1947:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&log_cs);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2029:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&log_cs);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2174:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&log_cs);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2281:9:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        InitializeCriticalSection(&log_cs);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2466:13:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
            EnterCriticalSection(&log_cs);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:1281:7:  [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("VERBOSE_TEST") != NULL)
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:3036:12:  [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.
  locale = getenv("LC_ALL");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:3042:12:  [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.
  locale = getenv("LC_CTYPE");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:3074: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.
    char *cs = getenv("PCREGREP_COLOUR");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:3075:26:  [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 (cs == NULL) cs = getenv("PCREGREP_COLOR");
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:392:31:  [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.
            ap_fixup_escapes((char *)header_values[h],
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:610:9:  [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(buf, "XXX");
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:622:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buf + used, ":%hu", s->port);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:627:9:  [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(buf + used, " [");
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:634:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buf + used, ":%hu", s->addrs->host_port);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:659: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 server_name[80];
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:791:16:  [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).
        return atoi(value);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:870:13:  [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(s->extension.activation, e->activation, e->activation_size * sizeof(int));
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:875:13:  [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(s->extension.fail_on_status, e->fail_on_status, e->fail_on_status_size * sizeof(int));
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:892: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).
        int r = atoi(reply_timeout);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:903:21:  [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 r = atoi(sticky_ignore);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:919:21:  [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 r = atoi(stateless);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:1081:43:  [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).
                        s->ssl_key_size = atoi(ssl_temp);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:1421:16:  [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).
    interval = atoi(mount_file_reload);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:1446:28:  [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).
    jk_watchdog_interval = atoi(watchdog_interval);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:1519:10:  [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).
    sz = atoi(shm_size) * 1024;
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:1678:9:  [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(s, strs[i], strl[i]);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:1921: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 dummy[2];
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:3265: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.
                char error[256];
data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.c:190: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 buf1[NDIG];
data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.c:488: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 buf1[NDIG];
data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.c:535: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 temp[EXPONENT_LENGTH];     /* for exponent conversion */
data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.c:650: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 num_buf[NUM_BUF_SIZE];
data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.c:651: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 char_buf[2];           /* for printing %% and %<unknown> */
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:321:14:  [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 bytes[2];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:322:27:  [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.
    static const unsigned char null_b[2] =
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:361: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 buf[2048];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:363:13:  [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(buf, buffer, bufferlen);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:390: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 buf[20];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:391:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "%d", d);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:496: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 buf[READ_BUF_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:615: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).
            status = atoi(numeric);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp14.h:232: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 entropy[AJP14_ENTROPY_SEED_LEN + 1];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp14.h:237: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 computed_key[AJP14_COMPUTED_KEY_LEN + 1];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:250: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 header[16];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1046: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 buf[64];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1115: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 host[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1318:14:  [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 head[AJP_HEADER_LEN];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1322: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 buf[64];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1963:25:  [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(res.header_names, old_names, res.num_headers * sizeof(char *));
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1964:25:  [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(res.header_values, old_values, res.num_headers * sizeof(char *));
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1967:25:  [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(res.header_names + res.num_headers, r->resp_headers_names,
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1969:25:  [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(res.header_values + res.num_headers, r->resp_headers_values,
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.h:290: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         name[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.h:304: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 host[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.h:306: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 source[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:167: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 buf[64];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:248: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 buf[64];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:316: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 buf[64];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:383:5:  [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(out, in, sizeof(*in));
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:412:9:  [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(&(saddr->sa.sin.sin_addr), &iaddr, sizeof(struct in_addr));
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:486: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  pbuf[12];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:562:9:  [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(&(saddr->sa), ai->ai_addr, ai->ai_addrlen);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:575:9:  [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(&(saddr->sa.sin.sin_addr), &iaddr, sizeof(struct in_addr));
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:619: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 buf[DUMP_SINFO_BUF_SZ];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:910: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 dummy[512];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:911: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 buf[DUMP_SINFO_BUF_SZ];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1182: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 tmp[INET6_ADDRSTRLEN], *tp;
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1257:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        tp += sprintf(tp, "%x", words[i]);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1284: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 pb[8];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1287:9:  [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(buf, "UnresolvedIP");
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1299:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(pb, ":%d", saddr->port);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1315:13:  [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   pb[8];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1320:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(pb, ":%d", (unsigned int)htons(sa->sin_port));
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1326:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(pb, ":%d", (unsigned int)htons(sa->sin6_port));
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1337:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(pb, ":%d", (unsigned int)htons(sa->sin_port));
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1343:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(pb, ":%d", (unsigned int)htons(sa->sin6_port));
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1371: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 buf[DUMP_SINFO_BUF_SZ];
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1428: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 buf[DUMP_SINFO_BUF_SZ];
data/libapache-mod-jk-1.2.48/native/common/jk_context.c:132:13:  [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(contexts, c->contexts,
data/libapache-mod-jk-1.2.48/native/common/jk_context.c:157:9:  [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(uris, ci->uris, sizeof(char *) * ci->capacity);
data/libapache-mod-jk-1.2.48/native/common/jk_global.h:481: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 sas[128];
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:507:29:  [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(result, id_start, sz);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:544:9:  [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(val + 1, s->route, sz);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1395:25:  [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(s->resp_headers_names, old_names, s->num_resp_headers * sizeof(char *));
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1396:25:  [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(s->resp_headers_values, old_values, s->num_resp_headers * sizeof(char *));
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.h:139: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         name[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.h:146: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    route[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.h:148: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    domain[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.h:150: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    redirect[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.h:170: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         name[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.h:197: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         session_cookie[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.h:199: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         session_path[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.h:201: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         session_cookie_path[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_logger.h:41: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 log_fmt_subsec[JK_TIME_MAX_SIZE]; /* like log_fmt, but milli/micro seconds marker
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:204: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 buf[100];
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:209:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "%d", def);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:223:19:  [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_res = atoi(rc) * multit;
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:233: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 buf[100];
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:236:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "%f", def);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:244: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 buf[100];
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:247:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "%d", def);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:350:24:  [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).
            ar[idex] = atoi(p);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:471: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 buf[LENGTH_OF_LINE + 1];
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:527:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(f, "r, o_ccsid=0");
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:529:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(f, "r");
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:533:13:  [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 buf[LENGTH_OF_LINE + 1];
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:709:13:  [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 env_name[LENGTH_OF_LINE + 1] = "";
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:712:13:  [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 env_buf[LENGTH_OF_LINE + 1];
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:121:63:  [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.
static void MD5Transform(jk_uint32_t state[4], const unsigned char block[64]);
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:129: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.
static unsigned char PADDING[64] = {
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:206:9:  [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(&context->buffer[idx], input, partLen);
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:220:5:  [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(&context->buffer[idx], &input[i], inputLen - i);
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:227:22:  [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 inp_tmp[64];
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:246:44:  [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.
static void JK_METHOD jk_MD5Final(unsigned char digest[16], JK_MD5_CTX * context)
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:248:14:  [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 bits[8];
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:286:63:  [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.
static void MD5Transform(jk_uint32_t state[4], const unsigned char block[64])
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:407: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 buf[JK_MD5_DIGESTSIZE + 1];
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:442: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 buf[JK_MD5_DIGESTSIZE + 1];
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:468: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 xxx[(2 * JK_MD5_DIGESTSIZE) + 1];
data/libapache-mod-jk-1.2.48/native/common/jk_md5.h:65:14:  [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 buffer[64];       /* input buffer */
data/libapache-mod-jk-1.2.48/native/common/jk_msg_buff.c:187:5:  [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(msg->buf + msg->len, param, len + 1); /* including \0 */
data/libapache-mod-jk-1.2.48/native/common/jk_msg_buff.c:209:5:  [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(msg->buf + msg->len, param, len);
data/libapache-mod-jk-1.2.48/native/common/jk_msg_buff.c:300:5:  [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(buf, msg->buf + start, len);
data/libapache-mod-jk-1.2.48/native/common/jk_msg_buff.c:315: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 lb[80];
data/libapache-mod-jk-1.2.48/native/common/jk_msg_buff.c:376:5:  [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(dmsg->buf, smsg->buf, smsg->len);
data/libapache-mod-jk-1.2.48/native/common/jk_pool.c:113:9:  [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(rc, old, old_sz);
data/libapache-mod-jk-1.2.48/native/common/jk_pool.c:133:13:  [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(rc, s, size);
data/libapache-mod-jk-1.2.48/native/common/jk_pool.c:152:13:  [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(rc, s, szs);
data/libapache-mod-jk-1.2.48/native/common/jk_pool.c:153:13:  [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(rc + szs, a, sza + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_pool.c:184:17:  [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(cp, str, len);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:39: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         magic[JK_SHM_MAGIC_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:56: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 alignbuf[JK_SHM_SLOT_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:58: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   buf[1];
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:197: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 lkname[MAX_PATH];
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:198: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 shname[MAX_PATH] = "";
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:225:9:  [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(shname, "Local\\");
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:324:9:  [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(jk_shmem.hdr->h.data.magic, shm_signature,
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:453: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 flkname[256];
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:462:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        jk_shmem.fd_lock = open(jk_shmem.lockname, O_RDWR, 0666);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:484:13:  [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(flkname, "/tmp/jkshmlock.XXXXXX");
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:486:36:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                jk_shmem.fd_lock = open(flkname, O_RDWR|O_CREAT|O_TRUNC, 0666);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:494: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(flkname, ".lock");
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:498:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        jk_shmem.fd_lock = open(wptr, O_RDWR|O_CREAT|O_TRUNC, 0666);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:501:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        jk_shmem.fd_lock = open(flkname, O_RDWR|O_CREAT|O_TRUNC, 0666);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:592:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(wptr, O_RDWR|O_CREAT|O_TRUNC, 0666);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:595:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(jk_shmem.filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:662:9:  [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(jk_shmem.hdr->h.data.magic, shm_signature, JK_SHM_MAGIC_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.h:64: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    name[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_shm.h:80: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 host[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_shm.h:133: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    route[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_shm.h:135: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    domain[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_shm.h:137: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    redirect[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_sockbuf.c:44:13:  [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(sb->buf + sb->end, buf, sz);
data/libapache-mod-jk-1.2.48/native/common/jk_sockbuf.c:55:13:  [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(sb->buf + sb->end, buf, sz);
data/libapache-mod-jk-1.2.48/native/common/jk_sockbuf.h:29: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 buf[SOCKBUF_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:541: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 buf[HUGE_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:734:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        if (sprintf(buf, "%d ", (int) size) < 0)
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:735:20:  [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.
            return strcpy(buf, "****");
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:749:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            if (sprintf(buf, "%d.%d%c", siz, remain, *o) < 0)
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:750:24:  [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.
                return strcpy(buf, "****");
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:755:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        if (sprintf(buf, "%d%c", siz, *o) < 0)
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:756:20:  [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.
            return strcpy(buf, "****");
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:803: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 buf[JK_STATUS_TIME_BUF_SZ];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1015:14:  [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).
        rv = atoi(arg);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1279:19:  [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).
            opt = atoi(v);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1637: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 buf[64];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1753: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 server_name[80];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1842: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 buf[64];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1889: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 buf[64];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1890: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 buf_rd[32];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1891: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 buf_rd_sec[32];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1892: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 buf_wr[32];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1893: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 buf_wr_sec[32];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1905: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 buf_time[JK_STATUS_TIME_BUF_SZ];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1906: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 buf_tz[JK_STATUS_TIME_BUF_SZ];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3418: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 host[JK_SHM_STR_SIZ];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3620: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 vname[32];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4877: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 buf_time[JK_STATUS_TIME_BUF_SZ];
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4878: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 buf_tz[JK_STATUS_TIME_BUF_SZ];
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:87: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(buf, "Disabled ");
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:93: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(buf, "Unmount ");
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:95: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(buf, "Exact");
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:97: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(buf, "Wildchar");
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:109: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(buf, "Unknown");
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:189:13:  [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 buf[32];
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:321:13:  [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(uwr, IND_NEXT(uw_map->maps),
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:471:43:  [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).
        extensions->fail_on_status[cnt] = atoi(status);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:675:45:  [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).
                extensions->reply_timeout = atoi(param + strlen(JK_UWMAP_EXTENSION_REPLY_TIMEOUT));
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:678:27:  [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 val = atoi(param + strlen(JK_UWMAP_EXTENSION_STICKY_IGNORE));
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:687:27:  [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 val = atoi(param + strlen(JK_UWMAP_EXTENSION_STATELESS));
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:696:54:  [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).
                extensions->use_server_error_pages = atoi(param + strlen(JK_UWMAP_EXTENSION_USE_SRV_ERRORS));
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:755:31:  [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 val = atoi(param + strlen(JK_UWMAP_EXTENSION_SET_SESSION_COOKIE));
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:1077: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  url[JK_MAX_URI_LEN+1];
data/libapache-mod-jk-1.2.48/native/common/jk_url.c:49: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 buf[1];
data/libapache-mod-jk-1.2.48/native/common/jk_url.c:144: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 xstr[5];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:143:13:  [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(buf, "worker."); remain -= strlen("worker."); \
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:504: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 log_fmt[JK_TIME_MAX_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:528:13:  [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 subsec[7];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:532:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(subsec, "%03d", (int)(tv.tv_usec/1000));
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:536:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(subsec, "%06d", (int)(tv.tv_usec));
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:621:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            p->logfile = fopen(file, "a+, o_ccsid=0");
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:623:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            p->logfile = fopen(file, "a+c");
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:625:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            p->logfile = fopen(file, "a+");
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:714: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 buf[LOG_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:738:17:  [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(buf, "Logging failed in pid/tid formatting");
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:749:17:  [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(buf, "Logging failed in log level formatting");
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:763:21:  [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(buf, "Logging failed in function name formatting");
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:775:17:  [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(buf, "Logging failed in source file name formatting");
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:784:17:  [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(buf, "Logging failed in line number formatting");
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:827: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:838: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:855: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:865: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:875: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:888: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:901: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:914: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:927: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:956: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:972: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:984: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:996: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1009: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1022: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1035: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1048: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1061: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1074: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1087: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1103: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1115: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1128: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1145: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1158: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1171: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1184: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1185: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 mode[100];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1201: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1219: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1236: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 buf[1024];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1254: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1267: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1298: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1310: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1321: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1341: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1354: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1368: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1380: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1391: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1405: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1419: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1440: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1464: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1475: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1489: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1505: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1520: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1531: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1543: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1556: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1578: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1600: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1622: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1651: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1677: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1695: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1713: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1729: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1758: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1775: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1791: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1945: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1961: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1977: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1993: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2009: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2020: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2031: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2042: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 buf[PARAM_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:105:8:  [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.
static char URI_HEADER_NAME[RES_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:106:8:  [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.
static char QUERY_HEADER_NAME[RES_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:107:8:  [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.
static char WORKER_HEADER_NAME[RES_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:108:8:  [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.
static char TOMCAT_TRANSLATE_HEADER_NAME[RES_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:109:8:  [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.
static char WORKER_HEADER_INDEX[RES_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:114:8:  [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.
static char HTTP_URI_HEADER_NAME[RES_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:115:8:  [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.
static char HTTP_QUERY_HEADER_NAME[RES_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:116:8:  [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.
static char HTTP_WORKER_HEADER_NAME[RES_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:117:8:  [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.
static char HTTP_WORKER_HEADER_INDEX[RES_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:459: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 _tb[RES_BUFFER_SIZE];                              \
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:464:19:  [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).
        (place) = atoi(_tb);                                \
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:473:8:  [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.
static char dll_file_path[MAX_PATH];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:474:8:  [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.
static char ini_file_name[MAX_PATH];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:475:8:  [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.
static char ini_mutex_name[MAX_PATH];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:491:8:  [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.
static char extension_uri[INTERNET_MAX_URL_LENGTH];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:492:8:  [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.
static char log_file[MAX_PATH * 2];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:493:8:  [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.
static char log_file_effective[MAX_PATH * 2];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:499:8:  [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.
static char shm_loaded_name[MAX_PATH] = {0};
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:500:8:  [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.
static char worker_file[MAX_PATH * 2];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:501:8:  [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.
static char worker_mount_file[MAX_PATH * 2] = {0};
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:503:8:  [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.
static char rewrite_rule_file[MAX_PATH * 2] = {0};
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:511:8:  [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.
static char error_page_buf[INTERNET_MAX_URL_LENGTH] = {0};
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:537: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 uri[INTERNET_MAX_URL_LENGTH];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:538: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 query[INTERNET_MAX_URL_LENGTH];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:789: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 status[1024];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:790: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 body[8192] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:816: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 status[1024];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:817: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 body[8192] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:820: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 error_page_url[INTERNET_MAX_URL_LENGTH] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1133:13:  [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(buf, p->lpEcb->lpbData + p->bytes_read_so_far, l);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1147:17:  [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(buf, p->lpEcb->lpbData + p->bytes_read_so_far,
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1244: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 chunk_header[RES_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1600:13:  [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(dst, source + pmatch[no].rm_so, len);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1650:21:  [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(buf, uri, regm[0].rm_so);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1652:21:  [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(ptr, subs, subsz);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1654:21:  [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(ptr, uri + regm[0].rm_eo, lefts);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1708: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 szHB[HDR_BUFFER_SIZE] = "/";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1709: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 szUB[HDR_BUFFER_SIZE] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1710: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 szTB[16] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1711: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 szPB[16] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1712: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 swindex[32] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1784:20:  [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(szPB);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1949: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 serverName[MAX_SERVERNAME] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1950: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 instanceId[MAX_INSTANCEID] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2031: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 serverName[MAX_SERVERNAME] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2032: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 instanceId[MAX_INSTANCEID] = "";
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2226: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 fname[MAX_PATH];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2350: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 log_file_name_buf[MAX_PATH*2];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2481: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 *p, shm_name[MAX_PATH];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2724: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 tmpbuf[MAX_PATH];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2770:28:  [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).
        log_rotationtime = atol(tmpbuf);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2782:28:  [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).
            log_filesize = atol(tmpbuf);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2900: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 tmpbuf[128];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2951: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  temp_buf[64];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3042:13:  [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(s->extension.activation, e->activation, e->activation_size * sizeof(int));
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3047:13:  [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(s->extension.fail_on_status, e->fail_on_status, e->fail_on_status_size * sizeof(int));
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3069: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 *ssl_env_names[9] = {
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3080: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 *ssl_env_values[9] = {
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3336: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 buf[HDR_BUFFER_SIZE];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3617: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 merge[8192];
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3618: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 dir[MAX_PATH];
data/libapache-mod-jk-1.2.48/native/iis/pcre/dftables.c:87:5:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
f = fopen(argv[i], "wb");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:934:1:  [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(newspace, cd->start_workspace, cd->workspace_size * sizeof(pcre_uchar));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:5122:9:  [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(pbits, cbits + posix_class_maps[posix_class],
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:5626:9:  [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(code, classbits, 32);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:5655: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(code, classbits, 32);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:5834:9:  [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(utf_chars, lastchar, IN_UCHARS(c)); /* Save the char */
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:5939:13:  [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(code, utf_chars, IN_UCHARS(c & 7));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:5964:13:  [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(code, utf_chars, IN_UCHARS(c & 7));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:5994:9:  [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(code, utf_chars, IN_UCHARS(c & 7));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:6200:15:  [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(code, previous, IN_UCHARS(len));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:6278:11:  [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(code, previous, IN_UCHARS(len));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:6725:15:  [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(code, arg, IN_UCHARS(arglen));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:7261:15:  [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(newspace, cd->named_groups,
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_compile.c:8992:1:  [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(slot + IMM2_SIZE, name, IN_UCHARS(length));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_dfa_exec.c:548: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(new_states, active_states, new_count * sizeof(stateblock));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_exec.c:1793: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(new_recursive.offset_save, md->offset_vector,
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_exec.c:1808:9:  [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(md->offset_vector, new_recursive.offset_save,
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_exec.c:7063: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(offsets + 2, md->offset_vector + 2,
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_get.c:357:1:  [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(buffer, subject + ovector[stringnumber], IN_UCHARS(yield));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_get.c:484: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, subject + ovector[i], IN_UCHARS(len));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_get.c:571:1:  [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(substring, subject + ovector[stringnumber], IN_UCHARS(yield));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_internal.h:372:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define memcpy(d,s,n)    _memcpy(d,s,n)
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_internal.h:385:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define memmove(a, b, c) bcopy(b, a, c)
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_jit_test.c:865: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 null_str[1] = { 0 };
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_jit_test.c:914:2:  [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(tables_copy, default_tables, 1088);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_scanner_unittest.cc:133: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 buf[1024];  // definitely big enough
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_scanner_unittest.cc:134:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "    # Comment %d\n", i);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_study.c:1594:5:  [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(study->start_bits, start_bits, sizeof(start_bits));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp.cc:718:5:  [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(buf, str, n);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp.cc:732: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 buf[kMaxNumberLength+1];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp.cc:749: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 buf[kMaxNumberLength+1];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp.cc:818: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 buf[kMaxNumberLength+1];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp.cc:849: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 buf[kMaxNumberLength+1];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp.cc:876: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 buf[kMaxLength];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp.cc:878: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(buf, str, n);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:115: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 buf[100];  // definitely big enough
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:116:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "pat%09d", i);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:822:23:  [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).
    if ( argc == 2 || atoi(argv[2]) == 0) {
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:827:15:  [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).
      Timing1(atoi(argv[2]));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:829:15:  [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).
      Timing2(atoi(argv[2]));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:831:15:  [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).
      Timing3(atoi(argv[2]));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:974: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 buf[32];  // definitely big enough for a long long
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:1001: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 buf[32];  // definitely big enough for a unsigned long long
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:287:14:  [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.
static const char *incexname[4] = { "--include", "--exclude",
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:706:1:  [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(pattern, filename, len);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:707:1:  [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(&(pattern[len]), "\\*", 3);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:899: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 s[4];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:915:27:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    if (op->one_char > 0) sprintf(s, "-%c,", op->one_char);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:916:12:  [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.
      else strcpy(s, "   ");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2194:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
zos_test_file =  fopen(pathname,"rb");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2237: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[2048];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2335:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  in = fopen(pathname, "rb");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2464:8:  [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.
static char buffer[14];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2466:1:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
sprintf(p, "%d", n);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2470:11:  [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.
  case 1: strcpy(p, "st"); break;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2471:11:  [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.
  case 2: strcpy(p, "nd"); break;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2472:11:  [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.
  case 3: strcpy(p, "rd"); break;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2473:12:  [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.
  default: strcpy(p, "th"); break;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2509:1:  [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[PATBUFSIZE];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2587:1:  [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[PATBUFSIZE];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2596:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(name, "r");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2765: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 buff1[24];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2766: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 buff2[24];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:3290: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 buffer[PATBUFSIZE];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:3294:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fl = fopen(fn->name, "rb");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:1895: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(here, s, len);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:1928:5:  [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(new_buffer, buffer, buffer_size);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:1929:5:  [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(new_pbuffer, pbuffer, buffer_size);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:1985:1:  [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 tempbuffer[16];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:2007:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  else n = sprintf(tempbuffer, "\\x{%02x}", c);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:3412:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  infile = fopen(argv[op], INPUT_MODE);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:3423:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  outfile = fopen(argv[op+1], OUTPUT_MODE);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:3552:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen((char *)p, "rb");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:4416:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      FILE *f = fopen((char *)to_file, "wb");
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:5341:13:  [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 copybuffer[256];
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:5359:11:  [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 copybuffer[256];
data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitConfigInternal.h:214:38:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define SLJIT_MEMCPY(dest, src, len) memcpy(dest, src, len)
data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeTILEGX-encoder.c:648: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 operands[TILEGX_NUM_PIPELINE_ENCODINGS][TILEGX_MAX_OPERANDS];
data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeTILEGX-encoder.c:10072: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 opbuf[TILEGX_BUNDLE_SIZE_IN_BYTES];
data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitNativeTILEGX-encoder.c:10076: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((void *)opbuf, (void *)memaddr, TILEGX_BUNDLE_SIZE_IN_BYTES);
data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitUtils.c:172:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	dev_zero = open("/dev/zero", O_RDWR);
data/libapache-mod-jk-1.2.48/native/iis/pcre/sljit/sljitUtils.c:187:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		dev_zero = open("/dev/zero", O_RDWR);
data/libapache-mod-jk-1.2.48/native/netscape/jk_nsapi_plugin.c:170: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.
                char name_buf[64];
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:120:37:  [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).
#define NULL_FOR_EMPTY(x)   ((x && !strlen(x)) ? NULL : x)
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:393: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).
                             strlen(header_values[h]), ap_hdrs_from_ascii);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:594:17:  [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).
        used += strlen(s->server_hostname);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:598: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).
            used += strlen(":XXXXX");
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:601:17:  [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).
        used += strlen(" [");
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:603: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).
            used += strlen(s->addrs->virthost);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:605: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).
            used += strlen(":XXXXX");
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:606:17:  [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).
        used += strlen("]");
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:609:29:  [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 < used && len > strlen("XXX")) {
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:618:17:  [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).
        used += strlen(s->server_hostname);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:623: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).
            used = strlen(buf);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:628:17:  [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).
        used += strlen(" [");
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:631: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).
            used += strlen(s->addrs->virthost);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:635: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).
            used = strlen(buf);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:637:9:  [1] (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 character.
        strcpy(buf + used, "]");
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:638:17:  [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).
        used += strlen("]");
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:1012: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).
        size = 3 * (int)strlen(uri) + 1;
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:1049:46:  [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(conf->certchain_prefix)))
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:1057:53:  [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).
                    s->ssl_cert_len = (unsigned int)strlen(s->ssl_cert);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:1674:31:  [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 += strl[i] = (int)strlen(strs[i]);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:2301:44:  [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).
            (!strncasecmp(w, "ForwardURI", strlen("ForwardURI")))) {
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:3833: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).
                if (strlen(clean_uri) > 1) {
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:3891: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).
                if (strlen(clean_uri) > 1) {
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:3953: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).
                            int size = (int)strlen(context_dir);
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:4028:17:  [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(r->uri) == 0) {
data/libapache-mod-jk-1.2.48/native/apache-2.0/mod_jk.c:4100: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).
             !strlen(apr_filepath_name_get(r->main->filename)))) {
data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.c:499: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).
        *len = strlen(strcpy(buf, p));
data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.c:882:29:  [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).
                    s_len = strlen(s);
data/libapache-mod-jk-1.2.48/native/common/ap_snprintf.c:947: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).
                s_len = strlen(s);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:346:32:  [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 (buffer && (bufferlen = strlen(buffer))) {
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:359:37:  [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 (buffer && (bufferlen = (int)strlen(buffer))) {
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:512:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (!s->read(s, buf, to_read, &this_time)) {
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:571:35:  [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).
        jk_xlate_from_ascii(line, strlen(line));
data/libapache-mod-jk-1.2.48/native/common/jk_ajp12_worker.c:575:18:  [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 (0 == strlen(line)) {
data/libapache-mod-jk-1.2.48/native/common/jk_ajp14.c:457: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).
        if (!strlen(cname))
data/libapache-mod-jk-1.2.48/native/common/jk_ajp14.c:481:18:  [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(uri)) {
data/libapache-mod-jk-1.2.48/native/common/jk_ajp14.c:651: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).
        if (!strlen(cname))
data/libapache-mod-jk-1.2.48/native/common/jk_ajp14_worker.c:271:28:  [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 ((!secret_key) || (!strlen(secret_key))) {
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:251:18:  [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).
    size_t len = strlen(header_name);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:429:37:  [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(s->method))) == UNKNOWN_METHOD)
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:474:59:  [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).
                   ae->worker->name, s->headers_names[i], strlen(s->headers_names[i]));
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:517:38:  [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).
                   ae->worker->name, strlen(s->query_string));
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:730:37:  [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).
        jk_xlate_from_ascii(d->msg, strlen(d->msg));
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:779:41:  [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(d->header_names[i]));
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:794:37:  [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(d->header_values[i]));
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1141:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(host, aw->s->host, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1149:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(aw->host, host, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1214:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(aw->s->host, aw->host, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:1495:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!s->read(s, buf + rdlen, len - rdlen, &this_time)) {
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:2850:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(p->host, tmp, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:2857:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(p->source, tmp, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:2892:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(p->s->host, p->host, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_ajp_common.c:3183:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(aw->name, name, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:408:72:  [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 (*host >= '0' && *host <= '9' && strspn(host, "0123456789.") == strlen(host)) {
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:961:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                rc = read(sd, &dummy[0], sizeof(dummy));
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1103:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            rd = read(sd, (char *)b + rdlen, len - rdlen);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1254: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).
            tp += strlen(tp);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1300:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(buf, pb, size - strlen(buf) - 1);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1300:29:  [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).
    strncat(buf, pb, size - strlen(buf) - 1);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1329:18:  [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).
            ps = strlen(buf);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1330:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
            strncat(buf, pb, size - ps - 1);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1331:18:  [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).
            ps = strlen(buf);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1332:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
            strncat(buf, " -> ", size - ps - 1);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1333:18:  [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).
            ps = strlen(buf);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1346:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
            strncat(buf, pb, size - strlen(buf) - 1);
data/libapache-mod-jk-1.2.48/native/common/jk_connect.c:1346:37:  [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).
            strncat(buf, pb, size - strlen(buf) - 1);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:319:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(w->route, w->s->route, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:320:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(w->domain, w->s->domain, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:321:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(w->redirect, w->s->redirect, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:405:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(w->s->route, w->route, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:406:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(w->s->domain, w->domain, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:407:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(w->s->redirect, w->redirect, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:433: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 (id_start[strlen(name)] == '=') {
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:437: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).
            id_start += (1 + strlen(name));
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:438:17:  [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(id_start)) {
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:484:33:  [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).
                    id_start += strlen(name);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:497:34:  [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).
                            sz = strlen(id_start);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:511:42:  [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).
                            size_t osz = strlen(result) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:514:29:  [1] (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 character.
                            strcat(result, ";");
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:515:29:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
                            strncat(result, id_start, sz);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:541: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).
        size_t sz = strlen(s->route) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:856: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).
        domain_len = strlen(route_or_domain);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:862:13:  [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(wr.domain) == 0 ||
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:863:13:  [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(wr.domain) != domain_len ||
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1007:13:  [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(p->lb_workers[i].redirect)) {
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1758:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(p->lb_workers[i].name, worker_names[i], JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1801:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(p->lb_workers[i].route, s, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1804:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(p->lb_workers[i].route, worker_names[i], JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1810:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(p->lb_workers[i].domain, s, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1817:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(p->lb_workers[i].redirect, s, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1948:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(p->session_cookie, s, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1954:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(p->session_path, s, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:1961:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(p->session_cookie_path, s, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_lb_worker.c:2058:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(private_data->name, name, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:36: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).
#define JK_MAP_REFERENCE_SZ (strlen(JK_MAP_REFERENCE))
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:212: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).
    len = strlen(rc);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:436:40:  [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(*v) + strlen(oldv) + 3);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:436:53:  [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(*v) + strlen(oldv) + 3);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:474:9:  [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(str) > LENGTH_OF_LINE) {
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:477: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).
               strlen(str), LENGTH_OF_LINE);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:645:17:  [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 = strlen(s)))
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:739:50:  [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(rc) +
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:740: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).
                                                strlen(env_value))));
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:748: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).
                offset = env_start - rc + strlen(env_value);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:778:29:  [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).
            size_t prelen = strlen(prefix);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:789:37:  [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).
                    size_t remain = strlen(m->names[i]) - prelen;
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:791:34:  [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).
                        remain = strlen(m->names[i]) - JK_MAP_REFERENCE_SZ;
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:795:57:  [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(v) + 2)));
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:806: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).
                            *(from+strlen(v))   = '.';
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:807: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).
                            *(from+strlen(v)+1) = '\0';
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:808:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                            strncpy(to, m->names[i], remain);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:855: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).
            if (!strncmp(m->names[i], from, strlen(from))) {
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:857:37:  [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).
                prp = m->names[i] + strlen(from);
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:860:41:  [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(to) +
data/libapache-mod-jk-1.2.48/native/common/jk_map.c:861:40:  [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(prp) + 1)));
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:410:29:  [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).
    jk_MD5Update(&ctx, org, strlen((const char *)org));
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:413:34:  [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).
        jk_MD5Update(&ctx, org2, strlen((const char *)org2));
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:445:29:  [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).
    ap_MD5Update(&ctx, org, strlen((const char *)org));
data/libapache-mod-jk-1.2.48/native/common/jk_md5.c:448:34:  [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).
        ap_MD5Update(&ctx, org2, strlen((const char *)org2));
data/libapache-mod-jk-1.2.48/native/common/jk_msg_buff.c:153: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).
    len = strlen(param);
data/libapache-mod-jk-1.2.48/native/common/jk_msg_buff.c:162:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy((char *)msg->buf + msg->len, param, len + 1);       /* including \0 */
data/libapache-mod-jk-1.2.48/native/common/jk_msg_buff.c:178:27:  [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 = (unsigned short)strlen(param);
data/libapache-mod-jk-1.2.48/native/common/jk_pool.c:124:23:  [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).
        size_t size = strlen(s);
data/libapache-mod-jk-1.2.48/native/common/jk_pool.c:145: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).
        size_t szs = strlen(s);
data/libapache-mod-jk-1.2.48/native/common/jk_pool.c:146: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).
        size_t sza = strlen(a);
data/libapache-mod-jk-1.2.48/native/common/jk_pool.c:171: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).
            size += strlen(str);
data/libapache-mod-jk-1.2.48/native/common/jk_pool.c:183:23:  [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(str);
data/libapache-mod-jk-1.2.48/native/common/jk_service.h:326:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int (JK_METHOD * read) (jk_ws_service_t *s,
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:226:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
        strncat(shname, fname, MAX_PATH - 8);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:227:29:  [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 = 7; i < (int)strlen(shname); i++) {
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:482:23:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        mode_t mask = umask(0);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:491:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(mask);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:496:31:  [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).
        wptr = (char *)malloc(strlen(flkname) + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:583:44:  [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).
        jk_shmem.filename = (char *)malloc(strlen(fname) + 32);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:590:31:  [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).
        wptr = (char *)malloc(strlen(jk_shmem.filename) + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:609: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).
                wptr = (char *)malloc(strlen(jk_shmem.filename) + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:628:35:  [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).
            wptr = (char *)malloc(strlen(jk_shmem.filename) + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:648:35:  [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).
            wptr = (char *)malloc(strlen(jk_shmem.filename) + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:709:35:  [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).
            wptr = (char *)malloc(strlen(jk_shmem.filename) + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:777:35:  [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).
            wptr = (char *)malloc(strlen(jk_shmem.lockname) + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:789:35:  [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).
            wptr = (char *)malloc(strlen(jk_shmem.filename) + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:835:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(w->name, name, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_shm.c:856:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(w->name, name, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:517:40:  [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).
        s->write(s, str, (unsigned int)strlen(str));
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:532:40:  [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).
        s->write(s, str, (unsigned int)strlen(str));
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:771:31:  [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 (found != NULL && sz > strlen(pattern)) {
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:786:29:  [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).
            snprintf(found, strlen(JK_WINDOWS_TIMEZONE_PLACEHOLDER), "%c%02d%02d",
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:1368:17:  [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(key)) {
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3456:31:  [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).
                size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3456: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).
                size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3456:59:  [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).
                size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3465:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(wr->route, arg, JK_SHM_STR_SIZ );
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3482:31:  [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).
                size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3482: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).
                size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3482:59:  [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).
                size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3491:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(wr->redirect, arg, JK_SHM_STR_SIZ );
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3500:31:  [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).
                size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3500: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).
                size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3500:59:  [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).
                size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3509:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(wr->domain, arg, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3533:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(host, aw->host, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3541:27:  [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).
            size_t size = strlen(msg) + strlen(arg) + strlen(aw->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3541:41:  [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).
            size_t size = strlen(msg) + strlen(arg) + strlen(aw->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3541:55:  [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).
            size_t size = strlen(msg) + strlen(arg) + strlen(aw->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3550:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(host, arg, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3559:27:  [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).
            size_t size = strlen(msg) + strlen(host) + strlen(aw->name) + 10 + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3559:41:  [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).
            size_t size = strlen(msg) + strlen(host) + strlen(aw->name) + 10 + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3559:56:  [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).
            size_t size = strlen(msg) + strlen(host) + strlen(aw->name) + 10 + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3570:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(aw->host, host, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3807: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).
                            size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3807:57:  [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).
                            size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3807:71:  [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).
                            size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3816:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                            strncpy(wr->route, arg, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3834: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).
                            size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3834:57:  [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).
                            size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3834:71:  [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).
                            size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3843:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                            strncpy(wr->redirect, arg, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3853: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).
                            size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3853:57:  [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).
                            size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3853:71:  [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).
                            size_t size = strlen(msg) + strlen(arg) + strlen(wr->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:3862:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                            strncpy(wr->domain, arg, JK_SHM_STR_SIZ);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4402: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).
                        size_t size = strlen(msg) + strlen(aw->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4402:53:  [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).
                        size_t size = strlen(msg) + strlen(aw->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4408: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).
                        size_t size = strlen(msg) + strlen(p->msg) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4408:53:  [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).
                        size_t size = strlen(msg) + strlen(p->msg) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4409: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).
                        p->msg = jk_pool_realloc(s->pool, size, p->msg, strlen(p->msg) + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4446:35:  [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).
                    size_t size = strlen(msg) + strlen(aw->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4446: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).
                    size_t size = strlen(msg) + strlen(aw->name) + 1;
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4684:29:  [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).
                size_t nl = strlen(name);
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:4808: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).
        if (w->xmlns && strlen(w->xmlns))
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:5044:78:  [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).
                        char *buf = jk_pool_alloc(s->pool, sizeof(char *) * (strlen(str)+1));
data/libapache-mod-jk-1.2.48/native/common/jk_status.c:5047:38:  [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).
                        size_t len = strlen(JK_STATUS_ARG_REFRESH);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:437:18:  [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).
    status_len = strlen(extensions->fail_on_status_str);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:674:67:  [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 (!strncmp(param, JK_UWMAP_EXTENSION_REPLY_TIMEOUT, strlen(JK_UWMAP_EXTENSION_REPLY_TIMEOUT))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:675:58:  [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).
                extensions->reply_timeout = atoi(param + strlen(JK_UWMAP_EXTENSION_REPLY_TIMEOUT));
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:677:72:  [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 (!strncmp(param, JK_UWMAP_EXTENSION_STICKY_IGNORE, strlen(JK_UWMAP_EXTENSION_STICKY_IGNORE))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:678:40:  [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).
                int val = atoi(param + strlen(JK_UWMAP_EXTENSION_STICKY_IGNORE));
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:686:68:  [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 (!strncmp(param, JK_UWMAP_EXTENSION_STATELESS, strlen(JK_UWMAP_EXTENSION_STATELESS))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:687:40:  [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).
                int val = atoi(param + strlen(JK_UWMAP_EXTENSION_STATELESS));
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:695: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 (!strncmp(param, JK_UWMAP_EXTENSION_USE_SRV_ERRORS, strlen(JK_UWMAP_EXTENSION_USE_SRV_ERRORS))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:696:67:  [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).
                extensions->use_server_error_pages = atoi(param + strlen(JK_UWMAP_EXTENSION_USE_SRV_ERRORS));
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:698:65:  [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 (!strncmp(param, JK_UWMAP_EXTENSION_ACTIVE, strlen(JK_UWMAP_EXTENSION_ACTIVE))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:703:50:  [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).
                    extensions->active = param + strlen(JK_UWMAP_EXTENSION_ACTIVE);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:705:67:  [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 (!strncmp(param, JK_UWMAP_EXTENSION_DISABLED, strlen(JK_UWMAP_EXTENSION_DISABLED))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:710:52:  [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).
                    extensions->disabled = param + strlen(JK_UWMAP_EXTENSION_DISABLED);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:712:66:  [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 (!strncmp(param, JK_UWMAP_EXTENSION_STOPPED, strlen(JK_UWMAP_EXTENSION_STOPPED))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:717:51:  [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).
                    extensions->stopped = param + strlen(JK_UWMAP_EXTENSION_STOPPED);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:719: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 (!strncmp(param, JK_UWMAP_EXTENSION_FAIL_ON_STATUS, strlen(JK_UWMAP_EXTENSION_FAIL_ON_STATUS))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:724:62:  [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).
                    extensions->fail_on_status_str = param + strlen(JK_UWMAP_EXTENSION_FAIL_ON_STATUS);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:726: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 (!strncmp(param, JK_UWMAP_EXTENSION_SESSION_COOKIE, strlen(JK_UWMAP_EXTENSION_SESSION_COOKIE))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:731:58:  [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).
                    extensions->session_cookie = param + strlen(JK_UWMAP_EXTENSION_SESSION_COOKIE);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:733:71:  [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 (!strncmp(param, JK_UWMAP_EXTENSION_SESSION_PATH, strlen(JK_UWMAP_EXTENSION_SESSION_PATH))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:747:60:  [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).
                        extensions->session_path = param + strlen(JK_UWMAP_EXTENSION_SESSION_PATH);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:750:77:  [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 (!strncmp(param, JK_UWMAP_EXTENSION_SET_SESSION_COOKIE, strlen(JK_UWMAP_EXTENSION_SET_SESSION_COOKIE))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:755:44:  [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).
                    int val = atoi(param + strlen(JK_UWMAP_EXTENSION_SET_SESSION_COOKIE));
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:764:78:  [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 (!strncmp(param, JK_UWMAP_EXTENSION_SESSION_COOKIE_PATH, strlen(JK_UWMAP_EXTENSION_SESSION_COOKIE_PATH))) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:769:63:  [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).
                    extensions->session_cookie_path = param + strlen(JK_UWMAP_EXTENSION_SESSION_COOKIE_PATH);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:838:28:  [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).
        uwr->context_len = strlen(uwr->context);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:998:17:  [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(url) == uwr->context_len) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:1051:17:  [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(uri) == uwr->context_len) {
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:1128:35:  [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).
        vhost_len = (unsigned int)strlen(vhost);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:1137:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(&url[off], vhost, vhost_len + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_uri_worker_map.c:1147: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).
    uri_len = strlen(uri);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:143:47:  [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).
            strcpy(buf, "worker."); remain -= strlen("worker."); \
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:144:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
            strncat(buf, wname, remain); remain -= strlen(wname); \
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:144:52:  [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).
            strncat(buf, wname, remain); remain -= strlen(wname); \
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:145:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
            strncat(buf, ".", remain); remain -= 1; \
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:146:13:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
            strncat(buf, P, remain); \
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:439: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).
            size_t len = strlen(JK_TIME_PATTERN_MILLI);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:449:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(l->log_fmt_subsec, jk_log_fmt, offset);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:450:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(l->log_fmt_subsec + offset, JK_TIME_PATTERN_MILLI, len);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:451:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(l->log_fmt_subsec + offset + len,
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:452:29:  [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).
                        s + strlen(JK_TIME_CONV_MILLI),
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:458:35:  [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).
                l->log_fmt_size = strlen(l->log_fmt_subsec);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:464: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).
            size_t len = strlen(JK_TIME_PATTERN_MICRO);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:474:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(l->log_fmt_subsec, jk_log_fmt, offset);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:475:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(l->log_fmt_subsec + offset, JK_TIME_PATTERN_MICRO, len);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:476:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(l->log_fmt_subsec + offset + len,
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:477:29:  [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).
                        s + strlen(JK_TIME_CONV_MICRO),
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:483:35:  [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).
                l->log_fmt_size = strlen(l->log_fmt_subsec);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:530:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(log_fmt, l->log_fmt_subsec, l->log_fmt_size + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:533:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(log_fmt + l->log_fmt_offset, subsec, 3);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:537:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(log_fmt + l->log_fmt_offset, subsec, 6);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:715:35:  [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).
        char *f = (char *)(file + strlen(file) - 1);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:739: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).
                l->log(l, level, (int)strlen(buf), buf);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:743:23:  [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).
            rc = (int)strlen(jk_level_verbs[level]);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:745:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(buf + used, jk_level_verbs[level], rc);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:750: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).
                l->log(l, level, (int)strlen(buf), buf);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:755:27:  [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).
                rc = (int)strlen(funcname);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:757:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(buf + used, funcname, rc);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:759:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                    strncpy(buf + used, "::", 2);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:764: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).
                    l->log(l, level, (int)strlen(buf), buf);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:769:23:  [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).
            rc = (int)strlen(f);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:771:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(buf + used, f, rc);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:776: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).
                l->log(l, level, (int)strlen(buf), buf);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:785: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).
                l->log(l, level, (int)strlen(buf), buf);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:814:18:  [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).
    size_t len = strlen(value);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1815: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).
  ptr = (char *)malloc(strlen(f) + 1);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1842:31:  [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).
        size_t prp_name_len = strlen(prp_name);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1843:29:  [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).
        size_t suffix_len = strlen(suffix);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1844: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).
        size_t sep_len = strlen(sep);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:1912: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).
        len = strlen(*props);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2075: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).
        if (prps && strlen(prps)) {
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2116:32:  [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).
        env = jk_pool_alloc(p, strlen(PATH_ENV_VARIABLE) +
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2117:29:  [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(current) + strlen(libpath) + 5);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2117:47:  [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(current) + strlen(libpath) + 5);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2124:32:  [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).
        env = jk_pool_alloc(p, strlen(PATH_ENV_VARIABLE) +
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2125:29:  [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(libpath) + 5);
data/libapache-mod-jk-1.2.48/native/common/jk_util.c:2299: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).
        i = (int) strlen(session_name);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:775: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).
        len = strlen(find);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:843:27:  [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 (FAILED(hr) || strlen(body) > (8191 - strlen(CONTENT_TYPE))) {
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:843:50:  [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 (FAILED(hr) || strlen(body) > (8191 - strlen(CONTENT_TYPE))) {
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:948:42:  [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).
        status_str = (char *)malloc((6 + strlen(reason)));
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:949:40:  [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).
        StringCbPrintf(status_str, 6 + strlen(reason), "%d %s", status, reason);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:966:31:  [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_of_headers += strlen(header_names[i]);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:967:31:  [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_of_headers += strlen(header_values[i]);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1256: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).
            response_elements[0].cbSize = strlen(chunk_header);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1618: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).
            len = strlen(src);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1645: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).
                    size_t orgsz = strlen(uri);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1646: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).
                    size_t subsz = strlen(subs);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1815:28:  [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).
            size_t elen  = strlen(uri) * 3 + 1;
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:1832:28:  [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).
            size_t elen  = strlen(uri) * 3 + 1;
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2385:64:  [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 (log_open && strncmp(log_file_name, log_file_effective, strlen(log_file_name)) != 0) {
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:2865: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).
        if (tmp && (strlen(tmp) < sz)) {
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3191: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).
            if (!strnicmp(tmp, URI_HEADER_NAME, strlen(URI_HEADER_NAME)) ||
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3192:52:  [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).
                !strnicmp(tmp, WORKER_HEADER_NAME, strlen(WORKER_HEADER_NAME)) ||
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3193:53:  [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).
                !strnicmp(tmp, WORKER_HEADER_INDEX, strlen(WORKER_HEADER_INDEX)) ||
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3194:51:  [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).
                !strnicmp(tmp, QUERY_HEADER_NAME, strlen(QUERY_HEADER_NAME))) {
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3224:32:  [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(TOMCAT_TRANSLATE_HEADER_NAME))) {
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3514: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).
    size = strlen(path);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3638: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).
    sz = strlen(merge);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3639: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).
    rsz = strlen(dir);
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3667: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).
        bl = strlen(dir) + sz + 2;
data/libapache-mod-jk-1.2.48/native/iis/jk_isapi_plugin.c:3673: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).
        sz = strlen(out);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_internal.h:369:9:  [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).
#define strlen(s)        _strlen(s)
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_internal.h:2695: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).
#define STRLEN_UC(str) strlen((const char *)str)
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_jit_test.c:1365:63:  [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).
				return_value8[0] = pcre_exec(re8, extra8, current->input, strlen(current->input), current->start_offset & OFFSET_MASK,
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_jit_test.c:1368:67:  [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).
				return_value8[0] = pcre_jit_exec(re8, extra8, current->input, strlen(current->input), current->start_offset & OFFSET_MASK,
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcre_jit_test.c:1377:69:  [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).
			return_value8[1] = pcre_exec(re8, &dummy_extra8, current->input, strlen(current->input), current->start_offset & OFFSET_MASK,
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:986: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).
    assert(buf[strlen(buf)-1] != '9');
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:987:9:  [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).
    buf[strlen(buf)-1]++;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:991: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).
    assert(buf[strlen(buf)-1] != '9');
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:992:9:  [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).
    buf[strlen(buf)-1]++;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:1009: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).
    assert(buf[strlen(buf)-1] != '9');
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcrecpp_unittest.cc:1010:9:  [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).
    buf[strlen(buf)-1]++;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcredemo.c:91:23:  [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).
subject_length = (int)strlen(subject);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:470:5:  [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(s) > MAXPATLEN)
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:698: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).
len = strlen(filename);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:954: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).
int plen = strlen(path);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:1015: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).
    int nlen = (equals == NULL)? (int)strlen(op->long_name) :
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:1092:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
while ((c = fgetc(f)) != EOF)
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:1633:56:  [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).
          unsigned long newlen = length * jfriedl_XT + strlen(jfriedl_prefix) + strlen(jfriedl_postfix);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:1633:81:  [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).
          unsigned long newlen = length * jfriedl_XT + strlen(jfriedl_prefix) + strlen(jfriedl_postfix);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:1641:53:  [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).
          strcpy(endptr, jfriedl_prefix); endptr += strlen(jfriedl_prefix);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:1643:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                  strncpy(endptr, orig,  length);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:1646:54:  [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).
          strcpy(endptr, jfriedl_postfix); endptr += strlen(jfriedl_postfix);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2252: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).
      int fnlength = strlen(pathname) + strlen(nextfile) + 2;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2252:41:  [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).
      int fnlength = strlen(pathname) + strlen(nextfile) + 2;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2294:17:  [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).
pathlen = (int)(strlen(pathname));
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2512: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).
int patlen = strlen(ps);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2543: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).
errptr -= (int)strlen(prefix[popts]);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2607:27:  [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).
  char *s = buffer + (int)strlen(buffer);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2747:18:  [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).
            (int)strlen(arg) : (int)(argequals - arg);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:2771: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).
          (int)strlen(arg) : (int)(argequals - arg);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcregrep.c:3305:31:  [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).
    char *end = buffer + (int)strlen(buffer);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcreposix.c:218: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).
length = strlen(message) + 1;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcreposix.c:222: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(addmessage) + 6 : 0;
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcreposix.c:230:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(errbuf, message, errbuf_size - 1);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcreposix.c:375:13:  [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).
  eo = (int)strlen(string);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:231: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).
#define STRLEN8(p) ((int)strlen((char *)p))
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:1892:13:  [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(s);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:1911:17:  [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).
    dlen = (int)strlen((char *)here);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:2028: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).
  length = strlen((char *)p);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:3548: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).
    pp = p + (int)strlen((char *)p);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:3966:55:  [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).
      switch(to16(FALSE, p, options & PCRE_UTF8, (int)strlen((char *)p)))
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:3993:56:  [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).
      switch(to32(FALSE, p, options & PCRE_UTF32, (int)strlen((char *)p)))
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:4052: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 = (int)strlen((char *)buffer);
data/libapache-mod-jk-1.2.48/native/iis/pcre/pcretest.c:4548:18:  [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 = (int)strlen((char *)buffer);
data/libapache-mod-jk-1.2.48/native/netscape/jk_nsapi_plugin.c:447: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).
    size = 3 * strlen(tmp) + 1;
data/libapache-mod-jk-1.2.48/native/netscape/jk_nsapi_plugin.c:468:50:  [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(ssl_cert)+
data/libapache-mod-jk-1.2.48/native/netscape/jk_nsapi_plugin.c:473:31:  [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).
            s->ssl_cert_len = strlen(s->ssl_cert);

ANALYSIS SUMMARY:

Hits = 841
Lines analyzed = 138598 in approximately 4.66 seconds (29748 lines/second)
Physical Source Lines of Code (SLOC) = 102850
Hits@level = [0] 829 [1] 341 [2] 415 [3]  14 [4]  70 [5]   1
Hits@level+ = [0+] 1670 [1+] 841 [2+] 500 [3+]  85 [4+]  71 [5+]   1
Hits/KSLOC@level+ = [0+] 16.2372 [1+] 8.17696 [2+] 4.86145 [3+] 0.826446 [4+] 0.690326 [5+] 0.0097229
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.