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/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/crc16.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array.c
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_cluster.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array_impl.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array_impl.c
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/liblzf/lzfP.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/liblzf/lzf_c.c
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/liblzf/lzf_d.c
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/liblzf/lzf.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/common.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_cluster.c
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/php_redis.h
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c
Examining data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/sentinel_library.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/crc16.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/sentinel_library.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_cluster.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array_impl.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array_impl.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/liblzf/lzfP.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/liblzf/lzf_c.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/liblzf/lzf_d.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/liblzf/lzf.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_sentinel.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/common.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_sentinel.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_cluster.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/php_redis.h
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c
Examining data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c

FINAL RESULTS:

data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1811:20:  [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.
        host_len = snprintf(host, sizeof(host), fmtstr, ZSTR_VAL(redis_sock->host), redis_sock->port);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:471:24:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
     PHP_MALIAS(Redis, popen, pconnect, arginfo_pconnect, ZEND_ACC_PUBLIC)
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:555:20:  [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.
            klen = snprintf(buf,sizeof(buf),ZEND_LONG_FMT,Z_LVAL_P(z_key));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:954:15:  [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.
    int len = snprintf(nbuf, sizeof(nbuf), "%" PRId64, append);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2196:20:  [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.
        host_len = snprintf(host, sizeof(host), fmtstr, schema ? schema : "tcp", address, redis_sock->port);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:474:24:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
     PHP_MALIAS(Redis, popen, pconnect, arginfo_pconnect, ZEND_ACC_PUBLIC | ZEND_ACC_DEPRECATED)
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array.c:876:23:  [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.
            key_len = snprintf(kbuf, sizeof(kbuf), ZEND_LONG_FMT, Z_LVAL_P(data));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array.c:1002:23:  [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.
            key_len = snprintf(kbuf, sizeof(kbuf), ZEND_ULONG_FMT, idx);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:1687:23:  [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.
            mem_len = snprintf(kbuf, sizeof(kbuf), ZEND_LONG_FMT, idx);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:786:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(tv.tv_usec * tv.tv_sec);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:828:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(tv.tv_usec * tv.tv_sec);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:123: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/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:282: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/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:576: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[255];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:708: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, key[1024];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:778: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 key[1024];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:919: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 *str, *psep, key[1024];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:944:29:  [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).
            (unsigned short)atoi(psep+1), cluster->timeout,
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:1028:37:  [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).
    c->redir_slot = (unsigned short)atoi(msg);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:1029:37:  [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).
    c->redir_port = (unsigned short)atoi(port);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:1062: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:1260: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 key[1024];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:1271: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 key[1024];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:2054:11:  [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).
    *it = atol(pit);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.h:207: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 multi_len[REDIS_CLUSTER_SLOTS];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.h:230: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 line_reply[1024];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.h:238: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               redir_host[255];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/common.h:47: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(ZSTR_VAL(zstr), str, len);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/common.h:565: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(&ZSTR_VAL(redis_sock->pipeline_cmd)[pipeline_len], cmd, cmd_len); \
data/php-redis-5.3.1+4.3.0/redis-4.3.0/liblzf/lzf_d.c:162: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 (op, ref, len);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:299:13:  [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).
    *iter = atol(p_iter);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:486: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:498: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:553: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:570: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).
            *buf_len = atoi(inbuf + 1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:729: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 int_buf[32];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:738: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 long_buf[32];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:747: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 nbuf[64];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:758: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[64];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:802: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 *arg, kbuf[128];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1034:59:  [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).
                        add_assoc_long(z_sub_result, key, atol(value));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1200:70:  [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).
            add_assoc_long_ex(z_ret, ZSTR_VAL(hkey), ZSTR_LEN(hkey), atoi(hval+1));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1223: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 line[4096];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1239: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).
    *nelem = atoi(line+1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1248: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1264: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1619: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[4096];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1712:41:  [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).
            add_assoc_long(z_result, p, atol(p2));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1783: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[1024];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1978: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1997: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:2039: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:2096: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 inbuf[4096], *response;
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:2115: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:2419: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(ret, ZSTR_VAL(redis_sock->prefix), ZSTR_LEN(redis_sock->prefix));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:2420: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(ret + ZSTR_LEN(redis_sock->prefix), *key, *key_len);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:2484: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 inbuf[255];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:2492:23:  [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).
        *reply_info = atol(inbuf);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:2507: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:470:24:  [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).
     PHP_MALIAS(Redis, open, connect, arginfo_connect, ZEND_ACC_PUBLIC)
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:1929: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/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:2407: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:2416: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:2520: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 inbuf[255];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:2540:19:  [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).
        int num = atol(inbuf + 1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array.c:351:36:  [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).
                l_retry_interval = atol(Z_STRVAL_P(zpData));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array.c:1008: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 kbuf[40], *key_lookup;
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array.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 *key, kbuf[40];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array_impl.c:62: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).
            port = (short)atoi(p+1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array_impl.c:278:32:  [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).
            l_retry_interval = atol(Z_STRVAL_P(z_data));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array_impl.c:397: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[HOST_NAME_MAX];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array_impl.c:398: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 digest[16];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_cluster.c:512:26:  [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).
            persistent = atoi(Z_STRVAL_P(z_value));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_cluster.c:643: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 kbuf[22];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_cluster.c:2107: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[255];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:1313:30:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    expire = atol(Z_STRVAL_P(v));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:1630: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 *mem, *val, kbuf[40];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:2406:23:  [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).
                low = atol(Z_STRVAL_P(z_off));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:2411:24:  [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).
                high = atol(Z_STRVAL_P(z_cnt));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:3318: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 *kptr, kbuf[40];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:3780: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 fmt[4];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:3791: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(fmt, "sks", sizeof("sks")-1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:3885:24:  [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).
            val_long = atol(val_str);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:3896:24:  [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).
            val_long = atol(val_str);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:3932:29:  [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).
            tcp_keepalive = atol(val_str) > 0 ? 1 : 0;
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:3947:24:  [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).
            val_long = atol(val_str);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:3954:24:  [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).
            val_long = atol(val_str);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:242: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 *cmd, hostname[HOST_NAME_MAX] = {0}, suffix[] = "_LOCK", pid[32];
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:270: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(ZSTR_VAL(lock_status->lock_key), ZSTR_VAL(lock_status->session_key), ZSTR_LEN(lock_status->session_key));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:271: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(ZSTR_VAL(lock_status->lock_key) + ZSTR_LEN(lock_status->session_key), suffix, sizeof(suffix) - 1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:279: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(ZSTR_VAL(lock_status->lock_secret), hostname, hostname_len);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:280: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(ZSTR_VAL(lock_status->lock_secret) + hostname_len, pid, pid_len);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:438: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(path, "file:", sizeof("file:")-1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:476:35:  [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).
                    persistent = (atol(Z_STRVAL_P(param)) == 1 ? 1 : 0);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:575: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(ZSTR_VAL(session), prefix, prefix_len);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:576: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(ZSTR_VAL(session) + prefix_len, key, key_len);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:971: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(skey, ZSTR_VAL(c->flags->prefix), ZSTR_LEN(c->flags->prefix));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:972: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(skey + ZSTR_LEN(c->flags->prefix), key, keylen);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:123: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/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:261: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/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:545: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[255];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:679: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, key[1024];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:756: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 key[1024];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:803: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(&dst[i++], range, sizeof(*range));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c: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 key[HOST_NAME_MAX];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:1032: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 *seed, *sep, key[1024];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:1048:29:  [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).
            (unsigned short)atoi(sep+1), cluster->timeout,
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:1125:37:  [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).
    c->redir_slot = (unsigned short)atoi(msg);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:1126:37:  [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).
    c->redir_port = (unsigned short)atoi(port);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:1158: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:1369: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 key[1024];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.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 key[1024];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:2131:11:  [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).
    *it = atol(pit);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.h:221: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 multi_len[REDIS_CLUSTER_SLOTS];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.h:249: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 line_reply[1024];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.h:257: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               redir_host[255];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/common.h:130: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(&ZSTR_VAL(redis_sock->pipeline_cmd)[pipeline_len], cmd, cmd_len); \
data/php-redis-5.3.1+4.3.0/redis-5.3.1/liblzf/lzf_d.c:162: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 (op, ref, len);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:153: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/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:408:13:  [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).
    *iter = atol(p_iter);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:578: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:590: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:644: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:661: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).
            *buf_len = atoi(inbuf + 1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:935: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 int_buf[32];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:944: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 long_buf[32];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:953: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 nbuf[64];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:964: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[64];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.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 *arg, kbuf[128];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:1234:60:  [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).
                        add_assoc_long(&z_sub_result, key, atol(value));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:1397:71:  [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).
            add_assoc_long_ex(&z_ret, ZSTR_VAL(hkey), ZSTR_LEN(hkey), atoi(hval+1));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:1415: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 line[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:1431: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).
    *nelem = atoi(line+1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:1459: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.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 buffer[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2067:42:  [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).
            add_assoc_long(&z_result, p, atol(p2));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2133: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 id[64], ok;
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2168: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[1024], *pos, *address, *schema = NULL;
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2390: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2410: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2431: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2450: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2550: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 inbuf[4096], *response;
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2572: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2760: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(lz4pos, &crc, sizeof(crc));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2764: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(lz4pos, &old_len, sizeof(old_len));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2862: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(&lz4crc, copy, sizeof(uint8_t));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2864: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(&datalen, copy, sizeof(int));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:3060: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(ret, ZSTR_VAL(redis_sock->prefix), ZSTR_LEN(redis_sock->prefix));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:3061: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(ret + ZSTR_LEN(redis_sock->prefix), *key, *key_len);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:3131: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 inbuf[255];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:3139:23:  [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).
        *reply_info = atol(inbuf);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:3154: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/php_redis.h:262: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 salt[REDIS_SALT_SIZE];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:473:24:  [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).
     PHP_MALIAS(Redis, open, connect, arginfo_connect, ZEND_ACC_PUBLIC | ZEND_ACC_DEPRECATED)
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:778: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 chunk[9], *ptr = dst;
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:797: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(ptr, chunk, len);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:2065: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/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:2543: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:2552: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).
    numElems = atoi(inbuf+1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:2657: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 inbuf[255];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:2676:19:  [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).
        int num = atol(inbuf + 1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array.c:857: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 kbuf[40], *key_lookup;
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array.c:965: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 *key, kbuf[40];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array_impl.c:57: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).
            port = (short)atoi(p+1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array_impl.c:326: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[HOST_NAME_MAX];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array_impl.c:327: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 digest[16];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_cluster.c:563: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 kbuf[22];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_cluster.c:1994: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[255];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:1350:30:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    expire = atol(Z_STRVAL_P(v));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:1677: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 *mem, *val, kbuf[40];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:2474:23:  [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).
                low = atol(Z_STRVAL_P(z_off));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:2479:24:  [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).
                high = atol(Z_STRVAL_P(z_cnt));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:3382: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 *kptr, kbuf[40];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:224: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 *cmd, hostname[HOST_NAME_MAX] = {0}, suffix[] = "_LOCK";
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:252: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(ZSTR_VAL(lock_status->lock_key), ZSTR_VAL(lock_status->session_key), ZSTR_LEN(lock_status->session_key));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:253: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(ZSTR_VAL(lock_status->lock_key) + ZSTR_LEN(lock_status->session_key), suffix, sizeof(suffix) - 1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:410: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(path, "file:", sizeof("file:")-1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:547: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(ZSTR_VAL(session), prefix, prefix_len);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:548: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(ZSTR_VAL(session) + prefix_len, key, key_len);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:847: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(skey, ZSTR_VAL(c->flags->prefix), ZSTR_LEN(c->flags->prefix));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:848: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(skey + ZSTR_LEN(c->flags->prefix), key, keylen);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/sentinel_library.c:36: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 inbuf[4096];
data/php-redis-5.3.1+4.3.0/redis-5.3.1/sentinel_library.c:53:13:  [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).
    nelem = atoi(inbuf + 1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:1026:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(c->redir_host, host, sizeof(c->redir_host) - 1);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/cluster_library.c:1081: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).
            cluster_set_err(c, inbuf, strlen(inbuf)-2);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/common.h:280: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).
    ZVAL_STRINGL(z, _s, strlen(_s)); \
data/php-redis-5.3.1+4.3.0/redis-4.3.0/common.h:329:75:  [1] (buffer) strlen:
  Does not handle 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 add_assoc_bool(__arg, __key, __b) add_assoc_bool_ex(__arg, __key, strlen(__key), __b)
data/php-redis-5.3.1+4.3.0/redis-4.3.0/common.h:334:75:  [1] (buffer) strlen:
  Does not handle 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 add_assoc_long(__arg, __key, __n) add_assoc_long_ex(__arg, __key, strlen(__key), __n)
data/php-redis-5.3.1+4.3.0/redis-4.3.0/common.h:339:79:  [1] (buffer) strlen:
  Does not handle 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 add_assoc_double(__arg, __key, __d) add_assoc_double_ex(__arg, __key, strlen(__key), __d)
data/php-redis-5.3.1+4.3.0/redis-4.3.0/common.h:344: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).
#define add_assoc_string(__arg, __key, __str) add_assoc_string_ex(__arg, __key, strlen(__key), __str)
data/php-redis-5.3.1+4.3.0/redis-4.3.0/common.h:352:79:  [1] (buffer) strlen:
  Does not handle 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 add_assoc_zval(__arg, __key, __value) add_assoc_zval_ex(__arg, __key, strlen(__key), __value)
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:44:27:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        PHP_REDIS_API int usleep(unsigned int useconds);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:238:17:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                usleep(retry_interval);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:638: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).
    redis_cmd_init_sstr(&cmd, strlen(fmt), kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:638:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    redis_cmd_init_sstr(&cmd, strlen(fmt), kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1751: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).
        redis_sock->persistent_id = zend_string_init(persistent_id, strlen(persistent_id), 0);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/library.c:1864: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).
            redis_sock_set_err(redis_sock, estr, strlen(estr));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/php_redis.h:61: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).
PHP_METHOD(Redis, strlen);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:412: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).
     PHP_ME(Redis, strlen, arginfo_key, ZEND_ACC_PUBLIC)
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:1347: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).
PHP_METHOD(Redis, strlen)
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:1948: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).
    redis_cmd_init_sstr(&cmd, zend_hash_num_elements(htargs) * 2, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis.c:3486: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).
    redis_cmd_init_sstr(&cmdstr, argc, keyword, strlen(keyword));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_array_impl.c:193: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 name_len = strlen(name);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_cluster.c:249: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).
    PHP_ME(RedisCluster, strlen, arginfo_key, ZEND_ACC_PUBLIC)
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_cluster.c:1244: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).
PHP_METHOD(RedisCluster, strlen) {
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_cluster.h:170: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).
PHP_METHOD(RedisCluster, strlen);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:467: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw[type], strlen(kw[type]));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:663: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:784: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).
    redis_cmd_init_sstr(&cmdstr, sctx->argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:838: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).
    redis_cmd_init_sstr(&cmdstr, sctx->argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:967:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    redis_cmd_init_sstr(&cmdstr, 2 + argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:1029: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:1077: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:1260: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).
        strlen(kw), 2, 2, cmd, cmd_len, slot);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:2836: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:2905: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:3297: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).
    redis_cmd_init_sstr(&cmdstr, 3 + (2 * (count > -1)), kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_commands.c:3645: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).
        redis_cmd_append_sstr(cmd, opt->idle.type, strlen(opt->idle.type));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:275: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 hostname_len = strlen(hostname);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:306:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
            usleep(lock_wait_time);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:415: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).
    for (i = 0, j = 0, path_len = strlen(save_path); i < path_len; i = j + 1) {
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:510: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).
                redis_sock = redis_sock_create(url->host, strlen(url->host), url->port, timeout, read_timeout, persistent, persistent_id, retry_interval);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:516: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).
                redis_sock = redis_sock_create(url->path, strlen(url->path), 0, timeout, read_timeout, persistent, persistent_id, retry_interval);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:621: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).
        pool->lock_status.session_key = redis_session_key(rpm, sid, strlen(sid));
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:746: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 skeylen = strlen(key);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:812: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 skeylen = strlen(key), svallen = vallen;
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:873: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 skeylen = strlen(key);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:948: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).
    int strlen;
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:1082: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).
    skey = cluster_session_key(c, key, strlen(key), &skeylen, &slot);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:1145: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).
    skey = cluster_session_key(c, key, strlen(key), &skeylen, &slot);
data/php-redis-5.3.1+4.3.0/redis-4.3.0/redis_session.c:1191: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).
    skey = cluster_session_key(c, key, strlen(key), &skeylen, &slot);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:1123:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(c->redir_host, host, sizeof(c->redir_host) - 1);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/cluster_library.c:1181: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).
            cluster_set_err(c, inbuf, strlen(inbuf)-2);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:346:17:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                usleep(retry_interval);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:844: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).
    redis_cmd_init_sstr(&cmd, strlen(fmt), kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:844:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    redis_cmd_init_sstr(&cmd, strlen(fmt), kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/library.c:2102: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).
        redis_sock->persistent_id = zend_string_init(persistent_id, strlen(persistent_id), 0);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/php_redis.h:118: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).
PHP_METHOD(Redis, strlen);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:414: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).
     PHP_ME(Redis, strlen, arginfo_key, ZEND_ACC_PUBLIC)
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:1483: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).
PHP_METHOD(Redis, strlen)
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:2084: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).
    redis_cmd_init_sstr(&cmd, zend_hash_num_elements(htargs) * 2, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis.c:3570: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).
    redis_cmd_init_sstr(&cmdstr, argc, keyword, strlen(keyword));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_array_impl.c:165: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 name_len = strlen(name);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_cluster.c:246: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).
    PHP_ME(RedisCluster, strlen, arginfo_key, ZEND_ACC_PUBLIC)
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_cluster.c:1132: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).
PHP_METHOD(RedisCluster, strlen) {
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_cluster.h:148: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).
PHP_METHOD(RedisCluster, strlen);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:485: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw[type], strlen(kw[type]));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:697: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:818: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).
    redis_cmd_init_sstr(&cmdstr, sctx->argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:872: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).
    redis_cmd_init_sstr(&cmdstr, sctx->argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:1001:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    redis_cmd_init_sstr(&cmdstr, 2 + argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:1063: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:1111: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:1294: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).
        strlen(kw), 2, 2, cmd, cmd_len, slot);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:1388: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).
        redis_cmd_append_sstr(&cmdstr, exp_type, strlen(exp_type));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:1393: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).
        redis_cmd_append_sstr(&cmdstr, set_type, strlen(set_type));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:2055: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:2900: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:2969: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).
    redis_cmd_init_sstr(&cmdstr, argc, kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:3361: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).
    redis_cmd_init_sstr(&cmdstr, 3 + (2 * (count > -1)), kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:3716: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).
        redis_cmd_append_sstr(cmd, opt->idle.type, strlen(opt->idle.type));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:3919:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *cmd_len = REDIS_CMD_SPPRINTF(cmd, "SENTINEL", "s", kw, strlen(kw));
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_commands.c:3932: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).
    *cmd_len = REDIS_CMD_SPPRINTF(cmd, "SENTINEL", "sS", kw, strlen(kw), name);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:284:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
            usleep(lock_wait_time);
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:388: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).
    for (i = 0, j = 0, path_len = strlen(save_path); i < path_len; i = j + 1) {
data/php-redis-5.3.1+4.3.0/redis-5.3.1/redis_session.c:480: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).
                addrlen = strlen(addr);

ANALYSIS SUMMARY:

Hits = 269
Lines analyzed = 49060 in approximately 1.10 seconds (44775 lines/second)
Physical Source Lines of Code (SLOC) = 34243
Hits@level = [0]  41 [1]  83 [2] 175 [3]   2 [4]   9 [5]   0
Hits@level+ = [0+] 310 [1+] 269 [2+] 186 [3+]  11 [4+]   9 [5+]   0
Hits/KSLOC@level+ = [0+] 9.05295 [1+] 7.85562 [2+] 5.43177 [3+] 0.321234 [4+] 0.262827 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.