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/python-gevent-1.4.0/deps/c-ares/acountry.c
Examining data/python-gevent-1.4.0/deps/c-ares/adig.c
Examining data/python-gevent-1.4.0/deps/c-ares/ahost.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares__close_sockets.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares__get_hostent.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares__read_line.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares__timeval.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_android.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_cancel.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_create_query.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_data.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_data.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_destroy.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_dns.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_expand_name.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_expand_string.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_fds.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_free_hostent.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_free_string.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_getenv.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_getenv.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyaddr.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_getopt.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_getopt.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_getsock.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_inet_net_pton.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_init.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_iphlpapi.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_ipv6.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_library_init.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_library_init.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_llist.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_llist.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_mkquery.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_nowarn.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_nowarn.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_options.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_parse_a_reply.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_parse_aaaa_reply.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_parse_mx_reply.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_parse_naptr_reply.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_parse_ns_reply.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_parse_ptr_reply.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_parse_soa_reply.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_parse_srv_reply.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_parse_txt_reply.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_platform.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_platform.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_private.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_process.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_query.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_rules.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_search.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_send.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_setup.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_strcasecmp.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_strcasecmp.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_strdup.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_strdup.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_strerror.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_timeout.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_version.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_version.h
Examining data/python-gevent-1.4.0/deps/c-ares/ares_writev.c
Examining data/python-gevent-1.4.0/deps/c-ares/ares_writev.h
Examining data/python-gevent-1.4.0/deps/c-ares/bitncmp.c
Examining data/python-gevent-1.4.0/deps/c-ares/bitncmp.h
Examining data/python-gevent-1.4.0/deps/c-ares/config-dos.h
Examining data/python-gevent-1.4.0/deps/c-ares/config-win32.h
Examining data/python-gevent-1.4.0/deps/c-ares/inet_net_pton.c
Examining data/python-gevent-1.4.0/deps/c-ares/inet_ntop.c
Examining data/python-gevent-1.4.0/deps/c-ares/nameser.h
Examining data/python-gevent-1.4.0/deps/c-ares/setup_once.h
Examining data/python-gevent-1.4.0/deps/c-ares/windows_port.c
Examining data/python-gevent-1.4.0/deps/greenlet/greenlet.h
Examining data/python-gevent-1.4.0/deps/libev/ev++.h
Examining data/python-gevent-1.4.0/deps/libev/ev.c
Examining data/python-gevent-1.4.0/deps/libev/ev.h
Examining data/python-gevent-1.4.0/deps/libev/ev_epoll.c
Examining data/python-gevent-1.4.0/deps/libev/ev_kqueue.c
Examining data/python-gevent-1.4.0/deps/libev/ev_poll.c
Examining data/python-gevent-1.4.0/deps/libev/ev_port.c
Examining data/python-gevent-1.4.0/deps/libev/ev_select.c
Examining data/python-gevent-1.4.0/deps/libev/ev_vars.h
Examining data/python-gevent-1.4.0/deps/libev/ev_win32.c
Examining data/python-gevent-1.4.0/deps/libev/ev_wrap.h
Examining data/python-gevent-1.4.0/deps/libev/event.c
Examining data/python-gevent-1.4.0/deps/libev/event.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/aix.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/android-ifaddrs.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/bsd.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/darwin.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/errno.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/linux.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/os390.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/posix.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/stdint-msvc2008.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/sunos.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/threadpool.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/tree.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/unix.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/version.h
Examining data/python-gevent-1.4.0/deps/libuv/include/uv/win.h
Examining data/python-gevent-1.4.0/deps/libuv/src/fs-poll.c
Examining data/python-gevent-1.4.0/deps/libuv/src/heap-inl.h
Examining data/python-gevent-1.4.0/deps/libuv/src/idna.c
Examining data/python-gevent-1.4.0/deps/libuv/src/idna.h
Examining data/python-gevent-1.4.0/deps/libuv/src/inet.c
Examining data/python-gevent-1.4.0/deps/libuv/src/queue.h
Examining data/python-gevent-1.4.0/deps/libuv/src/threadpool.c
Examining data/python-gevent-1.4.0/deps/libuv/src/timer.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/async.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/atomic-ops.h
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/bsd-ifaddrs.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/bsd-proctitle.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/core.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/cygwin.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/darwin-proctitle.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/darwin.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/dl.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/freebsd.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/getaddrinfo.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/getnameinfo.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/ibmi.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/kqueue.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/linux-inotify.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/linux-syscalls.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/linux-syscalls.h
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/loop-watcher.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/loop.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/netbsd.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/no-fsevents.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/no-proctitle.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/openbsd.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.h
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/pipe.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/poll.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/posix-hrtime.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/posix-poll.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/process.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/procfs-exepath.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/proctitle.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/pthread-fixes.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/signal.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/spinlock.h
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/stream.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/sunos.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/sysinfo-loadavg.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/sysinfo-memory.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/tcp.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/thread.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/tty.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/udp.c
Examining data/python-gevent-1.4.0/deps/libuv/src/unix/internal.h
Examining data/python-gevent-1.4.0/deps/libuv/src/uv-common.c
Examining data/python-gevent-1.4.0/deps/libuv/src/uv-common.h
Examining data/python-gevent-1.4.0/deps/libuv/src/uv-data-getter-setters.c
Examining data/python-gevent-1.4.0/deps/libuv/src/version.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/async.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/atomicops-inl.h
Examining data/python-gevent-1.4.0/deps/libuv/src/win/core.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/detect-wakeup.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/dl.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/error.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/fs.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/getaddrinfo.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/getnameinfo.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/handle-inl.h
Examining data/python-gevent-1.4.0/deps/libuv/src/win/handle.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/internal.h
Examining data/python-gevent-1.4.0/deps/libuv/src/win/loop-watcher.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/poll.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/process-stdio.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/process.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/req-inl.h
Examining data/python-gevent-1.4.0/deps/libuv/src/win/signal.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/snprintf.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/stream-inl.h
Examining data/python-gevent-1.4.0/deps/libuv/src/win/stream.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/tcp.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/thread.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/tty.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/udp.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/util.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/winapi.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/winapi.h
Examining data/python-gevent-1.4.0/deps/libuv/src/win/winsock.c
Examining data/python-gevent-1.4.0/deps/libuv/src/win/winsock.h
Examining data/python-gevent-1.4.0/src/gevent/libev/_corecffi_cdef.c
Examining data/python-gevent-1.4.0/src/gevent/libev/_corecffi_source.c
Examining data/python-gevent-1.4.0/src/gevent/libev/callbacks.c
Examining data/python-gevent-1.4.0/src/gevent/libev/callbacks.h
Examining data/python-gevent-1.4.0/src/gevent/libev/libev.h
Examining data/python-gevent-1.4.0/src/gevent/libev/libev_vfd.h
Examining data/python-gevent-1.4.0/src/gevent/libev/stathelper.c
Examining data/python-gevent-1.4.0/src/gevent/libuv/_corecffi_cdef.c
Examining data/python-gevent-1.4.0/src/gevent/libuv/_corecffi_source.c
Examining data/python-gevent-1.4.0/src/gevent/resolver/cares_ntop.h
Examining data/python-gevent-1.4.0/src/gevent/resolver/cares_pton.h
Examining data/python-gevent-1.4.0/src/gevent/resolver/dnshelper.c

FINAL RESULTS:

data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:742:10:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    rc = readlink(cwd, readlink_cwd, sizeof(readlink_cwd) - 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/freebsd.c:68:18:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  abspath_size = readlink("/proc/curproc/file", abspath, sizeof(abspath));
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:419:9:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  len = readlink(req->path, buf, maxlen);
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:1138:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    X(CHMOD, chmod(req->path, req->mode));
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:1139:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    X(CHOWN, chown(req->path, req->uid, req->gid));
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:452:10:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  rlen = readlink(path, tmpbuf, len);
data/python-gevent-1.4.0/deps/libuv/src/unix/pipe.c:375:7:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  r = chmod(name_buffer, pipe_stat.st_mode);
data/python-gevent-1.4.0/deps/libuv/src/unix/procfs-exepath.c:36:9:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    n = readlink("/proc/self/exe", buffer, n);
data/python-gevent-1.4.0/deps/libuv/src/unix/sunos.c:351:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    res = readlink(buf, buffer, res);
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:2078:15:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    XX(CHMOD, chmod)
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:2090:18:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    XX(READLINK, readlink)
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:2092:15:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    XX(CHOWN, chown)
data/python-gevent-1.4.0/deps/c-ares/acountry.c:80:24:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                       printf fmt ;   \
data/python-gevent-1.4.0/deps/c-ares/acountry.c:92:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, fmt, args);
data/python-gevent-1.4.0/deps/c-ares/acountry.c:164:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(buf, nerd_fmt,
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyaddr.c:208:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(PATH_HOSTS, WIN_PATH_HOSTS);
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:369:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(PATH_HOSTS, WIN_PATH_HOSTS);
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:410:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(&buf[bufl], tmpbuf);
data/python-gevent-1.4.0/deps/c-ares/ares_options.c:271:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(csv, _csv);
data/python-gevent-1.4.0/deps/c-ares/ares_parse_ns_reply.c:135:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(nameservers[nameservers_num],rr_data);
data/python-gevent-1.4.0/deps/c-ares/inet_ntop.c:93:15:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  if ((size_t)sprintf(tmp, fmt, src[0], src[1], src[2], src[3]) >= size) {
data/python-gevent-1.4.0/deps/c-ares/inet_ntop.c:97:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(dst, tmp);
data/python-gevent-1.4.0/deps/c-ares/inet_ntop.c:195:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(dst, tmp);
data/python-gevent-1.4.0/deps/libev/ev.c:4295:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy (path, w->path);
data/python-gevent-1.4.0/deps/libuv/src/inet.c:58:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  l = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
data/python-gevent-1.4.0/deps/libuv/src/inet.c:152:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(dst, tmp);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:135:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access(abspath, X_OK) == 0) {
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:369:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(rawbuf, cp);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:372:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(rawbuf, dp+1);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:532:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(mon_file, filename);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:640:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        if (sscanf(p, "BEGIN_EVPROD_INFO\n%sEND_EVPROD_INFO", filename) == 1) {
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:989:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(cpu_id.name, FIRST_CPU);
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:1137:15:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    X(ACCESS, access(req->path, req->flags));
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-inotify.c:314:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  w->path = strcpy((char*)(w + 1), path);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:311:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access(abspath, X_OK) == 0) {
data/python-gevent-1.4.0/deps/libuv/src/unix/process.c:404:3:  [4] (shell) execvp:
  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.
  execvp(options->file, options->args);
data/python-gevent-1.4.0/deps/libuv/src/uv-common.h:50:14:  [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.
#if !defined(snprintf) && defined(_MSC_VER) && _MSC_VER < 1900
data/python-gevent-1.4.0/deps/libuv/src/uv-common.h:51:12:  [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.
extern int snprintf(char*, size_t, const char*, ...);
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:416:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  DWORD access;
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:445:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    access &= ~FILE_WRITE_DATA;
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:446:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    access |= FILE_APPEND_DATA;
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:496:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    access |= DELETE;
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:535:22:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                     access,
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:2077:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    XX(ACCESS, access)
data/python-gevent-1.4.0/deps/libuv/src/win/internal.h:118:68:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
int uv_stdio_pipe_server(uv_loop_t* loop, uv_pipe_t* handle, DWORD access,
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:205:68:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
int uv_stdio_pipe_server(uv_loop_t* loop, uv_pipe_t* handle, DWORD access,
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:215:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      access | FILE_FLAG_OVERLAPPED | FILE_FLAG_FIRST_PIPE_INSTANCE | WRITE_DAC,
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:2081:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  FILE_ACCESS_INFORMATION access;
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:2112:40:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                                      &access,
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:2113:46:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                                      sizeof(access),
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:2119:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (!(access.AccessFlags & FILE_WRITE_DATA) ||
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:2120:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        !(access.AccessFlags & FILE_READ_DATA)) {
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:2125:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if (access.AccessFlags & FILE_WRITE_DATA)
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:2127:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if (access.AccessFlags & FILE_READ_DATA)
data/python-gevent-1.4.0/deps/libuv/src/win/process-stdio.c:241:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    DWORD access) {
data/python-gevent-1.4.0/deps/libuv/src/win/process-stdio.c:250:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                       access,
data/python-gevent-1.4.0/deps/libuv/src/win/process-stdio.c:318:39:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                                      access);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:595:7:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
      wcscpy(pos, temp_buffer);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:797:9:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
        wcscpy(ptr, required_vars[i].wide_eq);
data/python-gevent-1.4.0/deps/libuv/src/win/snprintf.c:30:5:  [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 snprintf(char* buf, size_t len, const char* fmt, ...) {
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1538:45:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int uv__get_handle(uv_pid_t pid, int access, HANDLE* handle) {
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1544:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    *handle = OpenProcess(access, FALSE, pid);
data/python-gevent-1.4.0/deps/libuv/src/win/winapi.h:4485:50:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
# define CTL_CODE(device_type, function, method, access)                      \
data/python-gevent-1.4.0/deps/libuv/src/win/winapi.h:4486:32:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    (((device_type) << 16) | ((access) << 14) | ((function) << 2) | (method))
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:119:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *env = getenv("CARES_MEMDEBUG");
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:123:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  env = getenv("CARES_MEMLIMIT");
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:547:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  localdomain = getenv("LOCALDOMAIN");
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:555:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  res_options = getenv("RES_OPTIONS");
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1572:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  line = getenv("Inet$Resolvers");
data/python-gevent-1.4.0/deps/c-ares/ares_private.h:99:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
#  define getenv(ptr) ares_getenv(ptr)
data/python-gevent-1.4.0/deps/c-ares/ares_search.c:251:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      hostaliases = getenv("HOSTALIASES");
data/python-gevent-1.4.0/deps/libev/ev.c:2880:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          && getenv ("LIBEV_FLAGS"))
data/python-gevent-1.4.0/deps/libev/ev.c:2881:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        flags = atoi (getenv ("LIBEV_FLAGS"));
data/python-gevent-1.4.0/deps/libuv/include/uv/darwin.h:47:9:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  char* realpath;                                                             \
data/python-gevent-1.4.0/deps/libuv/src/threadpool.c:194:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  val = getenv("UV_THREADPOOL_SIZE");
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:103:9:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    if (realpath(args, abspath) != abspath)
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:121:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *path = getenv("PATH");
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:133:11:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
      if (realpath(trypath, abspath) == abspath) {
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1080:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    buf = getenv(name);                                                       \
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1245:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  var = getenv(name);
data/python-gevent-1.4.0/deps/libuv/src/unix/darwin.c:77:7:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  if (realpath(exepath, abspath) != abspath)
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:449:9:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  buf = realpath(req->path, NULL);
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:463:7:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  if (realpath(req->path, buf) == NULL) {
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:259:33:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
      if (strncmp(path, handle->realpath, handle->realpath_len) != 0)
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:262:48:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
      if (handle->realpath_len > 1 || *handle->realpath != '/') {
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:461:20:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
      assert(curr->realpath != NULL);
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:463:67:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
          pCFStringCreateWithFileSystemRepresentation(NULL, curr->realpath);
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:818:22:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  handle->realpath = realpath(handle->path, NULL);
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:821:41:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  handle->realpath_len = strlen(handle->realpath);
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:870:20:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  uv__free(handle->realpath);
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:912:20:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  uv__free(handle->realpath);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:478:7:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  if (realpath(tmpbuf, realpathstr) == NULL) {
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:279:9:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    if (realpath(args, abspath) != abspath)
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:297:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char* path = getenv("PATH");
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:309:11:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
      if (realpath(trypath, abspath) == abspath) {
data/python-gevent-1.4.0/deps/libuv/src/unix/tcp.c:332:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* val = getenv("UV_TCP_SINGLE_ACCEPT");
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:2091:18:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    XX(REALPATH, realpath)
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:130:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&handle->pipe.conn.readfile_thread_lock);
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:734:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&handle->pipe.conn.readfile_thread_lock);
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:1001:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(lock);
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:1027:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(lock);
data/python-gevent-1.4.0/deps/libuv/src/win/signal.c:43:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection(&uv__signal_lock);
data/python-gevent-1.4.0/deps/libuv/src/win/signal.c:82:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&uv__signal_lock);
data/python-gevent-1.4.0/deps/libuv/src/win/signal.c:162:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&uv__signal_lock);
data/python-gevent-1.4.0/deps/libuv/src/win/signal.c:212:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&uv__signal_lock);
data/python-gevent-1.4.0/deps/libuv/src/win/thread.c:177:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection(mutex);
data/python-gevent-1.4.0/deps/libuv/src/win/thread.c:193:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(mutex);
data/python-gevent-1.4.0/deps/libuv/src/win/thread.c:218:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection(&rwlock->state_.num_readers_lock_);
data/python-gevent-1.4.0/deps/libuv/src/win/thread.c:235:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&rwlock->state_.num_readers_lock_);
data/python-gevent-1.4.0/deps/libuv/src/win/thread.c:284:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&rwlock->state_.num_readers_lock_);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:88:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection(&process_title_lock);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:399:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&process_title_lock);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:434:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&process_title_lock);
data/python-gevent-1.4.0/src/gevent/libev/libev_vfd.h:43:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
		InitializeCriticalSection(lock);
data/python-gevent-1.4.0/src/gevent/libev/libev_vfd.h:52:25:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
#define VFD_LOCK_ENTER  EnterCriticalSection(vfd_make_lock())
data/python-gevent-1.4.0/deps/c-ares/acountry.c:148:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[100];
data/python-gevent-1.4.0/deps/c-ares/acountry.c:218:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[20];
data/python-gevent-1.4.0/deps/c-ares/acountry.c:250: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(addr, host->h_addr, sizeof(*addr));
data/python-gevent-1.4.0/deps/c-ares/acountry.c:255:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
       char        short_name[3];  /* A2 short country code */
data/python-gevent-1.4.0/deps/c-ares/acountry.c:548:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  ccode_A2[3], *ccopy, *dot_4;
data/python-gevent-1.4.0/deps/c-ares/adig.c:532:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char addr[46];
data/python-gevent-1.4.0/deps/c-ares/ahost.c:184:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char addr_buf[46] = "??";
data/python-gevent-1.4.0/deps/c-ares/ares.h:494: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 _S6_u8[16];
data/python-gevent-1.4.0/deps/c-ares/ares__get_hostent.c:189: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(hostent->h_addr_list[0], &addr.addrV4, sizeof(addr.addrV4));
data/python-gevent-1.4.0/deps/c-ares/ares__get_hostent.c:191: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(hostent->h_addr_list[0], &addr.addrV6, sizeof(addr.addrV6));
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyaddr.c:105:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[128];
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyaddr.c:182:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char PATH_HOSTS[MAX_PATH];
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyaddr.c:190:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[MAX_PATH];
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyaddr.c:218:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(PATH_HOSTS, "r");
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyaddr.c:274:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(name, "%lu.%lu.%lu.%lu.in-addr.arpa", a4, a3, a2, a1);
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyaddr.c:281:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(name,
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyaddr.c:287:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(name+strlen(name),
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:241:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *aliases[1] = { NULL };
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:242:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *addrs[2];
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:343:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char PATH_HOSTS[MAX_PATH];
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:351: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[MAX_PATH];
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:379:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(PATH_HOSTS, "r");
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:431:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&a1, host->h_addr_list[i1], sizeof(struct in_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:435:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&a2, host->h_addr_list[i2], sizeof(struct in_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:439:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(host->h_addr_list[i2 + 1], &a2, sizeof(struct in_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:441:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(host->h_addr_list[i2 + 1], &a1, sizeof(struct in_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:487:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&a1, host->h_addr_list[i1], sizeof(struct ares_in6_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:491:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&a2, host->h_addr_list[i2], sizeof(struct ares_in6_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:495:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(host->h_addr_list[i2 + 1], &a2, sizeof(struct ares_in6_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyname.c:497:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(host->h_addr_list[i2 + 1], &a1, sizeof(struct ares_in6_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:117:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[33], *service;
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:131: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 ipbuf[IPBUFSIZ];
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:132: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 srvbuf[33];
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:200:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char srvbuf[33];
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:223:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
           char buf[255];
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:243:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ipbuf[IPBUFSIZ];
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:283:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmpbuf[4096];
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:336:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(tmpbuf, "%u", (unsigned int)ntohs(port));
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:342: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(buf, name, name_len + 1);
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:359:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmpbuf[IF_NAMESIZE + 2];
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:373:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(&tmpbuf[1], "%lu", (unsigned long)addr6->sin6_scope_id);
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:377:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(&tmpbuf[1], "%u", (unsigned int)addr6->sin6_scope_id);
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:386:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
              sprintf(&tmpbuf[1], "%lu", (unsigned long)addr6->sin6_scope_id);
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:390:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
              sprintf(&tmpbuf[1], "%u", (unsigned int)addr6->sin6_scope_id);
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:397:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(&tmpbuf[1], "%lu", (unsigned long)addr6->sin6_scope_id);
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:401:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(&tmpbuf[1], "%u", (unsigned int)addr6->sin6_scope_id);
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:304:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((*dest)->local_ip6, src->local_ip6, sizeof(src->local_ip6));
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:388:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&options->servers[j++],
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:675:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  enumKeyName[256];
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:980:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char text[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1004:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int ares_ipv6_subnet_matches(const unsigned char netbase[16],
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1005:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 netmask,
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1006:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                    const unsigned char ipaddr[16])
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1008:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char mask[16] = { 0 };
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1031:56:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int ares_ipv6_server_blacklisted(const unsigned char ipaddr[16])
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1046: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 netbase[16];
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1461:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  keyName[256];
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1623:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char propname[PROP_NAME_MAX];
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1624:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char propvalue[PROP_VALUE_MAX]="";
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1685: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 str[INET6_ADDRSTRLEN];
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1746:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(PATH_RESOLV_CONF, "r");
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1788:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen("/etc/nsswitch.conf", "r");
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1818:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen("/etc/host.conf", "r");
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:1849:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen("/etc/svc.conf", "r");
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2082:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lookups[3], *l;
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2162: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(&newserv[*nservers].addr.addrV4, &host.addrV4,
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2165: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(&newserv[*nservers].addr.addrV6, &host.addrV6,
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2187:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ipbuf[16], ipbufpfx[32];
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2192:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(ipbuf, str, q-str);
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2200:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(ipbufpfx, str, q-str);
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2239:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(ipbuf, str, q-str);
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2316:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(channel->domains[n], p, q - p);
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2504:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(RANDOM_FILE, "rb");
data/python-gevent-1.4.0/deps/c-ares/ares_options.c:179:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&channel->servers[i].addr.addrV4, &srvr->addrV4,
data/python-gevent-1.4.0/deps/c-ares/ares_options.c:182:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&channel->servers[i].addr.addrV6, &srvr->addrV6,
data/python-gevent-1.4.0/deps/c-ares/ares_options.c:228:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&channel->servers[i].addr.addrV4, &srvr->addrV4,
data/python-gevent-1.4.0/deps/c-ares/ares_options.c:231:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&channel->servers[i].addr.addrV6, &srvr->addrV6,
data/python-gevent-1.4.0/deps/c-ares/ares_options.c:344:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&s->addr, &in6, sizeof(struct ares_in6_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_options.c:354:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&s->addr, &in4, sizeof(struct in_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_parse_a_reply.c:158:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(&addrs[naddrs], aptr, sizeof(struct in_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_parse_a_reply.c:169:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(&at->ipaddr, aptr,  sizeof(struct in_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_parse_aaaa_reply.c:158:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(&addrs[naddrs], aptr, sizeof(struct ares_in6_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_parse_aaaa_reply.c:169:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(&at->ip6addr, aptr,  sizeof(struct ares_in6_addr));
data/python-gevent-1.4.0/deps/c-ares/ares_parse_ptr_reply.c:196:23:  [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(hostent->h_addr_list[0], addr, addrlen);
data/python-gevent-1.4.0/deps/c-ares/ares_parse_txt_reply.c:165:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy ((char *) txt_curr->txt, strptr, substr_len);
data/python-gevent-1.4.0/deps/c-ares/ares_private.h:160:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tcp_lenbuf[2];
data/python-gevent-1.4.0/deps/c-ares/ares_private.h:254:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char state[256];
data/python-gevent-1.4.0/deps/c-ares/ares_private.h:280:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char local_dev_name[32];
data/python-gevent-1.4.0/deps/c-ares/ares_private.h:282:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char local_ip6[16];
data/python-gevent-1.4.0/deps/c-ares/ares_process.c:465:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[MAXENDSSZ + 1];
data/python-gevent-1.4.0/deps/c-ares/ares_process.c:1007:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&local.sa6.sin6_addr, channel->local_ip6,
data/python-gevent-1.4.0/deps/c-ares/ares_process.c:1064:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&saddr.sa4.sin_addr, &server->addr.addrV4,
data/python-gevent-1.4.0/deps/c-ares/ares_process.c:1077:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&saddr.sa6.sin6_addr, &server->addr.addrV6,
data/python-gevent-1.4.0/deps/c-ares/ares_process.c:1177:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&saddr.sa4.sin_addr, &server->addr.addrV4,
data/python-gevent-1.4.0/deps/c-ares/ares_process.c:1190:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&saddr.sa6.sin6_addr, &server->addr.addrV6,
data/python-gevent-1.4.0/deps/c-ares/ares_process.c:1390:20:  [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(sendreq->data_storage, sendreq->data, sendreq->len);
data/python-gevent-1.4.0/deps/c-ares/ares_rules.h:90: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.
typedef char
data/python-gevent-1.4.0/deps/c-ares/ares_rules.h:100: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.
typedef char
data/python-gevent-1.4.0/deps/c-ares/ares_search.c:217:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(*s, name, nlen);
data/python-gevent-1.4.0/deps/c-ares/ares_search.c:219:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(*s + nlen + 1, domain, dlen);
data/python-gevent-1.4.0/deps/c-ares/ares_search.c:254:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fp = fopen(hostaliases, "r");
data/python-gevent-1.4.0/deps/c-ares/ares_search.c:274:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                          memcpy(*s, p, q - p);
data/python-gevent-1.4.0/deps/c-ares/ares_send.c:83:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(query->tcpbuf + 2, qbuf, qlen);
data/python-gevent-1.4.0/deps/c-ares/ares_strdup.c:41:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(s2, s1, sz * sizeof(char));
data/python-gevent-1.4.0/deps/c-ares/ares_writev.c:67: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 (bp, iov[i].iov_base, iov[i].iov_len);
data/python-gevent-1.4.0/deps/c-ares/bitncmp.c:46:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  lb = ((const unsigned char *)l)[b];
data/python-gevent-1.4.0/deps/c-ares/bitncmp.c:47:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  rb = ((const unsigned char *)r)[b];
data/python-gevent-1.4.0/deps/c-ares/inet_net_pton.c:274:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
data/python-gevent-1.4.0/deps/c-ares/inet_net_pton.c:377:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dst, tmp, bytes);
data/python-gevent-1.4.0/deps/c-ares/inet_ntop.c:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[sizeof("255.255.255.255")];
data/python-gevent-1.4.0/deps/c-ares/inet_ntop.c:117:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/python-gevent-1.4.0/deps/c-ares/inet_ntop.c:180:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    tp += sprintf(tp, "%x", words[i]);
data/python-gevent-1.4.0/deps/libev/ev.c:466:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pad[128 - sizeof (uint32_t)];
data/python-gevent-1.4.0/deps/libev/ev.c:1352:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&r, &x, 4);
data/python-gevent-1.4.0/deps/libev/ev.c:1392:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&r, &x, 4);
data/python-gevent-1.4.0/deps/libev/ev.c:1422:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&r, &x, 8);
data/python-gevent-1.4.0/deps/libev/ev.c:1462:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&r, &x, 8);
data/python-gevent-1.4.0/deps/libev/ev.c:2506:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char dummy[4];
data/python-gevent-1.4.0/deps/libev/ev.c:2881:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        flags = atoi (getenv ("LIBEV_FLAGS"));
data/python-gevent-1.4.0/deps/libev/ev.c:4294:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char path [4096];
data/python-gevent-1.4.0/deps/libev/ev.c:4376:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf [EV_INOTIFY_BUFSIZE];
data/python-gevent-1.4.0/deps/libev/ev.c:5066:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            cb (EV_A_ EV_STAT, ((char *)ANHE_w (timers [i])) - offsetof (struct ev_stat, timer));
data/python-gevent-1.4.0/deps/libev/ev_select.c:155:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (vec_ro, vec_ri, fd_setsize);
data/python-gevent-1.4.0/deps/libev/ev_select.c:156:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (vec_wo, vec_wi, fd_setsize);
data/python-gevent-1.4.0/deps/libev/ev_select.c:164:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (vec_eo, vec_wi, fd_setsize);
data/python-gevent-1.4.0/deps/libuv/include/uv.h:1037:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char phys_addr[6];
data/python-gevent-1.4.0/deps/libuv/include/uv/os390.h:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char rfis_rftok[8];                                                         \
data/python-gevent-1.4.0/deps/libuv/include/uv/unix.h:153:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pad[sizeof(pthread_barrier_t) - sizeof(struct _uv_barrier*)];
data/python-gevent-1.4.0/deps/libuv/include/uv/unix.h:343:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char host[NI_MAXHOST];                                                      \
data/python-gevent-1.4.0/deps/libuv/include/uv/unix.h:344:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char service[NI_MAXSERV];                                                   \
data/python-gevent-1.4.0/deps/libuv/include/uv/win.h:300:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char d_name[1];
data/python-gevent-1.4.0/deps/libuv/include/uv/win.h:402: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 accept_buffer[sizeof(struct sockaddr_storage) * 2 + 32];             \
data/python-gevent-1.4.0/deps/libuv/include/uv/win.h:500:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char last_key[8];                                                       \
data/python-gevent-1.4.0/deps/libuv/include/uv/win.h:588:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char host[NI_MAXHOST];                                                      \
data/python-gevent-1.4.0/deps/libuv/include/uv/win.h:589:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char service[NI_MAXSERV];                                                   \
data/python-gevent-1.4.0/deps/libuv/src/fs-poll.c:39:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path[1]; /* variable length */
data/python-gevent-1.4.0/deps/libuv/src/fs-poll.c:80:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctx->path, path, len + 1);
data/python-gevent-1.4.0/deps/libuv/src/fs-poll.c:146:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, ctx->path, required_len);
data/python-gevent-1.4.0/deps/libuv/src/inet.c:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[UV__INET_ADDRSTRLEN];
data/python-gevent-1.4.0/deps/libuv/src/inet.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[UV__INET6_ADDRSTRLEN], *tp;
data/python-gevent-1.4.0/deps/libuv/src/inet.c:139:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    tp += sprintf(tp, "%x", words[i]);
data/python-gevent-1.4.0/deps/libuv/src/inet.c:166: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[UV__INET6_ADDRSTRLEN], *s, *p;
data/python-gevent-1.4.0/deps/libuv/src/inet.c:174:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(s, src, len);
data/python-gevent-1.4.0/deps/libuv/src/inet.c:189:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmp[sizeof(struct in_addr)], *tp;
data/python-gevent-1.4.0/deps/libuv/src/inet.c:220:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dst, tmp, sizeof(struct in_addr));
data/python-gevent-1.4.0/deps/libuv/src/inet.c:228:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmp[sizeof(struct in6_addr)], *tp, *endp, *colonp;
data/python-gevent-1.4.0/deps/libuv/src/inet.c:307:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dst, tmp, sizeof tmp);
data/python-gevent-1.4.0/deps/libuv/src/threadpool.c:196: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).
    nthreads = atoi(val);
data/python-gevent-1.4.0/deps/libuv/src/threadpool.c:238:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&once, &child_once, sizeof(child_once));
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:80:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char args[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char abspath[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:112: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(buffer, abspath, *size);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:118: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 trypath[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:142:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(buffer, abspath, *size);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:362:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char rawbuf[FILENAME_MAX+1];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:371:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
  strcat(rawbuf, "/r");
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:451:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[256];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:478:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cmd[2048];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:489:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(cmd, "/aha/fs/modDir.monFactory");
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:491:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(cmd, "/aha/fs/modFile.monFactory");
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:512:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mon_file_write_string[RDWR_BUF_SIZE];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:513:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mon_file[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:520:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(mon_file, "/aha/fs/modDir.monFactory");
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:522:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(mon_file, "/aha/fs/modFile.monFactory");
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:533:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
  strcat(mon_file, ".mon");
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:538:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  *fd = open(mon_file, O_CREAT|O_RDWR);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:555:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(mon_file_write_string, "CHANGED=YES;WAIT_TYPE=WAIT_IN_SELECT;INFO_LVL=2");
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:557:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(mon_file_write_string, "CHANGED=YES;WAIT_TYPE=WAIT_IN_SELECT;INFO_LVL=1");
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:598:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   filename[PATH_MAX]; /* To be used when handling directories */
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:661:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   result_data[RDWR_BUF_SIZE];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:665:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:730:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cwd[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:731:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char absolute_path[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:732:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char readlink_cwd[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:846: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(s, argv[i], size);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:901:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, process_argv[0], len);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:917:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pp[64];
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:924:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open(pp, O_RDONLY);
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:78: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 l_buffer[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + NLMSG_ALIGN(sizeof(struct rtgenmsg))];
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:290:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&((struct sockaddr_in*)p_dest)->sin_addr, p_data, p_size);
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:293:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&((struct sockaddr_in6*)p_dest)->sin6_addr, p_data, p_size);
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:296:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(((struct sockaddr_ll*)p_dest)->sll_addr, p_data, p_size);
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:300:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p_dest->sa_data, p_data, p_size);
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:376:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(l_index, &l_info->ifi_index, sizeof(int));
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:411: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(l_data, l_rtaData, l_rtaDataSize);
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:431: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(&l_index, l_indexPtr, sizeof(int));
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:570:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 l_mask[16] = {0};
data/python-gevent-1.4.0/deps/libuv/src/unix/async.c:78:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/python-gevent-1.4.0/deps/libuv/src/unix/async.c:177:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[32];
data/python-gevent-1.4.0/deps/libuv/src/unix/bsd-proctitle.c:83: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(buffer, process_title, len);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:957:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open(path, flags | UV__O_CLOEXEC);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:969:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open(path, flags);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1063:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, pwd.homedir, len + 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1114:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, buf, len + 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1191:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pwd->username, pw.pw_name, name_size);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1195:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pwd->homedir, pw.pw_dir, homedir_size);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1199:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pwd->shell, pw.pw_shell, shell_size);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1257:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, var, len + 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1293:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAXHOSTNAMELEN + 1];
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1310:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, buf, len + 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/darwin-proctitle.c:194: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 namebuf[64];  /* MAXTHREADNAMESIZE */
data/python-gevent-1.4.0/deps/libuv/src/unix/darwin.c:65:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char abspath[PATH_MAX * 2 + 1];
data/python-gevent-1.4.0/deps/libuv/src/unix/darwin.c:66:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char exepath[PATH_MAX + 1];
data/python-gevent-1.4.0/deps/libuv/src/unix/darwin.c:88:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, abspath, *size);
data/python-gevent-1.4.0/deps/libuv/src/unix/darwin.c:172:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char model[512];
data/python-gevent-1.4.0/deps/libuv/src/unix/freebsd.c:62:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char abspath[PATH_MAX * 2 + 1];
data/python-gevent-1.4.0/deps/libuv/src/unix/freebsd.c:78:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, abspath, *size);
data/python-gevent-1.4.0/deps/libuv/src/unix/freebsd.c:85:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char abspath[PATH_MAX * 2 + 1];
data/python-gevent-1.4.0/deps/libuv/src/unix/freebsd.c:108:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, abspath, *size);
data/python-gevent-1.4.0/deps/libuv/src/unix/freebsd.c:201:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char model[512];
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:116:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((void*) req->path, path, path_len);                              \
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:117:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((void*) req->new_path, new_path, new_path_len);                  \
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:230:9:  [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).
    r = open(req->path, req->flags | O_CLOEXEC, req->mode);
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:242:7:  [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).
  r = open(req->path, req->flags, req->mode);
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:486:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8192];
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:1409:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(req->bufs, bufs, nbufs * sizeof(*bufs));
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:1545:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(req->bufs, bufs, nbufs * sizeof(*bufs));
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path[1];
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:299:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(event->path, path, len + 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/getaddrinfo.c:145:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hostname_ascii[256];
data/python-gevent-1.4.0/deps/libuv/src/unix/getaddrinfo.c:194:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    req->hints = memcpy(buf + len, hints, sizeof(*hints));
data/python-gevent-1.4.0/deps/libuv/src/unix/getaddrinfo.c:199:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    req->service = memcpy(buf + len, service, service_len);
data/python-gevent-1.4.0/deps/libuv/src/unix/getaddrinfo.c:204: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.
    req->hostname = memcpy(buf + len, hostname, hostname_len);
data/python-gevent-1.4.0/deps/libuv/src/unix/getaddrinfo.c:228:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ifname_buf[UV_IF_NAMESIZE];
data/python-gevent-1.4.0/deps/libuv/src/unix/getaddrinfo.c:244:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, ifname_buf, len);
data/python-gevent-1.4.0/deps/libuv/src/unix/getnameinfo.c:90: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(&req->storage,
data/python-gevent-1.4.0/deps/libuv/src/unix/getnameinfo.c:94: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(&req->storage,
data/python-gevent-1.4.0/deps/libuv/src/unix/kqueue.c:410:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pathbuf[MAXPATHLEN];
data/python-gevent-1.4.0/deps/libuv/src/unix/kqueue.c:464:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open(path, O_RDONLY);
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:451:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:459:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open("/proc/self/stat", O_RDONLY);
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:534:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:624:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:682:33:  [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).
        ci[speed_idx++].speed = atoi(buf + sizeof(speed_marker) - 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:724:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:784:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-inotify.c:206:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[4096];
data/python-gevent-1.4.0/deps/libuv/src/unix/netbsd.c:71:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char int_buf[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/netbsd.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char model[512];
data/python-gevent-1.4.0/deps/libuv/src/unix/openbsd.c:104:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, argsbuf[0], *size);
data/python-gevent-1.4.0/deps/libuv/src/unix/openbsd.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char model[512];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:75:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(copy, dirent, sizeof(*copy));
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:178:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&once, &child_once, sizeof(child_once));
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:397:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open("/dev/urandom", O_RDONLY);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:444:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char realpathstr[PATH_MAX + 1];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:460:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, tmpbuf, rlen);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:496:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf, realpathstr, vlen);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:497:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf + vlen, delimiter, plen);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:157: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 asid[2];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:158: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 loginname[8];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:165:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char gthb[4];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:169:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char accessthid[3];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:178: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[2048];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:182: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 gthe[4];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:184: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 path[1024];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:256:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char args[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:257:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char abspath[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:288: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(buffer, abspath, *size);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:294: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 trypath[PATH_MAX];
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:318:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(buffer, abspath, *size);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:416: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(cpu_info->model, info.siv1v2si11v1.si11v1cpcmodel, CPCMODEL_LENGTH);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:597:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(address, addresses_v6, count_v6 * sizeof(uv_interface_address_t));
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:723:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(reg_struct.__rfis_utok, &handle, sizeof(handle));
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:757:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(reg_struct.__rfis_rftok, handle->rfis_rftok,
data/python-gevent-1.4.0/deps/libuv/src/unix/pipe.c:271:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, sa.sun_path, addrlen);
data/python-gevent-1.4.0/deps/libuv/src/unix/process.c:315:18:  [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).
        use_fd = open("/dev/null", fd == 0 ? O_RDONLY : O_RDWR);
data/python-gevent-1.4.0/deps/libuv/src/unix/proctitle.c:84: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(s, argv[i], size);
data/python-gevent-1.4.0/deps/libuv/src/unix/proctitle.c:123: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(buffer, process_title.str, process_title.len + 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/signal.c:428:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[sizeof(uv__signal_msg_t) * 32];
data/python-gevent-1.4.0/deps/libuv/src/unix/stream.c:144:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/python-gevent-1.4.0/deps/libuv/src/unix/stream.c:799:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char data[64];
data/python-gevent-1.4.0/deps/libuv/src/unix/stream.c:1138:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cmsg_space[CMSG_SPACE(UV__CMSG_FD_SIZE)];
data/python-gevent-1.4.0/deps/libuv/src/unix/stream.c:1474:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(req->bufs, bufs, nbufs * sizeof(bufs[0]));
data/python-gevent-1.4.0/deps/libuv/src/unix/sunos.c:342:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[128];
data/python-gevent-1.4.0/deps/libuv/src/unix/sunos.c:553:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open("/proc/self/psinfo", O_RDONLY);
data/python-gevent-1.4.0/deps/libuv/src/unix/sunos.c:726: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(sin->sin6_addr.s6_addr,
data/python-gevent-1.4.0/deps/libuv/src/unix/tcp.c:333: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).
    single_accept = (val != NULL && atoi(val) != 0);  /* Off by default. */
data/python-gevent-1.4.0/deps/libuv/src/unix/thread.c:456:7:  [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).
      atoi(version + 2) < 21;
data/python-gevent-1.4.0/deps/libuv/src/unix/tty.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dummy[256];
data/python-gevent-1.4.0/deps/libuv/src/unix/tty.c:102:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path[256];
data/python-gevent-1.4.0/deps/libuv/src/unix/udp.c:410:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&req->addr, addr, addrlen);
data/python-gevent-1.4.0/deps/libuv/src/unix/udp.c:424:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(req->bufs, bufs, nbufs * sizeof(bufs[0]));
data/python-gevent-1.4.0/deps/libuv/src/uv-common.c:59:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy(m, s, len);
data/python-gevent-1.4.0/deps/libuv/src/uv-common.c:71:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy(m, s, len);
data/python-gevent-1.4.0/deps/libuv/src/uv-common.c:154:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[32];
data/python-gevent-1.4.0/deps/libuv/src/uv-common.c:218:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char address_part[40];
data/python-gevent-1.4.0/deps/libuv/src/uv-common.c:232: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(address_part, ip, address_part_size);
data/python-gevent-1.4.0/deps/libuv/src/uv-common.c:239: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).
    addr->sin6_scope_id = atoi(zone_index);
data/python-gevent-1.4.0/deps/libuv/src/uv-common.c:497:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, handle->path, required_len);
data/python-gevent-1.4.0/deps/libuv/src/win/dl.c:34:8:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  if (!MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c:174:15:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  name_size = MultiByteToWideChar(CP_UTF8, 0, path, -1, NULL, 0) *
data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c:181:8:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  if (!MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:161:17:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    pathw_len = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:180:21:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    new_pathw_len = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:209:15:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    DWORD r = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:223:15:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    DWORD r = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:238: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(pos, path, path_len);
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:316:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[MAXIMUM_REPARSE_DATA_BUFFER_SIZE];
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:915:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  __declspec(align(8)) char buffer[8192];
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:917:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  __attribute__ ((aligned (8))) char buffer[8192];
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:2065:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    XX(OPEN, open)
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:2191:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(req->fs.info.bufs, bufs, nbufs * sizeof(*bufs));
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:2220:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(req->fs.info.bufs, bufs, nbufs * sizeof(*bufs));
data/python-gevent-1.4.0/deps/libuv/src/win/getaddrinfo.c:178:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(cur_ptr, addrinfow_ptr->ai_addr, addrinfo_ptr->ai_addrlen);
data/python-gevent-1.4.0/deps/libuv/src/win/getaddrinfo.c:263:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hostname_ascii[256];
data/python-gevent-1.4.0/deps/libuv/src/win/getaddrinfo.c:289:29:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    nodesize = ALIGNED_SIZE(MultiByteToWideChar(CP_UTF8, 0, hostname_ascii,
data/python-gevent-1.4.0/deps/libuv/src/win/getaddrinfo.c:299:32:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    servicesize = ALIGNED_SIZE(MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/getaddrinfo.c:329:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    if (MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/getaddrinfo.c:347:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    if (MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/getaddrinfo.c:401:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t wname[NDIS_IF_MAX_STRING_SIZE + 1]; /* Add one for the NUL. */
data/python-gevent-1.4.0/deps/libuv/src/win/getnameinfo.c:126: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(&req->storage,
data/python-gevent-1.4.0/deps/libuv/src/win/getnameinfo.c:130: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(&req->storage,
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:523:14:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  nameSize = MultiByteToWideChar(CP_UTF8, 0, name, -1, NULL, 0) * sizeof(WCHAR);
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:529:8:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  if (!MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:641:14:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  nameSize = MultiByteToWideChar(CP_UTF8, 0, name, -1, NULL, 0) * sizeof(WCHAR);
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:647:8:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  if (!MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:1294: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(&heap_buffer[heap_buffer_offset],
data/python-gevent-1.4.0/deps/libuv/src/win/pipe.c:2243:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, pipe_prefix, pipe_prefix_len);
data/python-gevent-1.4.0/deps/libuv/src/win/process-stdio.c:100:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pipe_name[64];
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:113:12:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  ws_len = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:128:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  r = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:541:15:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    arg_len = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:582:15:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    arg_len = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:701:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      len = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:726:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      len = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/tty.c:861: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(&handle->tty.rd.last_key[prefix_len], vt100, vt100_len);
data/python-gevent-1.4.0/deps/libuv/src/win/tty.c:1659:24:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      utf16_buf_used = MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/tty.c:1675:12:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      if (!MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:231:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  if (MultiByteToWideChar(CP_UTF8,
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:371:12:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  length = MultiByteToWideChar(CP_UTF8, 0, title, -1, NULL, 0);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:383:12:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  length = MultiByteToWideChar(CP_UTF8, 0, title, -1, title_w, length);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:452:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, process_title, len);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1168:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, pwd.homedir, len + 1);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1177:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t path[MAX_PATH + 1];
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1309:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  bufsize = MultiByteToWideChar(CP_UTF8, 0, utf8, utf8len, NULL, 0);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1323:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  bufsize = MultiByteToWideChar(CP_UTF8, 0, utf8, utf8len, *utf16, bufsize);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1338:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t username[UNLEN + 1];
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1339:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t path[MAX_PATH];
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1404:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t var[MAX_ENV_VAR_LENGTH];
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1513:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAXHOSTNAMELEN + 1];
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1532:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, buf, len + 1);
data/python-gevent-1.4.0/deps/libuv/src/win/winsock.c:574: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(dest4, addr, sizeof(*dest4));
data/python-gevent-1.4.0/deps/libuv/src/win/winsock.c:580: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(dest6, addr, sizeof(*dest6));
data/python-gevent-1.4.0/src/gevent/resolver/dnshelper.c:115:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char tmpbuf[sizeof "255.255.255.255"];
data/python-gevent-1.4.0/src/gevent/resolver/dnshelper.c:125:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char tmpbuf[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/python-gevent-1.4.0/deps/c-ares/ares__read_line.c:51:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = offset + strlen(*buf + offset);
data/python-gevent-1.4.0/deps/c-ares/ares_android.c:323:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dns_list[i], ch_server_address, 64);
data/python-gevent-1.4.0/deps/c-ares/ares_create_query.c:105: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).
  len = strlen(name) + 2 + HFIXEDSZ + QFIXEDSZ +
data/python-gevent-1.4.0/deps/c-ares/ares_expand_string.c:61:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy((char *)q, (char *)encoded, elen.uns);
data/python-gevent-1.4.0/deps/c-ares/ares_gethostbyaddr.c:287:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       sprintf(name+strlen(name),
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:339:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      name_len = strlen(name);
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:406:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  bufl = strlen(buf);
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:408:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(bufl + strlen(tmpbuf) < buflen)
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:419: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).
  size_t s1_len = strlen(s1), s2_len = strlen(s2);
data/python-gevent-1.4.0/deps/c-ares/ares_getnameinfo.c:419: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).
  size_t s1_len = strlen(s1), s2_len = strlen(s2);
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:127: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).
    if((endptr != env) && (endptr == env + strlen(env)) && (num > 0))
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:301:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy((*dest)->local_dev_name, src->local_dev_name,
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:842:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  newsize = len + (*dst ? (strlen(*dst) + 2) : 1);
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:849:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(*dst) != 0)
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:850:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(*dst, ",");
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:851:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat(*dst, src, len);
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:861:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  commanjoin(dst, src, strlen(src));
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2360:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(opt);
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2404:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((len = strlen(opt)) == 0)
data/python-gevent-1.4.0/deps/c-ares/ares_init.c:2568:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(channel->local_dev_name, local_dev_name,
data/python-gevent-1.4.0/deps/c-ares/ares_options.c:263:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  i = strlen(_csv);
data/python-gevent-1.4.0/deps/c-ares/ares_parse_ns_reply.c:126: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).
      nameservers[nameservers_num] = ares_malloc(strlen(rr_data)+1);
data/python-gevent-1.4.0/deps/c-ares/ares_parse_ptr_reply.c:127: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).
          aliases[aliascnt] = ares_malloc((strlen(rr_data)+1) * sizeof(char));
data/python-gevent-1.4.0/deps/c-ares/ares_parse_ptr_reply.c:134:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(aliases[aliascnt], rr_data, strlen(rr_data)+1);
data/python-gevent-1.4.0/deps/c-ares/ares_parse_ptr_reply.c:134:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          strncpy(aliases[aliascnt], rr_data, strlen(rr_data)+1);
data/python-gevent-1.4.0/deps/c-ares/ares_platform.c:11003:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      switch (strlen(proto)) {
data/python-gevent-1.4.0/deps/c-ares/ares_search.c:211:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t nlen = strlen(name);
data/python-gevent-1.4.0/deps/c-ares/ares_search.c:212:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t dlen = strlen(domain);
data/python-gevent-1.4.0/deps/c-ares/ares_search.c:230:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(name);
data/python-gevent-1.4.0/deps/c-ares/ares_strdup.c:35:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sz = strlen(s1);
data/python-gevent-1.4.0/deps/c-ares/inet_ntop.c:177:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      tp += strlen(tp);
data/python-gevent-1.4.0/deps/c-ares/setup_once.h:134:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define sread(x,y,z) (ares_ssize_t)read((RECV_TYPE_ARG1)(x), \
data/python-gevent-1.4.0/deps/libev/ev.c:1676:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  write (STDERR_FILENO, msg, strlen (msg));
data/python-gevent-1.4.0/deps/libev/ev.c:2501:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          read (evpipe [1], &counter, sizeof (uint64_t));
data/python-gevent-1.4.0/deps/libev/ev.c:2515:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          read (evpipe [0], &dummy, sizeof (dummy));
data/python-gevent-1.4.0/deps/libev/ev.c:2617:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ssize_t res = read (sigfd, si, sizeof (si));
data/python-gevent-1.4.0/deps/libev/ev.c:4292:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if ((errno == ENOENT || errno == EACCES) && strlen (w->path) < 4096)
data/python-gevent-1.4.0/deps/libev/ev.c:4378:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int len = read (fs_fd, buf, sizeof (buf));
data/python-gevent-1.4.0/deps/libuv/src/fs-poll.c:69: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).
  len = strlen(path);
data/python-gevent-1.4.0/deps/libuv/src/fs-poll.c:140:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  required_len = strlen(ctx->path);
data/python-gevent-1.4.0/deps/libuv/src/inet.c:62:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(dst, tmp, size);
data/python-gevent-1.4.0/deps/libuv/src/inet.c:136:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      tp += strlen(tp);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:106: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).
    abspath_size = strlen(abspath);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix-common.c:136: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).
          abspath_size = strlen(abspath);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:457: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).
  len = strlen(tmp);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:494:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat(cmd, filename, (p - filename));
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:524:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((strlen(mon_file) + strlen(filename) + 5) > PATH_MAX)
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:524:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((strlen(mon_file) + strlen(filename) + 5) > PATH_MAX)
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:559:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  rc = write(*fd, mon_file_write_string, strlen(mon_file_write_string)+1);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:610:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strncmp(buf, "BUF_WRAP", strlen("BUF_WRAP")) == 0) {
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:705:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(fname, p, sizeof(fname) - 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:832:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size += strlen(argv[i]) + 1;
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:845:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = strlen(argv[i]) + 1;
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:895: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).
  len = strlen(process_argv[0]);
data/python-gevent-1.4.0/deps/libuv/src/unix/aix.c:930:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(fd, &psinfo, sizeof(psinfo)) == sizeof(psinfo)) {
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:406:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(l_name, l_rtaData, l_rtaDataSize);
data/python-gevent-1.4.0/deps/libuv/src/unix/android-ifaddrs.c:557:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(l_name, l_rtaData, l_rtaDataSize);
data/python-gevent-1.4.0/deps/libuv/src/unix/async.c:87:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read(w->fd, buf, sizeof(buf));
data/python-gevent-1.4.0/deps/libuv/src/unix/bsd-proctitle.c:76:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(process_title) + 1;
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:684:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *size = strlen(buffer);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1055: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).
  len = strlen(pwd.homedir);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1102: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).
  len = strlen(buf);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1180:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  name_size = strlen(pw.pw_name) + 1;
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1181:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  homedir_size = strlen(pw.pw_dir) + 1;
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1182:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  shell_size = strlen(pw.pw_shell) + 1;
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1250: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).
  len = strlen(var);
data/python-gevent-1.4.0/deps/libuv/src/unix/core.c:1303: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).
  len = strlen(buf);
data/python-gevent-1.4.0/deps/libuv/src/unix/darwin-proctitle.c:195:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(namebuf, title, sizeof(namebuf) - 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/darwin.c:80:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  abspath_size = strlen(abspath);
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:110:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      path_len = strlen(path) + 1;                                            \
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:111: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).
      new_path_len = strlen(new_path) + 1;                                    \
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:274:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      result = read(req->file, req->bufs[0].base, req->bufs[0].len);
data/python-gevent-1.4.0/deps/libuv/src/unix/fs.c:528:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        nread = read(in_fd, buf, buflen);
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:256:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen(path);
data/python-gevent-1.4.0/deps/libuv/src/unix/fsevents.c:821: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).
  handle->realpath_len = strlen(handle->realpath);
data/python-gevent-1.4.0/deps/libuv/src/unix/getaddrinfo.c:164:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                          hostname + strlen(hostname),
data/python-gevent-1.4.0/deps/libuv/src/unix/getaddrinfo.c:173:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  hostname_len = hostname ? strlen(hostname) + 1 : 0;
data/python-gevent-1.4.0/deps/libuv/src/unix/getaddrinfo.c:174: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).
  service_len = service ? strlen(service) + 1 : 0;
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:466:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    n = read(fd, buf, sizeof(buf) - 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:651:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        model = uv__strndup(model, strlen(model) - 1);  /* Strip newline. */
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:670:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        model = uv__strndup(model, strlen(model) - 1);  /* Strip newline. */
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-core.c:701:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    model = uv__strndup(inferred_model, strlen(inferred_model));
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-inotify.c:210:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      size = read(loop->inotify_fd, buf, sizeof(buf));
data/python-gevent-1.4.0/deps/libuv/src/unix/linux-inotify.c:309: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).
  w = uv__malloc(sizeof(*w) + strlen(path) + 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/netbsd.c:93:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *size = strlen(buffer);
data/python-gevent-1.4.0/deps/libuv/src/unix/openbsd.c:100:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  exepath_size = strlen(argsbuf[0]);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:390: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).
  len = strlen(path);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:404:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(fd, &v, sizeof(v)) != sizeof(v))
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:488:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  plen = strlen(delimiter);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390-syscalls.c:489:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  vlen = strlen(realpathstr);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:240:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buf, Output_path->path, len);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:282: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).
    abspath_size = strlen(abspath);
data/python-gevent-1.4.0/deps/libuv/src/unix/os390.c:312: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).
          abspath_size = strlen(abspath);
data/python-gevent-1.4.0/deps/libuv/src/unix/pipe.c:69:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(saddr.sun_path, pipe_fname, sizeof(saddr.sun_path) - 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/pipe.c:189:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(saddr.sun_path, name, sizeof(saddr.sun_path) - 1);
data/python-gevent-1.4.0/deps/libuv/src/unix/pipe.c:263:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    addrlen = strlen(sa.sun_path);
data/python-gevent-1.4.0/deps/libuv/src/unix/process.c:512:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read(signal_pipe[0], &exec_errorno, sizeof(exec_errorno));
data/python-gevent-1.4.0/deps/libuv/src/unix/proctitle.c:60:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size += strlen(argv[i]) + 1;
data/python-gevent-1.4.0/deps/libuv/src/unix/proctitle.c:65: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).
  process_title.len = strlen(argv[0]);
data/python-gevent-1.4.0/deps/libuv/src/unix/proctitle.c:68: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).
  process_title.len = argv[argc - 1] + strlen(argv[argc - 1]) - argv[0];
data/python-gevent-1.4.0/deps/libuv/src/unix/proctitle.c:83:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = strlen(argv[i]) + 1;
data/python-gevent-1.4.0/deps/libuv/src/unix/proctitle.c:100:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(process_title.str, title, process_title.len);
data/python-gevent-1.4.0/deps/libuv/src/unix/signal.c:121:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read(uv__signal_lock_pipefd[0], &data, sizeof data);
data/python-gevent-1.4.0/deps/libuv/src/unix/signal.c:436:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read(loop->signal_pipefd[0], buf + bytes, sizeof(buf) - bytes);
data/python-gevent-1.4.0/deps/libuv/src/unix/stream.c:191:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        r = read(s->int_fd, buf, sizeof(buf));
data/python-gevent-1.4.0/deps/libuv/src/unix/stream.c:1173:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        nread = read(uv__stream_fd(stream), buf.base, buf.len);
data/python-gevent-1.4.0/deps/libuv/src/unix/sunos.c:559:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(fd, &psinfo, sizeof(psinfo)) == sizeof(psinfo)) {
data/python-gevent-1.4.0/deps/libuv/src/uv-common.c:55:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(s) + 1;
data/python-gevent-1.4.0/deps/libuv/src/uv-common.c:64:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(s);
data/python-gevent-1.4.0/deps/libuv/src/uv-common.c:491:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  required_len = strlen(handle->path);
data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c:70:24:  [1] (buffer) wcslen:
  Does not handle 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 filenamelen = wcslen(filename);
data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c:71:19:  [1] (buffer) wcslen:
  Does not handle 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 dirlen = wcslen(dir);
data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c:79:3:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  wcsncpy(*relpath, filename + dirlen + 1, relpathlen);
data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c:94:9:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = wcslen(filename);
data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c:119:7:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      wcsncpy(*dir, filename, i + 1);
data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c:127:5:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    wcsncpy(*file, filename + i + 1, len - i - 1);
data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c:391:13:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  str_len = wcslen(str);
data/python-gevent-1.4.0/deps/libuv/src/win/fs-event.c:460:22:  [1] (buffer) wcslen:
  Does not handle 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 = wcslen(handle->dirw) +
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:175: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).
    path_len = 1 + strlen(path);
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:426:19:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  current_umask = umask(0);
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:427:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask(current_umask);
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:851:9:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = wcslen(req->file.pathw);
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:878:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen(req->path);
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:1251:16:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = wcslen(pathw);
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:1741:16:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  target_len = wcslen(path);
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:1776:3:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  wcsncpy((WCHAR*)&path_buf[path_buf_len], JUNCTION_PREFIX,
data/python-gevent-1.4.0/deps/libuv/src/win/fs.c:2067:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    XX(READ, read)
data/python-gevent-1.4.0/deps/libuv/src/win/getaddrinfo.c:284:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                          node + strlen(node),
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:203:3:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  wcsncpy(result_pos, cwd, cwd_len);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:213:3:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  wcsncpy(result_pos, dir, dir_len);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:223:3:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  wcsncpy(result_pos, name, name_len);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:234:5:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    wcsncpy(result_pos, ext, ext_len);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:352:21:  [1] (buffer) wcslen:
  Does not handle 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 file_len = wcslen(file);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:353:20:  [1] (buffer) wcslen:
  Does not handle 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 cwd_len = wcslen(cwd);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:455:16:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = wcslen(source);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:469:5:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    wcsncpy(target, source, len);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:480:5:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    wcsncpy(target, source, len);
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:809:13:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = wcslen(*ptr_copy) + 1;
data/python-gevent-1.4.0/deps/libuv/src/win/process.c:833:43:  [1] (buffer) wcslen:
  Does not handle 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 (; env != NULL && *env != 0; env += wcslen(env) + 1) {
data/python-gevent-1.4.0/deps/libuv/src/win/req-inl.h:159:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        DELEGATE_STREAM_REQ(loop, req, read, data);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:445: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).
  len = strlen(process_title) + 1;
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1160: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).
  len = strlen(pwd.homedir);
data/python-gevent-1.4.0/deps/libuv/src/win/util.c:1525: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).
  len = strlen(buf);

ANALYSIS SUMMARY:

Hits = 603
Lines analyzed = 91148 in approximately 2.41 seconds (37861 lines/second)
Physical Source Lines of Code (SLOC) = 66924
Hits@level = [0] 132 [1] 143 [2] 345 [3]  51 [4]  52 [5]  12
Hits@level+ = [0+] 735 [1+] 603 [2+] 460 [3+] 115 [4+]  64 [5+]  12
Hits/KSLOC@level+ = [0+] 10.9826 [1+] 9.01022 [2+] 6.87347 [3+] 1.71837 [4+] 0.956309 [5+] 0.179308
Dot directories skipped = 2 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.