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/inetutils-1.9.4/src/uucpd.c
Examining data/inetutils-1.9.4/src/rexecd.c
Examining data/inetutils-1.9.4/src/rexec.c
Examining data/inetutils-1.9.4/src/rlogin.c
Examining data/inetutils-1.9.4/src/rshd.c
Examining data/inetutils-1.9.4/src/rlogind.c
Examining data/inetutils-1.9.4/src/dnsdomainname.c
Examining data/inetutils-1.9.4/src/tftpd.c
Examining data/inetutils-1.9.4/src/rsh.c
Examining data/inetutils-1.9.4/src/tftp.c
Examining data/inetutils-1.9.4/src/logprio.h
Examining data/inetutils-1.9.4/src/hostname.c
Examining data/inetutils-1.9.4/src/logger.c
Examining data/inetutils-1.9.4/src/rcp.c
Examining data/inetutils-1.9.4/src/syslogd.c
Examining data/inetutils-1.9.4/src/traceroute.c
Examining data/inetutils-1.9.4/src/inetd.c
Examining data/inetutils-1.9.4/lib/basename-lgpl.c
Examining data/inetutils-1.9.4/lib/alignof.h
Examining data/inetutils-1.9.4/lib/posix_openpt.c
Examining data/inetutils-1.9.4/lib/ftell.c
Examining data/inetutils-1.9.4/lib/getdtablesize.c
Examining data/inetutils-1.9.4/lib/save-cwd.h
Examining data/inetutils-1.9.4/lib/glob.in.h
Examining data/inetutils-1.9.4/lib/xgetdomainname.h
Examining data/inetutils-1.9.4/lib/malloca.c
Examining data/inetutils-1.9.4/lib/regex.h
Examining data/inetutils-1.9.4/lib/strerror-override.c
Examining data/inetutils-1.9.4/lib/forkpty.c
Examining data/inetutils-1.9.4/lib/getusershell.c
Examining data/inetutils-1.9.4/lib/sockets.h
Examining data/inetutils-1.9.4/lib/argp-pv.c
Examining data/inetutils-1.9.4/lib/inttostr.c
Examining data/inetutils-1.9.4/lib/fdopendir.c
Examining data/inetutils-1.9.4/lib/mbtowc.c
Examining data/inetutils-1.9.4/lib/regex.c
Examining data/inetutils-1.9.4/lib/uinttostr.c
Examining data/inetutils-1.9.4/lib/strdup.c
Examining data/inetutils-1.9.4/lib/vasprintf.c
Examining data/inetutils-1.9.4/lib/getcwd-lgpl.c
Examining data/inetutils-1.9.4/lib/unistd-safer.h
Examining data/inetutils-1.9.4/lib/ftello.c
Examining data/inetutils-1.9.4/lib/getlogin_r.c
Examining data/inetutils-1.9.4/lib/sys_socket.c
Examining data/inetutils-1.9.4/lib/cloexec.h
Examining data/inetutils-1.9.4/lib/sys_socket.in.h
Examining data/inetutils-1.9.4/lib/vsnprintf.c
Examining data/inetutils-1.9.4/lib/getgroups.c
Examining data/inetutils-1.9.4/lib/getpass.h
Examining data/inetutils-1.9.4/lib/fnmatch_loop.c
Examining data/inetutils-1.9.4/lib/filemode.c
Examining data/inetutils-1.9.4/lib/sys_stat.in.h
Examining data/inetutils-1.9.4/lib/mkstemp.c
Examining data/inetutils-1.9.4/lib/sleep.c
Examining data/inetutils-1.9.4/lib/imaxtostr.c
Examining data/inetutils-1.9.4/lib/string.in.h
Examining data/inetutils-1.9.4/lib/open.c
Examining data/inetutils-1.9.4/lib/stdbool.in.h
Examining data/inetutils-1.9.4/lib/argp-version-etc.c
Examining data/inetutils-1.9.4/lib/msvc-nothrow.c
Examining data/inetutils-1.9.4/lib/chdir-long.c
Examining data/inetutils-1.9.4/lib/version-etc.c
Examining data/inetutils-1.9.4/lib/localcharset.c
Examining data/inetutils-1.9.4/lib/xgetcwd.h
Examining data/inetutils-1.9.4/lib/signal.in.h
Examining data/inetutils-1.9.4/lib/wchar.in.h
Examining data/inetutils-1.9.4/lib/progname.c
Examining data/inetutils-1.9.4/lib/lstat.c
Examining data/inetutils-1.9.4/lib/xgethostname.h
Examining data/inetutils-1.9.4/lib/snprintf.c
Examining data/inetutils-1.9.4/lib/argp-pvh.c
Examining data/inetutils-1.9.4/lib/setenv.c
Examining data/inetutils-1.9.4/lib/stdio--.h
Examining data/inetutils-1.9.4/lib/fd-hook.c
Examining data/inetutils-1.9.4/lib/gai_strerror.c
Examining data/inetutils-1.9.4/lib/sys_uio.in.h
Examining data/inetutils-1.9.4/lib/error.h
Examining data/inetutils-1.9.4/lib/argp-namefrob.h
Examining data/inetutils-1.9.4/lib/umaxtostr.c
Examining data/inetutils-1.9.4/lib/malloc.c
Examining data/inetutils-1.9.4/lib/printf-parse.c
Examining data/inetutils-1.9.4/lib/memrchr.c
Examining data/inetutils-1.9.4/lib/stdalign.in.h
Examining data/inetutils-1.9.4/lib/stdio-impl.h
Examining data/inetutils-1.9.4/lib/memchr.c
Examining data/inetutils-1.9.4/lib/localeconv.c
Examining data/inetutils-1.9.4/lib/unistd--.h
Examining data/inetutils-1.9.4/lib/tempname.c
Examining data/inetutils-1.9.4/lib/glob.c
Examining data/inetutils-1.9.4/lib/xgethostname.c
Examining data/inetutils-1.9.4/lib/filemode.h
Examining data/inetutils-1.9.4/lib/gethostname.c
Examining data/inetutils-1.9.4/lib/getopt.in.h
Examining data/inetutils-1.9.4/lib/argp-fs-xinl.c
Examining data/inetutils-1.9.4/lib/poll.c
Examining data/inetutils-1.9.4/lib/xgetcwd.c
Examining data/inetutils-1.9.4/lib/argp-xinl.c
Examining data/inetutils-1.9.4/lib/strerror-override.h
Examining data/inetutils-1.9.4/lib/float.in.h
Examining data/inetutils-1.9.4/lib/msvc-inval.c
Examining data/inetutils-1.9.4/lib/regex_internal.h
Examining data/inetutils-1.9.4/lib/obstack.h
Examining data/inetutils-1.9.4/lib/error.c
Examining data/inetutils-1.9.4/lib/argp-eexst.c
Examining data/inetutils-1.9.4/lib/secure_getenv.c
Examining data/inetutils-1.9.4/lib/sys_types.in.h
Examining data/inetutils-1.9.4/lib/filenamecat-lgpl.c
Examining data/inetutils-1.9.4/lib/getcwd.c
Examining data/inetutils-1.9.4/lib/asnprintf.c
Examining data/inetutils-1.9.4/lib/vasnprintf.c
Examining data/inetutils-1.9.4/lib/xsize.h
Examining data/inetutils-1.9.4/lib/version-etc.h
Examining data/inetutils-1.9.4/lib/nl_langinfo.c
Examining data/inetutils-1.9.4/lib/fopen-safer.c
Examining data/inetutils-1.9.4/lib/tempname.h
Examining data/inetutils-1.9.4/lib/filenamecat.h
Examining data/inetutils-1.9.4/lib/ioctl.c
Examining data/inetutils-1.9.4/lib/sys_time.in.h
Examining data/inetutils-1.9.4/lib/msvc-nothrow.h
Examining data/inetutils-1.9.4/lib/mgetgroups.h
Examining data/inetutils-1.9.4/lib/verify.h
Examining data/inetutils-1.9.4/lib/mbsrtowcs.c
Examining data/inetutils-1.9.4/lib/poll.in.h
Examining data/inetutils-1.9.4/lib/sockets.c
Examining data/inetutils-1.9.4/lib/strerror.c
Examining data/inetutils-1.9.4/lib/chdir-long.h
Examining data/inetutils-1.9.4/lib/openpty.c
Examining data/inetutils-1.9.4/lib/fseeko.c
Examining data/inetutils-1.9.4/lib/wcrtomb.c
Examining data/inetutils-1.9.4/lib/strncasecmp.c
Examining data/inetutils-1.9.4/lib/netdb.in.h
Examining data/inetutils-1.9.4/lib/exitfail.c
Examining data/inetutils-1.9.4/lib/mbrtowc.c
Examining data/inetutils-1.9.4/lib/strndup.c
Examining data/inetutils-1.9.4/lib/strnlen.c
Examining data/inetutils-1.9.4/lib/gettext.h
Examining data/inetutils-1.9.4/lib/openat-die.c
Examining data/inetutils-1.9.4/lib/getopt.c
Examining data/inetutils-1.9.4/lib/w32sock.h
Examining data/inetutils-1.9.4/lib/xalloc-die.c
Examining data/inetutils-1.9.4/lib/stat.c
Examining data/inetutils-1.9.4/lib/fcntl.in.h
Examining data/inetutils-1.9.4/lib/dirname-lgpl.c
Examining data/inetutils-1.9.4/lib/opendir.c
Examining data/inetutils-1.9.4/lib/fd-safer.c
Examining data/inetutils-1.9.4/lib/fstat.c
Examining data/inetutils-1.9.4/lib/xvasprintf.h
Examining data/inetutils-1.9.4/lib/xvasprintf.c
Examining data/inetutils-1.9.4/lib/printf-args.c
Examining data/inetutils-1.9.4/lib/time.in.h
Examining data/inetutils-1.9.4/lib/sys_ioctl.in.h
Examining data/inetutils-1.9.4/lib/locale.in.h
Examining data/inetutils-1.9.4/lib/mempcpy.c
Examining data/inetutils-1.9.4/lib/xalloc-oversized.h
Examining data/inetutils-1.9.4/lib/intprops.h
Examining data/inetutils-1.9.4/lib/wctype.in.h
Examining data/inetutils-1.9.4/lib/xgetdomainname.c
Examining data/inetutils-1.9.4/lib/argp-fmtstream.h
Examining data/inetutils-1.9.4/lib/argp-help.c
Examining data/inetutils-1.9.4/lib/argp.h
Examining data/inetutils-1.9.4/lib/wctype-h.c
Examining data/inetutils-1.9.4/lib/mbtowc-impl.h
Examining data/inetutils-1.9.4/lib/regcomp.c
Examining data/inetutils-1.9.4/lib/getdomainname.c
Examining data/inetutils-1.9.4/lib/termios.in.h
Examining data/inetutils-1.9.4/lib/argp-version-etc.h
Examining data/inetutils-1.9.4/lib/pipe-safer.c
Examining data/inetutils-1.9.4/lib/inet_ntop.c
Examining data/inetutils-1.9.4/lib/size_max.h
Examining data/inetutils-1.9.4/lib/at-func.c
Examining data/inetutils-1.9.4/lib/close.c
Examining data/inetutils-1.9.4/lib/stdint.in.h
Examining data/inetutils-1.9.4/lib/getaddrinfo.c
Examining data/inetutils-1.9.4/lib/version-etc-fsf.c
Examining data/inetutils-1.9.4/lib/dup.c
Examining data/inetutils-1.9.4/lib/dirname.h
Examining data/inetutils-1.9.4/lib/xasprintf.c
Examining data/inetutils-1.9.4/lib/localcharset.h
Examining data/inetutils-1.9.4/lib/regexec.c
Examining data/inetutils-1.9.4/lib/stdio-safer.h
Examining data/inetutils-1.9.4/lib/stdlib.in.h
Examining data/inetutils-1.9.4/lib/printf-parse.h
Examining data/inetutils-1.9.4/lib/read-file.h
Examining data/inetutils-1.9.4/lib/sysexits.in.h
Examining data/inetutils-1.9.4/lib/rawmemchr.c
Examining data/inetutils-1.9.4/lib/float+.h
Examining data/inetutils-1.9.4/lib/openat-proc.c
Examining data/inetutils-1.9.4/lib/openat-priv.h
Examining data/inetutils-1.9.4/lib/malloca.h
Examining data/inetutils-1.9.4/lib/getopt1.c
Examining data/inetutils-1.9.4/lib/mbsrtowcs-state.c
Examining data/inetutils-1.9.4/lib/inttostr.h
Examining data/inetutils-1.9.4/lib/getugroups.c
Examining data/inetutils-1.9.4/lib/regex_internal.c
Examining data/inetutils-1.9.4/lib/gettimeofday.c
Examining data/inetutils-1.9.4/lib/unistd.in.h
Examining data/inetutils-1.9.4/lib/fseek.c
Examining data/inetutils-1.9.4/lib/openat.h
Examining data/inetutils-1.9.4/lib/lseek.c
Examining data/inetutils-1.9.4/lib/exitfail.h
Examining data/inetutils-1.9.4/lib/arpa_inet.in.h
Examining data/inetutils-1.9.4/lib/stdio.in.h
Examining data/inetutils-1.9.4/lib/filename.h
Examining data/inetutils-1.9.4/lib/stripslash.c
Examining data/inetutils-1.9.4/lib/mbsinit.c
Examining data/inetutils-1.9.4/lib/glthread/lock.h
Examining data/inetutils-1.9.4/lib/glthread/threadlib.c
Examining data/inetutils-1.9.4/lib/glthread/lock.c
Examining data/inetutils-1.9.4/lib/strnlen1.h
Examining data/inetutils-1.9.4/lib/argp-fmtstream.c
Examining data/inetutils-1.9.4/lib/asprintf.c
Examining data/inetutils-1.9.4/lib/realloc.c
Examining data/inetutils-1.9.4/lib/printf-args.h
Examining data/inetutils-1.9.4/lib/streq.h
Examining data/inetutils-1.9.4/lib/getugroups.h
Examining data/inetutils-1.9.4/lib/readdir.c
Examining data/inetutils-1.9.4/lib/getpass.c
Examining data/inetutils-1.9.4/lib/dirent-private.h
Examining data/inetutils-1.9.4/lib/glob-libc.h
Examining data/inetutils-1.9.4/lib/argp-ba.c
Examining data/inetutils-1.9.4/lib/assure.h
Examining data/inetutils-1.9.4/lib/anytostr.c
Examining data/inetutils-1.9.4/lib/btowc.c
Examining data/inetutils-1.9.4/lib/obstack.c
Examining data/inetutils-1.9.4/lib/dirent.in.h
Examining data/inetutils-1.9.4/lib/xalloc.h
Examining data/inetutils-1.9.4/lib/openat.c
Examining data/inetutils-1.9.4/lib/fchdir.c
Examining data/inetutils-1.9.4/lib/mgetgroups.c
Examining data/inetutils-1.9.4/lib/sethostname.c
Examining data/inetutils-1.9.4/lib/dirfd.c
Examining data/inetutils-1.9.4/lib/msvc-inval.h
Examining data/inetutils-1.9.4/lib/dup2.c
Examining data/inetutils-1.9.4/lib/read-file.c
Examining data/inetutils-1.9.4/lib/dosname.h
Examining data/inetutils-1.9.4/lib/strnlen1.c
Examining data/inetutils-1.9.4/lib/login_tty.c
Examining data/inetutils-1.9.4/lib/dup-safer.c
Examining data/inetutils-1.9.4/lib/offtostr.c
Examining data/inetutils-1.9.4/lib/stdarg.in.h
Examining data/inetutils-1.9.4/lib/fnmatch.in.h
Examining data/inetutils-1.9.4/lib/fnmatch.c
Examining data/inetutils-1.9.4/lib/mbsrtowcs-impl.h
Examining data/inetutils-1.9.4/lib/readutmp.h
Examining data/inetutils-1.9.4/lib/minmax.h
Examining data/inetutils-1.9.4/lib/strings.in.h
Examining data/inetutils-1.9.4/lib/fstatat.c
Examining data/inetutils-1.9.4/lib/pathmax.h
Examining data/inetutils-1.9.4/lib/closedir.c
Examining data/inetutils-1.9.4/lib/getline.c
Examining data/inetutils-1.9.4/lib/itold.c
Examining data/inetutils-1.9.4/lib/float.c
Examining data/inetutils-1.9.4/lib/sys_select.in.h
Examining data/inetutils-1.9.4/lib/getopt_int.h
Examining data/inetutils-1.9.4/lib/strcasecmp.c
Examining data/inetutils-1.9.4/lib/fcntl.c
Examining data/inetutils-1.9.4/lib/readutmp.c
Examining data/inetutils-1.9.4/lib/pty.in.h
Examining data/inetutils-1.9.4/lib/alloca.c
Examining data/inetutils-1.9.4/lib/strchrnul.c
Examining data/inetutils-1.9.4/lib/xmalloc.c
Examining data/inetutils-1.9.4/lib/unistd.c
Examining data/inetutils-1.9.4/lib/getdelim.c
Examining data/inetutils-1.9.4/lib/langinfo.in.h
Examining data/inetutils-1.9.4/lib/netinet_in.in.h
Examining data/inetutils-1.9.4/lib/progname.h
Examining data/inetutils-1.9.4/lib/cloexec.c
Examining data/inetutils-1.9.4/lib/alloca.in.h
Examining data/inetutils-1.9.4/lib/select.c
Examining data/inetutils-1.9.4/lib/rewinddir.c
Examining data/inetutils-1.9.4/lib/vasnprintf.h
Examining data/inetutils-1.9.4/lib/errno.in.h
Examining data/inetutils-1.9.4/lib/xsize.c
Examining data/inetutils-1.9.4/lib/argp-pin.c
Examining data/inetutils-1.9.4/lib/fd-hook.h
Examining data/inetutils-1.9.4/lib/fopen.c
Examining data/inetutils-1.9.4/lib/save-cwd.c
Examining data/inetutils-1.9.4/lib/argp-parse.c
Examining data/inetutils-1.9.4/lib/stddef.in.h
Examining data/inetutils-1.9.4/talk/get_names.c
Examining data/inetutils-1.9.4/talk/invite.c
Examining data/inetutils-1.9.4/talk/talk.c
Examining data/inetutils-1.9.4/talk/io.c
Examining data/inetutils-1.9.4/talk/display.c
Examining data/inetutils-1.9.4/talk/msgs.c
Examining data/inetutils-1.9.4/talk/look_up.c
Examining data/inetutils-1.9.4/talk/ctl.c
Examining data/inetutils-1.9.4/talk/init_disp.c
Examining data/inetutils-1.9.4/talk/get_addrs.c
Examining data/inetutils-1.9.4/talk/talk.h
Examining data/inetutils-1.9.4/talk/talk_ctl.h
Examining data/inetutils-1.9.4/talk/ctl_transact.c
Examining data/inetutils-1.9.4/ping/ping_timestamp.c
Examining data/inetutils-1.9.4/ping/ping_address.c
Examining data/inetutils-1.9.4/ping/ping_router.c
Examining data/inetutils-1.9.4/ping/ping_impl.h
Examining data/inetutils-1.9.4/ping/ping_common.c
Examining data/inetutils-1.9.4/ping/ping_common.h
Examining data/inetutils-1.9.4/ping/libping.c
Examining data/inetutils-1.9.4/ping/ping.h
Examining data/inetutils-1.9.4/ping/ping6.h
Examining data/inetutils-1.9.4/ping/ping.c
Examining data/inetutils-1.9.4/ping/ping_echo.c
Examining data/inetutils-1.9.4/ping/ping6.c
Examining data/inetutils-1.9.4/ftpd/server_mode.c
Examining data/inetutils-1.9.4/ftpd/conf.c
Examining data/inetutils-1.9.4/ftpd/ftpcmd.c
Examining data/inetutils-1.9.4/ftpd/pam.c
Examining data/inetutils-1.9.4/ftpd/popen.c
Examining data/inetutils-1.9.4/ftpd/auth.c
Examining data/inetutils-1.9.4/ftpd/extern.h
Examining data/inetutils-1.9.4/ftpd/ftpd.c
Examining data/inetutils-1.9.4/talkd/intalkd.h
Examining data/inetutils-1.9.4/talkd/print.c
Examining data/inetutils-1.9.4/talkd/process.c
Examining data/inetutils-1.9.4/talkd/acl.c
Examining data/inetutils-1.9.4/talkd/table.c
Examining data/inetutils-1.9.4/talkd/talkd.c
Examining data/inetutils-1.9.4/talkd/announce.c
Examining data/inetutils-1.9.4/telnetd/termstat.c
Examining data/inetutils-1.9.4/telnetd/term.c
Examining data/inetutils-1.9.4/telnetd/pty.c
Examining data/inetutils-1.9.4/telnetd/telnetd.c
Examining data/inetutils-1.9.4/telnetd/slc.c
Examining data/inetutils-1.9.4/telnetd/state.c
Examining data/inetutils-1.9.4/telnetd/telnetd.h
Examining data/inetutils-1.9.4/telnetd/utility.c
Examining data/inetutils-1.9.4/whois/ip_del.h
Examining data/inetutils-1.9.4/whois/whois.h
Examining data/inetutils-1.9.4/whois/as_del.h
Examining data/inetutils-1.9.4/whois/tld_serv.h
Examining data/inetutils-1.9.4/whois/whois.c
Examining data/inetutils-1.9.4/whois/data.h
Examining data/inetutils-1.9.4/ifconfig/ifconfig.h
Examining data/inetutils-1.9.4/ifconfig/printif.h
Examining data/inetutils-1.9.4/ifconfig/system/solaris.h
Examining data/inetutils-1.9.4/ifconfig/system/qnx.h
Examining data/inetutils-1.9.4/ifconfig/system/generic.h
Examining data/inetutils-1.9.4/ifconfig/system/qnx.c
Examining data/inetutils-1.9.4/ifconfig/system/linux.h
Examining data/inetutils-1.9.4/ifconfig/system/solaris.c
Examining data/inetutils-1.9.4/ifconfig/system/hurd.h
Examining data/inetutils-1.9.4/ifconfig/system/generic.c
Examining data/inetutils-1.9.4/ifconfig/system/hurd.c
Examining data/inetutils-1.9.4/ifconfig/system/bsd.c
Examining data/inetutils-1.9.4/ifconfig/system/bsd.h
Examining data/inetutils-1.9.4/ifconfig/system/linux.c
Examining data/inetutils-1.9.4/ifconfig/ifconfig.c
Examining data/inetutils-1.9.4/ifconfig/flags.h
Examining data/inetutils-1.9.4/ifconfig/printif.c
Examining data/inetutils-1.9.4/ifconfig/system.c
Examining data/inetutils-1.9.4/ifconfig/system.h
Examining data/inetutils-1.9.4/ifconfig/flags.c
Examining data/inetutils-1.9.4/ifconfig/options.c
Examining data/inetutils-1.9.4/ifconfig/options.h
Examining data/inetutils-1.9.4/ifconfig/changeif.c
Examining data/inetutils-1.9.4/libinetutils/argcv.c
Examining data/inetutils-1.9.4/libinetutils/tftpsubs.h
Examining data/inetutils-1.9.4/libinetutils/kerberos5.c
Examining data/inetutils-1.9.4/libinetutils/kcmd.c
Examining data/inetutils-1.9.4/libinetutils/localhost.c
Examining data/inetutils-1.9.4/libinetutils/setsig.c
Examining data/inetutils-1.9.4/libinetutils/cleansess.c
Examining data/inetutils-1.9.4/libinetutils/logwtmp.c
Examining data/inetutils-1.9.4/libinetutils/daemon.c
Examining data/inetutils-1.9.4/libinetutils/defauthors.c
Examining data/inetutils-1.9.4/libinetutils/shishi.c
Examining data/inetutils-1.9.4/libinetutils/tftpsubs.c
Examining data/inetutils-1.9.4/libinetutils/shishi_def.h
Examining data/inetutils-1.9.4/libinetutils/argcv.h
Examining data/inetutils-1.9.4/libinetutils/utmp_logout.c
Examining data/inetutils-1.9.4/libinetutils/kerberos5_def.h
Examining data/inetutils-1.9.4/libinetutils/libinetutils.h
Examining data/inetutils-1.9.4/libinetutils/krcmd.c
Examining data/inetutils-1.9.4/libinetutils/if_index.c
Examining data/inetutils-1.9.4/libinetutils/logwtmpko.c
Examining data/inetutils-1.9.4/libinetutils/ttymsg.c
Examining data/inetutils-1.9.4/libinetutils/utmp_init.c
Examining data/inetutils-1.9.4/telnet/main.c
Examining data/inetutils-1.9.4/telnet/network.c
Examining data/inetutils-1.9.4/telnet/authenc.c
Examining data/inetutils-1.9.4/telnet/ring.h
Examining data/inetutils-1.9.4/telnet/types.h
Examining data/inetutils-1.9.4/telnet/terminal.c
Examining data/inetutils-1.9.4/telnet/defines.h
Examining data/inetutils-1.9.4/telnet/general.h
Examining data/inetutils-1.9.4/telnet/ring.c
Examining data/inetutils-1.9.4/telnet/tn3270.c
Examining data/inetutils-1.9.4/telnet/externs.h
Examining data/inetutils-1.9.4/telnet/utilities.c
Examining data/inetutils-1.9.4/telnet/telnet.c
Examining data/inetutils-1.9.4/telnet/commands.c
Examining data/inetutils-1.9.4/telnet/sys_bsd.c
Examining data/inetutils-1.9.4/libls/fts.c
Examining data/inetutils-1.9.4/libls/util.c
Examining data/inetutils-1.9.4/libls/fts.h
Examining data/inetutils-1.9.4/libls/extern.h
Examining data/inetutils-1.9.4/libls/stat_flags.c
Examining data/inetutils-1.9.4/libls/cmp.c
Examining data/inetutils-1.9.4/libls/ls.h
Examining data/inetutils-1.9.4/libls/print.c
Examining data/inetutils-1.9.4/libls/ls.c
Examining data/inetutils-1.9.4/build-aux/snippet/unused-parameter.h
Examining data/inetutils-1.9.4/build-aux/snippet/_Noreturn.h
Examining data/inetutils-1.9.4/build-aux/snippet/warn-on-use.h
Examining data/inetutils-1.9.4/build-aux/snippet/c++defs.h
Examining data/inetutils-1.9.4/build-aux/snippet/arg-nonnull.h
Examining data/inetutils-1.9.4/libtelnet/kerberos5.c
Examining data/inetutils-1.9.4/libtelnet/auth-proto.h
Examining data/inetutils-1.9.4/libtelnet/key-proto.h
Examining data/inetutils-1.9.4/libtelnet/enc-proto.h
Examining data/inetutils-1.9.4/libtelnet/genget.c
Examining data/inetutils-1.9.4/libtelnet/forward.c
Examining data/inetutils-1.9.4/libtelnet/genget.h
Examining data/inetutils-1.9.4/libtelnet/read_passwd.c
Examining data/inetutils-1.9.4/libtelnet/shishi.c
Examining data/inetutils-1.9.4/libtelnet/kerberos.c
Examining data/inetutils-1.9.4/libtelnet/misc-proto.h
Examining data/inetutils-1.9.4/libtelnet/auth.h
Examining data/inetutils-1.9.4/libtelnet/auth.c
Examining data/inetutils-1.9.4/libtelnet/misc.c
Examining data/inetutils-1.9.4/libtelnet/enc_des.c
Examining data/inetutils-1.9.4/libtelnet/encrypt.h
Examining data/inetutils-1.9.4/libtelnet/misc.h
Examining data/inetutils-1.9.4/libtelnet/encrypt.c
Examining data/inetutils-1.9.4/ftp/ftp_var.h
Examining data/inetutils-1.9.4/ftp/extern.h
Examining data/inetutils-1.9.4/ftp/ruserpass.c
Examining data/inetutils-1.9.4/ftp/cmdtab.c
Examining data/inetutils-1.9.4/ftp/main.c
Examining data/inetutils-1.9.4/ftp/ftp.c
Examining data/inetutils-1.9.4/ftp/cmds.c
Examining data/inetutils-1.9.4/ftp/domacro.c
Examining data/inetutils-1.9.4/tests/localhost.c
Examining data/inetutils-1.9.4/tests/tcpget.c
Examining data/inetutils-1.9.4/tests/ls.c
Examining data/inetutils-1.9.4/tests/readutmp.c
Examining data/inetutils-1.9.4/tests/addrpeek.c
Examining data/inetutils-1.9.4/tests/waitdaemon.c
Examining data/inetutils-1.9.4/tests/identify.c
Examining data/inetutils-1.9.4/libicmp/icmp.h
Examining data/inetutils-1.9.4/libicmp/icmp_echo.c
Examining data/inetutils-1.9.4/libicmp/icmp_address.c
Examining data/inetutils-1.9.4/libicmp/icmp_cksum.c
Examining data/inetutils-1.9.4/libicmp/icmp_timestamp.c

FINAL RESULTS:

data/inetutils-1.9.4/ftpd/ftpcmd.c:2116:17:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
			    else if (chmod ((yyvsp[-1].s), (yyvsp[-3].i)) < 0)
data/inetutils-1.9.4/lib/stdio.in.h:725:8:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
#undef gets
data/inetutils-1.9.4/lib/stdio.in.h:727:18:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
data/inetutils-1.9.4/lib/sys_stat.in.h:432:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#   define lchmod chmod
data/inetutils-1.9.4/lib/sys_stat.in.h:436:34:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
_GL_CXXALIAS_RPL_CAST_1 (lchmod, chmod, int,
data/inetutils-1.9.4/lib/unistd.in.h:260:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_WARN_ON_USE (chown, "chdir is not always in <unistd.h> - "
data/inetutils-1.9.4/lib/unistd.in.h:274:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   undef chown
data/inetutils-1.9.4/lib/unistd.in.h:275:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   define chown rpl_chown
data/inetutils-1.9.4/lib/unistd.in.h:277:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
data/inetutils-1.9.4/lib/unistd.in.h:279:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
data/inetutils-1.9.4/lib/unistd.in.h:282:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
data/inetutils-1.9.4/lib/unistd.in.h:285:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
data/inetutils-1.9.4/lib/unistd.in.h:287:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIASWARN (chown);
data/inetutils-1.9.4/lib/unistd.in.h:289:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# undef chown
data/inetutils-1.9.4/lib/unistd.in.h:291:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_WARN_ON_USE (chown, "chown fails to follow symlinks on some systems and "
data/inetutils-1.9.4/lib/unistd.in.h:1269:12:  [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.
#   define readlink rpl_readlink
data/inetutils-1.9.4/lib/unistd.in.h:1271:19:  [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.
_GL_FUNCDECL_RPL (readlink, ssize_t,
data/inetutils-1.9.4/lib/unistd.in.h:1274:19:  [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.
_GL_CXXALIAS_RPL (readlink, ssize_t,
data/inetutils-1.9.4/lib/unistd.in.h:1278:19:  [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.
_GL_FUNCDECL_SYS (readlink, ssize_t,
data/inetutils-1.9.4/lib/unistd.in.h:1282:19:  [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.
_GL_CXXALIAS_SYS (readlink, ssize_t,
data/inetutils-1.9.4/lib/unistd.in.h:1285:19:  [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.
_GL_CXXALIASWARN (readlink);
data/inetutils-1.9.4/lib/unistd.in.h:1287: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.
# undef readlink
data/inetutils-1.9.4/lib/unistd.in.h:1289: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.
_GL_WARN_ON_USE (readlink, "readlink is unportable - "
data/inetutils-1.9.4/libinetutils/cleansess.c:66:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod (tty, 0666);
data/inetutils-1.9.4/libinetutils/cleansess.c:67:3:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  chown (tty, 0, 0);
data/inetutils-1.9.4/libls/print.c:398:17:  [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.
  if ((lnklen = readlink (name, path, sizeof (path) - 1)) == -1)
data/inetutils-1.9.4/libtelnet/forward.c:467:16:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  if (retval = chown (ccname + 5, pwd->pw_uid, -1))
data/inetutils-1.9.4/src/rcp.c:1026:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		chmod (np, mode);
data/inetutils-1.9.4/src/rcp.c:1053:6:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	    chmod (np, mode);
data/inetutils-1.9.4/src/rlogind.c:2085:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod (line, 0644);
data/inetutils-1.9.4/src/rlogind.c:2086:3:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  chown (line, 0, 0);
data/inetutils-1.9.4/src/rlogind.c:2090:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod (line, 0666);
data/inetutils-1.9.4/src/rlogind.c:2091:3:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  chown (line, 0, 0);
data/inetutils-1.9.4/src/rlogind.c:2093:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod (line, 0666);
data/inetutils-1.9.4/src/rlogind.c:2094:3:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  chown (line, 0, 0);
data/inetutils-1.9.4/src/syslogd.c:907:10:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      || chmod (path, 0666) < 0)
data/inetutils-1.9.4/telnetd/pty.c:166:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod (line, 0644);
data/inetutils-1.9.4/telnetd/pty.c:167:3:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  chown (line, 0, 0);
data/inetutils-1.9.4/ftp/cmds.c:161:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (buffer, "(%s) ", prompt);
data/inetutils-1.9.4/ftp/cmds.c:213: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 (&line[len], arg);
data/inetutils-1.9.4/ftp/cmds.c:434: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 (typename, p->t_name);
data/inetutils-1.9.4/ftp/cmds.c:1046: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 (temp, PATH_TMP);
data/inetutils-1.9.4/ftp/cmds.c:1051:11:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
      if (mktemp (temp) != NULL)
data/inetutils-1.9.4/ftp/cmds.c:1694:4:  [4] (shell) execl:
  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.
	  execl (shell, shellnam, "-c", altarg, (char *) 0);
data/inetutils-1.9.4/ftp/cmds.c:1698:4:  [4] (shell) execl:
  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.
	  execl (shell, shellnam, (char *) 0);
data/inetutils-1.9.4/ftp/cmds.c:1751:12:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
	argv[2] = getpass ("Password: ");
data/inetutils-1.9.4/ftp/cmds.c:1910: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 (buf, initial);
data/inetutils-1.9.4/ftp/cmds.c:1914:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      len += strlen (strcpy (&buf[len], argv[1]));
data/inetutils-1.9.4/ftp/cmds.c:1918:19:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  len += strlen (strcpy (&buf[len], argv[i]));
data/inetutils-1.9.4/ftp/cmds.c:2093:12:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
      ap = getpass ("Account:");
data/inetutils-1.9.4/ftp/cmds.c:2516: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, name);
data/inetutils-1.9.4/ftp/domacro.c:193:6:  [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 (cp2, argv[j + 1]);
data/inetutils-1.9.4/ftp/domacro.c:211:6:  [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 (cp2, argv[count]);
data/inetutils-1.9.4/ftp/domacro.c:268:8:  [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 (line, line2);	/* Known to fit.  */
data/inetutils-1.9.4/ftp/ftp.c:321:22:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
      char *myname = getlogin ();
data/inetutils-1.9.4/ftp/ftp.c:363:9:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
	pass = getpass ("Password: ");
data/inetutils-1.9.4/ftp/ftp.c:371:14:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
      acct = getpass ("Account: ");
data/inetutils-1.9.4/ftp/ftp.c:436:2:  [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 (stdout, fmt, ap);
data/inetutils-1.9.4/ftp/ftp.c:451: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 (cout, fmt, ap);
data/inetutils-1.9.4/ftp/ftp.c:609:26:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  FILE *fin, *dout = 0, *popen (const char *, const char *);
data/inetutils-1.9.4/ftp/ftp.c:660:13:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      fin = popen (local + 1, "r");
data/inetutils-1.9.4/ftp/ftp.c:1007:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      fout = popen (local + 1, "w");
data/inetutils-1.9.4/ftp/ftp.c:1731: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 (ntin, op->nti);
data/inetutils-1.9.4/ftp/ftp.c:1734: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 (ntout, op->nto);
data/inetutils-1.9.4/ftp/ftp.c:1936: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 (new, local);
data/inetutils-1.9.4/ftp/main.c:272:8:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
  cp = getlogin ();
data/inetutils-1.9.4/ftp/main.c:282:4:  [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, pw->pw_dir);
data/inetutils-1.9.4/ftp/ruserpass.c:217:23:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                      strcpy (*aname, tokval);
data/inetutils-1.9.4/ftp/ruserpass.c:239: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 (*apass, tokval);
data/inetutils-1.9.4/ftp/ruserpass.c:254: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 (*aacct, tokval);
data/inetutils-1.9.4/ftpd/auth.c:134:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (pcred->message, "User %s access denied.", name);
data/inetutils-1.9.4/ftpd/auth.c:192:12:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
	xpasswd = crypt (passwd, salt);
data/inetutils-1.9.4/ftpd/ftpcmd.c:984:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define YYFPRINTF fprintf
data/inetutils-1.9.4/ftpd/ftpcmd.c:2182:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			      sprintf (version, "%s %s", u.sysname, u.release);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3745: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 (p, s);
data/inetutils-1.9.4/ftpd/ftpd.c:984: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.
      snprintf (line, sizeof line, cmd, name);
data/inetutils-1.9.4/ftpd/ftpd.c:1696:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (fmt, ap);
data/inetutils-1.9.4/ftpd/ftpd.c:1715:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (fmt, ap);
data/inetutils-1.9.4/ftpd/ftpd.c:2092: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 (string, local);
data/inetutils-1.9.4/ftpd/ftpd.c:2229:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf (nbuf, "%s/%s", dirname, dir->d_name);
data/inetutils-1.9.4/ftpd/pam.c:162:5:  [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 (pcred->message, msg[count]->msg);
data/inetutils-1.9.4/ftpd/pam.c:279:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  (void) snprintf (tty_name, sizeof (tty_name), TTY_FORMAT, (int) getpid());
data/inetutils-1.9.4/ftpd/popen.c:185:7:  [4] (shell) execv:
  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.
      execv (gargv[0], gargv);
data/inetutils-1.9.4/ftpd/server_mode.c:240:10:  [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.
  _exit (execvp (argv[0], argv));
data/inetutils-1.9.4/ifconfig/changeif.c:423:45:  [4] (shell) system:
  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.
    err = system_configure (sfd, &ifr, ifp->system);
data/inetutils-1.9.4/ifconfig/flags.c:290: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 (p, prefix);
data/inetutils-1.9.4/ifconfig/flags.c:300: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 (p, fnames[i]);
data/inetutils-1.9.4/ifconfig/flags.c:308: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 (p, FLAGS_COMMENT);
data/inetutils-1.9.4/ifconfig/options.h:36:27:  [4] (shell) system:
  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.
  struct system_ifconfig *system;
data/inetutils-1.9.4/ifconfig/printif.c:202:14:  [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.
  *column += printf (fmt, nr);
data/inetutils-1.9.4/ifconfig/printif.c:259:14:  [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.
  *column += printf (fmt, value);
data/inetutils-1.9.4/ifconfig/system/linux.c:695:17:  [4] (shell) system:
  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.
      if (!ifp->system)
data/inetutils-1.9.4/ifconfig/system/linux.c:974:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (cur.ifr_name, idx[index].if_name);
data/inetutils-1.9.4/lib/argp-fmtstream.h:70:33:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define __argp_fmtstream_printf fprintf
data/inetutils-1.9.4/lib/argp-fmtstream.h:71:31:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define argp_fmtstream_printf fprintf
data/inetutils-1.9.4/lib/argp-fmtstream.h:131:29:  [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.
     _GL_ATTRIBUTE_FORMAT ((printf, 2, 3));
data/inetutils-1.9.4/lib/argp-fmtstream.h:134:29:  [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.
     _GL_ATTRIBUTE_FORMAT ((printf, 2, 3));
data/inetutils-1.9.4/lib/argp-help.c:1832:15:  [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 (stream, fmt, ap);
data/inetutils-1.9.4/lib/argp-help.c:1906:19:  [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 (stream, fmt, ap);
data/inetutils-1.9.4/lib/argp-namefrob.h:96:21:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define __vsnprintf vsnprintf
data/inetutils-1.9.4/lib/argp-parse.c:610:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf (parser->state.err_stream,
data/inetutils-1.9.4/lib/chdir-long.c:252:7:  [4] (shell) execlp:
  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.
      execlp (cmd, (char *) NULL);
data/inetutils-1.9.4/lib/error.c:270:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf (stderr, message, args);
data/inetutils-1.9.4/lib/error.c:385:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (stderr, file_name != NULL ? "%s:%d: " : " ",
data/inetutils-1.9.4/lib/fnmatch.c:159:23:  [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).
# define STRCAT(D, S) strcat (D, S)
data/inetutils-1.9.4/lib/fnmatch.c:189:25:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
#   define STRCAT(D, S) wcscat (D, S)
data/inetutils-1.9.4/lib/getlogin_r.c:33:14:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
extern char *getlogin (void);
data/inetutils-1.9.4/lib/getlogin_r.c:76:7:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
  n = getlogin ();
data/inetutils-1.9.4/lib/getpass.c:84:1:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
getpass (const char *prompt)
data/inetutils-1.9.4/lib/getpass.c:191:1:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
getpass (const char *prompt)
data/inetutils-1.9.4/lib/getpass.h:26:7:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
char *getpass (const char *prompt);
data/inetutils-1.9.4/lib/inet_ntop.c:140:10:  [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).
  return strcpy (dst, tmp);
data/inetutils-1.9.4/lib/inet_ntop.c:255:10:  [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).
  return strcpy (dst, tmp);
data/inetutils-1.9.4/lib/localcharset.c:239:23:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                      strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
data/inetutils-1.9.4/lib/localcharset.c:240:23:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                      strcpy (res_ptr + res_size - (l2 + 1), buf2);
data/inetutils-1.9.4/lib/localcharset.c:511:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf, "CP%s", pdot + 1);
data/inetutils-1.9.4/lib/openat-proc.c:81:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
          sprintf (dotdot_buf, PROC_SELF_FD_FORMAT, proc_self_fd, "../fd");
data/inetutils-1.9.4/lib/openat-proc.c:82:25:  [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.
          proc_status = access (dotdot_buf, F_OK) ? -1 : 1;
data/inetutils-1.9.4/lib/openat-proc.c:99:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (result, PROC_SELF_FD_FORMAT, fd, file);
data/inetutils-1.9.4/lib/opendir.c:130: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 (dirp->dir_name_mask, dir_name_mask);
data/inetutils-1.9.4/lib/openpty.c:127: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 (name, slave_name);
data/inetutils-1.9.4/lib/snprintf.c:37:1:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
snprintf (char *str, size_t size, const char *format, ...)
data/inetutils-1.9.4/lib/stat.c:117: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 (fixed_name, name);
data/inetutils-1.9.4/lib/stdio--.h:39:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
# undef popen
data/inetutils-1.9.4/lib/stdio--.h:40:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
# define popen popen_safer
data/inetutils-1.9.4/lib/stdio.in.h:284:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define fprintf rpl_fprintf
data/inetutils-1.9.4/lib/stdio.in.h:288:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...)
data/inetutils-1.9.4/lib/stdio.in.h:292:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...)
data/inetutils-1.9.4/lib/stdio.in.h:296:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (fprintf, int, (FILE *fp, const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:298:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS (fprintf, int, (FILE *fp, const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:300:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (fprintf);
data/inetutils-1.9.4/lib/stdio.in.h:304:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef fprintf
data/inetutils-1.9.4/lib/stdio.in.h:307:18:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - "
data/inetutils-1.9.4/lib/stdio.in.h:411:11:  [4] (buffer) fscanf:
  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.
#   undef fscanf
data/inetutils-1.9.4/lib/stdio.in.h:412:12:  [4] (buffer) fscanf:
  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.
#   define fscanf rpl_fscanf
data/inetutils-1.9.4/lib/stdio.in.h:414:19:  [4] (buffer) fscanf:
  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.
_GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...)
data/inetutils-1.9.4/lib/stdio.in.h:417:19:  [4] (buffer) fscanf:
  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.
_GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:419:19:  [4] (buffer) fscanf:
  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.
_GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:421:19:  [4] (buffer) fscanf:
  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.
_GL_CXXALIASWARN (fscanf);
data/inetutils-1.9.4/lib/stdio.in.h:820:11:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#   undef popen
data/inetutils-1.9.4/lib/stdio.in.h:821:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#   define popen rpl_popen
data/inetutils-1.9.4/lib/stdio.in.h:823:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode)
data/inetutils-1.9.4/lib/stdio.in.h:825:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode));
data/inetutils-1.9.4/lib/stdio.in.h:828:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode)
data/inetutils-1.9.4/lib/stdio.in.h:831:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode));
data/inetutils-1.9.4/lib/stdio.in.h:833:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_CXXALIASWARN (popen);
data/inetutils-1.9.4/lib/stdio.in.h:835:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
# undef popen
data/inetutils-1.9.4/lib/stdio.in.h:837:18:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
_GL_WARN_ON_USE (popen, "popen is buggy on some platforms - "
data/inetutils-1.9.4/lib/stdio.in.h:848:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define printf __printf__
data/inetutils-1.9.4/lib/stdio.in.h:865:21:  [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.
_GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:868:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define printf rpl_printf
data/inetutils-1.9.4/lib/stdio.in.h:870:19:  [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.
_GL_FUNCDECL_RPL (printf, int,
data/inetutils-1.9.4/lib/stdio.in.h:874:19:  [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.
_GL_CXXALIAS_RPL (printf, int, (const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:878:19:  [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.
_GL_CXXALIAS_SYS (printf, int, (const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:880:19:  [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.
_GL_CXXALIASWARN (printf);
data/inetutils-1.9.4/lib/stdio.in.h:884:10:  [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.
#  undef printf
data/inetutils-1.9.4/lib/stdio.in.h:887:18:  [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.
_GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - "
data/inetutils-1.9.4/lib/stdio.in.h:1009:12:  [4] (buffer) scanf:
  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.
#    undef scanf
data/inetutils-1.9.4/lib/stdio.in.h:1011:13:  [4] (buffer) scanf:
  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.
#    define scanf __scanf__
data/inetutils-1.9.4/lib/stdio.in.h:1019:21:  [4] (buffer) scanf:
  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.
_GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:1022:12:  [4] (buffer) scanf:
  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.
#    undef scanf
data/inetutils-1.9.4/lib/stdio.in.h:1023:13:  [4] (buffer) scanf:
  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.
#    define scanf rpl_scanf
data/inetutils-1.9.4/lib/stdio.in.h:1025:19:  [4] (buffer) scanf:
  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.
_GL_FUNCDECL_RPL (scanf, int, (const char *format, ...)
data/inetutils-1.9.4/lib/stdio.in.h:1028:19:  [4] (buffer) scanf:
  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.
_GL_CXXALIAS_RPL (scanf, int, (const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:1031:19:  [4] (buffer) scanf:
  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.
_GL_CXXALIAS_SYS (scanf, int, (const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:1033:19:  [4] (buffer) scanf:
  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.
_GL_CXXALIASWARN (scanf);
data/inetutils-1.9.4/lib/stdio.in.h:1039: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.
#   define snprintf rpl_snprintf
data/inetutils-1.9.4/lib/stdio.in.h:1041:19:  [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.
_GL_FUNCDECL_RPL (snprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1045:19:  [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.
_GL_CXXALIAS_RPL (snprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1049:19:  [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.
_GL_FUNCDECL_SYS (snprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1054:19:  [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.
_GL_CXXALIAS_SYS (snprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1057:19:  [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.
_GL_CXXALIASWARN (snprintf);
data/inetutils-1.9.4/lib/stdio.in.h:1059:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# undef snprintf
data/inetutils-1.9.4/lib/stdio.in.h:1061:18:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_WARN_ON_USE (snprintf, "snprintf is unportable - "
data/inetutils-1.9.4/lib/stdio.in.h:1078:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define sprintf rpl_sprintf
data/inetutils-1.9.4/lib/stdio.in.h:1080:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (sprintf, int, (char *str, const char *format, ...)
data/inetutils-1.9.4/lib/stdio.in.h:1083:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (sprintf, int, (char *str, const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:1085:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_SYS (sprintf, int, (char *str, const char *format, ...));
data/inetutils-1.9.4/lib/stdio.in.h:1087:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (sprintf);
data/inetutils-1.9.4/lib/stdio.in.h:1089:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef sprintf
data/inetutils-1.9.4/lib/stdio.in.h:1091:18:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - "
data/inetutils-1.9.4/lib/stdio.in.h:1197:12:  [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.
#   define vfprintf rpl_vfprintf
data/inetutils-1.9.4/lib/stdio.in.h:1201:19:  [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.
_GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)
data/inetutils-1.9.4/lib/stdio.in.h:1205:19:  [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.
_GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)
data/inetutils-1.9.4/lib/stdio.in.h:1209:19:  [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.
_GL_CXXALIAS_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args));
data/inetutils-1.9.4/lib/stdio.in.h:1214:24:  [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.
_GL_CXXALIAS_SYS_CAST (vfprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1217:19:  [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.
_GL_CXXALIASWARN (vfprintf);
data/inetutils-1.9.4/lib/stdio.in.h:1221:10:  [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.
#  undef vfprintf
data/inetutils-1.9.4/lib/stdio.in.h:1224:18:  [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.
_GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - "
data/inetutils-1.9.4/lib/stdio.in.h:1232:11:  [4] (buffer) vfscanf:
  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.
#   undef vfscanf
data/inetutils-1.9.4/lib/stdio.in.h:1233:12:  [4] (buffer) vfscanf:
  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.
#   define vfscanf rpl_vfscanf
data/inetutils-1.9.4/lib/stdio.in.h:1235:19:  [4] (buffer) vfscanf:
  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.
_GL_FUNCDECL_RPL (vfscanf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1239:19:  [4] (buffer) vfscanf:
  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.
_GL_CXXALIAS_RPL (vfscanf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1242:19:  [4] (buffer) vfscanf:
  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.
_GL_CXXALIAS_SYS (vfscanf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1245:19:  [4] (buffer) vfscanf:
  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.
_GL_CXXALIASWARN (vfscanf);
data/inetutils-1.9.4/lib/stdio.in.h:1252:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define vprintf rpl_vprintf
data/inetutils-1.9.4/lib/stdio.in.h:1256:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args)
data/inetutils-1.9.4/lib/stdio.in.h:1260:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args)
data/inetutils-1.9.4/lib/stdio.in.h:1264:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_RPL (vprintf, int, (const char *format, va_list args));
data/inetutils-1.9.4/lib/stdio.in.h:1269:24:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIAS_SYS_CAST (vprintf, int, (const char *format, va_list args));
data/inetutils-1.9.4/lib/stdio.in.h:1271:19:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_CXXALIASWARN (vprintf);
data/inetutils-1.9.4/lib/stdio.in.h:1275:10:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  undef vprintf
data/inetutils-1.9.4/lib/stdio.in.h:1278:18:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
_GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - "
data/inetutils-1.9.4/lib/stdio.in.h:1286:11:  [4] (buffer) vscanf:
  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.
#   undef vscanf
data/inetutils-1.9.4/lib/stdio.in.h:1287:12:  [4] (buffer) vscanf:
  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.
#   define vscanf rpl_vscanf
data/inetutils-1.9.4/lib/stdio.in.h:1289:19:  [4] (buffer) vscanf:
  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.
_GL_FUNCDECL_RPL (vscanf, int, (const char *format, va_list args)
data/inetutils-1.9.4/lib/stdio.in.h:1292:19:  [4] (buffer) vscanf:
  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.
_GL_CXXALIAS_RPL (vscanf, int, (const char *format, va_list args));
data/inetutils-1.9.4/lib/stdio.in.h:1294:19:  [4] (buffer) vscanf:
  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.
_GL_CXXALIAS_SYS (vscanf, int, (const char *format, va_list args));
data/inetutils-1.9.4/lib/stdio.in.h:1296:19:  [4] (buffer) vscanf:
  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.
_GL_CXXALIASWARN (vscanf);
data/inetutils-1.9.4/lib/stdio.in.h:1302:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define vsnprintf rpl_vsnprintf
data/inetutils-1.9.4/lib/stdio.in.h:1304:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_FUNCDECL_RPL (vsnprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1308:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIAS_RPL (vsnprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1312:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_FUNCDECL_SYS (vsnprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1317:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIAS_SYS (vsnprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1320:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_CXXALIASWARN (vsnprintf);
data/inetutils-1.9.4/lib/stdio.in.h:1322:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# undef vsnprintf
data/inetutils-1.9.4/lib/stdio.in.h:1324:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
_GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - "
data/inetutils-1.9.4/lib/stdio.in.h:1332:12:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#   define vsprintf rpl_vsprintf
data/inetutils-1.9.4/lib/stdio.in.h:1334:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_FUNCDECL_RPL (vsprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1338:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_RPL (vsprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1344:24:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIAS_SYS_CAST (vsprintf, int,
data/inetutils-1.9.4/lib/stdio.in.h:1347:19:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_CXXALIASWARN (vsprintf);
data/inetutils-1.9.4/lib/stdio.in.h:1349:9:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
# undef vsprintf
data/inetutils-1.9.4/lib/stdio.in.h:1351:18:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
_GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - "
data/inetutils-1.9.4/lib/strerror.c:33:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/inetutils-1.9.4/lib/strerror.c:59:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (buf, fmt, n);
data/inetutils-1.9.4/lib/unistd.in.h:249:18:  [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.
_GL_WARN_ON_USE (access, "the access function is a security risk - "
data/inetutils-1.9.4/lib/unistd.in.h:780:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_FUNCDECL_SYS (getlogin, char *, (void));
data/inetutils-1.9.4/lib/unistd.in.h:782:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_CXXALIAS_SYS (getlogin, char *, (void));
data/inetutils-1.9.4/lib/unistd.in.h:783:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_CXXALIASWARN (getlogin);
data/inetutils-1.9.4/lib/unistd.in.h:785:9:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
# undef getlogin
data/inetutils-1.9.4/lib/unistd.in.h:787:18:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_WARN_ON_USE (getlogin, "getlogin is unportable - "
data/inetutils-1.9.4/lib/vasnprintf.c:162:20:  [4] (buffer) swprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#  define SNPRINTF swprintf
data/inetutils-1.9.4/lib/vasnprintf.c:180:21:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define SNPRINTF snprintf
data/inetutils-1.9.4/lib/vasnprintf.c:182:11:  [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.
#   undef snprintf
data/inetutils-1.9.4/lib/vasnprintf.c:184:21:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#   define SNPRINTF _snprintf
data/inetutils-1.9.4/lib/vasnprintf.c:188:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define SNPRINTF snprintf
data/inetutils-1.9.4/lib/vasnprintf.c:190:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  undef snprintf
data/inetutils-1.9.4/lib/vasnprintf.c:194:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/inetutils-1.9.4/lib/vasnprintf.c:4256:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf ((char *) p, decimal_format, exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:4264:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf (expbuf, decimal_format, exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:4449:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf ((char *) p, decimal_format, exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:4457:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf (expbuf, decimal_format, exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:4969:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, arg);                    \
data/inetutils-1.9.4/lib/vasnprintf.c:4972:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], arg);       \
data/inetutils-1.9.4/lib/vasnprintf.c:4975:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
data/inetutils-1.9.4/lib/version-etc.c:84:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (stream, version_etc_copyright, _("(C)"), COPYRIGHT_YEAR);
data/inetutils-1.9.4/lib/vsnprintf.c:39:1:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
vsnprintf (char *str, size_t size, const char *format, va_list args)
data/inetutils-1.9.4/lib/wchar.in.h:595:19:  [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.
_GL_FUNCDECL_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/inetutils-1.9.4/lib/wchar.in.h:597:19:  [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.
_GL_CXXALIAS_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/inetutils-1.9.4/lib/wchar.in.h:598:19:  [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.
_GL_CXXALIASWARN (wcscpy);
data/inetutils-1.9.4/lib/wchar.in.h:600: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.
# undef wcscpy
data/inetutils-1.9.4/lib/wchar.in.h:602:18:  [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.
_GL_WARN_ON_USE (wcscpy, "wcscpy is unportable - "
data/inetutils-1.9.4/lib/wchar.in.h:664:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_FUNCDECL_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/inetutils-1.9.4/lib/wchar.in.h:666:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIAS_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/inetutils-1.9.4/lib/wchar.in.h:667:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIASWARN (wcscat);
data/inetutils-1.9.4/lib/wchar.in.h:669:9:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
# undef wcscat
data/inetutils-1.9.4/lib/wchar.in.h:671:18:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_WARN_ON_USE (wcscat, "wcscat is unportable - "
data/inetutils-1.9.4/libinetutils/argcv.c:162:7:  [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 (buffer, argv[i]);
data/inetutils-1.9.4/libinetutils/kcmd.c:169: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 (host_save, fqdn);
data/inetutils-1.9.4/libinetutils/kcmd.c:176: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 (host_save, ai->ai_canonname);
data/inetutils-1.9.4/libinetutils/kcmd.c:192: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 (host_save, hp->h_name);
data/inetutils-1.9.4/libinetutils/kcmd.c:210:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (p, "%.*s/%s", (int) (host - *ahost - 1), *ahost, host_save);
data/inetutils-1.9.4/libinetutils/kerberos5.c:119: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 (tmpserver, sname);	/* Non-empty prefix.  */
data/inetutils-1.9.4/libinetutils/kerberos5.c:121:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (tmpserver, "%s/%s", SERVICE, sname + (p ? 1 : 0));
data/inetutils-1.9.4/libinetutils/kerberos5.c:243:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (servername, "%s", server);	/* Non-empty prefix.  */
data/inetutils-1.9.4/libinetutils/kerberos5.c:245:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (servername, "%s/%s", SERVICE,
data/inetutils-1.9.4/libinetutils/shishi.c:130: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 (tmpserver, sname);	/* Non-empty prefix.  */
data/inetutils-1.9.4/libinetutils/shishi.c:132:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (tmpserver, "%s/%s", SERVICE, sname + (p ? 1 : 0));
data/inetutils-1.9.4/libinetutils/shishi.c:333:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (servername, "%s", server);	/* Non-empty prefix.  */
data/inetutils-1.9.4/libinetutils/shishi.c:335:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (servername, "%s/%s", SERVICE,
data/inetutils-1.9.4/libinetutils/ttymsg.c:95: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 (device, PATH_TTY_PFX);
data/inetutils-1.9.4/libinetutils/ttymsg.c:96: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 (device, line);
data/inetutils-1.9.4/libls/ls.c:564:8:  [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 (np->user, user);
data/inetutils-1.9.4/libls/ls.c:566:8:  [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 (np->group, group);
data/inetutils-1.9.4/libls/ls.c:574: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 (np->flags, flags);
data/inetutils-1.9.4/libls/stat_flags.c:58: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(string, prefix);				\
data/inetutils-1.9.4/libls/stat_flags.c:59:2:  [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(string, s);					\
data/inetutils-1.9.4/libtelnet/enc_des.c:588:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (lbuf, "%s_IV", type);
data/inetutils-1.9.4/libtelnet/enc_des.c:593:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (lbuf, "%s_IV_OK", type);
data/inetutils-1.9.4/libtelnet/enc_des.c:598:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (lbuf, "%s_IV_BAD", type);
data/inetutils-1.9.4/libtelnet/forward.c:114: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 (remote_host, hp->h_name);
data/inetutils-1.9.4/libtelnet/kerberos5.c:82:40:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define DEBUG(c) if (auth_debug_mode) printf c
data/inetutils-1.9.4/libtelnet/kerberos5.c:239: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 (rdata.data, dest_realm);
data/inetutils-1.9.4/libtelnet/shishi.c:60:40:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define DEBUG(c) if (auth_debug_mode) printf c
data/inetutils-1.9.4/libtelnet/shishi.c:181: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 (tmp, RemoteHostName);
data/inetutils-1.9.4/libtelnet/shishi.c:183:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (tmp, "host/%s", RemoteHostName);
data/inetutils-1.9.4/libtelnet/shishi.c:478:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (server, "host/%s", LocalHostName);
data/inetutils-1.9.4/libtelnet/shishi.c:500:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf (server, "host/%s", p);
data/inetutils-1.9.4/src/hostname.c:276:11:  [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 (aliases, ht->h_aliases[i]);
data/inetutils-1.9.4/src/hostname.c:339:11:  [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 (addresses, address);
data/inetutils-1.9.4/src/hostname.c:414:8:  [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 (buffer, "%s", name) == 1)
data/inetutils-1.9.4/src/inetd.c:483:7:  [4] (shell) execv:
  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.
      execv (sep->se_server, sep->se_argv);
data/inetutils-1.9.4/src/inetd.c:1432:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			  sprintf (path, "%s/%s", config_files[i],
data/inetutils-1.9.4/src/logger.c:161: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 (sockaddr.sunix.sun_path, host);
data/inetutils-1.9.4/src/rcp.c:834:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (buf, "D%04o %d %s\n", (int) statp->st_mode & RCP_MODEMASK, 0, last);
data/inetutils-1.9.4/src/rcp.c:857:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (buf, "%s/%s", name, dp->d_name);
data/inetutils-1.9.4/src/rcp.c:1201:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf (xbp, "%s%s", "-x ", bp);
data/inetutils-1.9.4/src/rcp.c:1354: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, ap);
data/inetutils-1.9.4/src/rcp.c:1373: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 (fp, fmt, ap);
data/inetutils-1.9.4/src/rcp.c:1382:7:  [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, ap);
data/inetutils-1.9.4/src/rcp.c:1457:7:  [4] (shell) execl:
  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.
      execl (PATH_BSHELL, "sh", "-c", s, NULL);
data/inetutils-1.9.4/src/rexecd.c:378:15:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
      namep = crypt (pass, pw_password);
data/inetutils-1.9.4/src/rexecd.c:610: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, PATH_DEFPATH);
data/inetutils-1.9.4/src/rexecd.c:653:3:  [4] (shell) execl:
  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.
  execl (pwd->pw_shell, cp, "-c", cmdbuf, NULL);
data/inetutils-1.9.4/src/rexecd.c:673:7:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  n = vsnprintf (buf + 1, sizeof buf - 1, fmt, ap);
data/inetutils-1.9.4/src/rlogin.c:1421: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, ap);
data/inetutils-1.9.4/src/rlogind.c:1126:7:  [4] (shell) execle:
  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.
      execle (path_login, "login", "-p", "-r", ap->hostname,
data/inetutils-1.9.4/src/rlogind.c:1137:7:  [4] (shell) execle:
  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.
      execle (path_login, "login", "-p", "-r", ap->hostname,
data/inetutils-1.9.4/src/rlogind.c:1144:7:  [4] (shell) execle:
  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.
      execle (path_login, "login", "-p", "-h", ap->hostname, "-f",
data/inetutils-1.9.4/src/rlogind.c:1152:7:  [4] (shell) execle:
  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.
      execle (path_login, "login", "-p", "-r", ap->hostname,
data/inetutils-1.9.4/src/rlogind.c:1156:7:  [4] (shell) execle:
  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.
      execle (path_login, "login", "-p", "-r", ap->hostname,
data/inetutils-1.9.4/src/rlogind.c:1162:7:  [4] (shell) execle:
  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.
      execle (path_login, "login", "-p", "-h", ap->hostname,
data/inetutils-1.9.4/src/rlogind.c:1807: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 (buf, prefix);
data/inetutils-1.9.4/src/rlogind.c:2133:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf (buf2, sizeof (buf2) - 1, msg, ap);
data/inetutils-1.9.4/src/rsh.c:283:7:  [4] (shell) execv:
  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.
      execv (PATH_RLOGIN, argv);
data/inetutils-1.9.4/src/rsh.c:384:4:  [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 (term, args);
data/inetutils-1.9.4/src/rsh.c:799: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, ap);
data/inetutils-1.9.4/src/rsh.c:819: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 (p, *ap);
data/inetutils-1.9.4/src/rsh.c:820:16:  [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).
      for (p = strcpy (p, *ap); *p; ++p);
data/inetutils-1.9.4/src/rshd.c:799: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 (remotehost, hostname);
data/inetutils-1.9.4/src/rshd.c:1502:23:  [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 (pwd->pw_uid && !access (PATH_NOLOGIN, F_OK))
data/inetutils-1.9.4/src/rshd.c:1954:5:  [4] (shell) execl:
  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.
    execl (pwd->pw_shell, cp, "-c", cmdbuf + 3, NULL);
data/inetutils-1.9.4/src/rshd.c:1957:5:  [4] (shell) execl:
  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.
    execl (pwd->pw_shell, cp, "-c", cmdbuf, NULL);
data/inetutils-1.9.4/src/rshd.c:1988:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf (bp, sizeof (buf) - 1, fmt, ap);
data/inetutils-1.9.4/src/syslogd.c:127:53:  [4] (shell) system:
  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.
#  warning Discarding faulty LOG_MAKEPRI defined in system header file.
data/inetutils-1.9.4/src/syslogd.c:1044: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 (oldlist[count], p);
data/inetutils-1.9.4/src/syslogd.c:1308:8:  [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 (f->f_prevline, msg);
data/inetutils-1.9.4/src/syslogd.c:2514: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 (stdout, fmt, ap);
data/inetutils-1.9.4/src/tftp.c:403: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 (line, arg0);
data/inetutils-1.9.4/src/tftp.c:530: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 (mode, newmode);
data/inetutils-1.9.4/src/tftp.c:626: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 (cp, tail (argv[n]));
data/inetutils-1.9.4/src/tftp.c:1251: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 (cp, mode);
data/inetutils-1.9.4/src/tftp.c:1299: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 (tp->th_msg, pe->e_msg);
data/inetutils-1.9.4/src/tftpd.c:608:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf (pathname, "%s/%s", dirp->name, filename);
data/inetutils-1.9.4/src/tftpd.c:867: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 (tp->th_msg, pe->e_msg);
data/inetutils-1.9.4/src/traceroute.c:195:4:  [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 (opt_gateways, arg);
data/inetutils-1.9.4/src/uucpd.c:236:17:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
      xpasswd = crypt (passwd, pw->pw_passwd);
data/inetutils-1.9.4/src/uucpd.c:254:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (Username, "USER=%s", user);
data/inetutils-1.9.4/src/uucpd.c:255:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (Logname, "LOGNAME=%s", user);
data/inetutils-1.9.4/src/uucpd.c:267:3:  [4] (shell) execl:
  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.
  execl (uucico_location, "uucico", NULL);
data/inetutils-1.9.4/src/uucpd.c:413: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 (line, remotehost);
data/inetutils-1.9.4/talk/get_names.c:65:7:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
char *getlogin (void);
data/inetutils-1.9.4/talk/get_names.c:80:18:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
  if ((my_name = getlogin ()) == NULL)
data/inetutils-1.9.4/talkd/acl.c:44:7:  [4] (shell) system:
  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.
  int system;
data/inetutils-1.9.4/talkd/acl.c:132:34:  [4] (shell) system:
  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.
read_acl (char *config_file, int system)
data/inetutils-1.9.4/talkd/acl.c:145:11:  [4] (shell) system:
  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.
      if (system > 0)
data/inetutils-1.9.4/talkd/acl.c:156:7:  [4] (shell) system:
  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.
  if (system < 0)
data/inetutils-1.9.4/talkd/acl.c:277:21:  [4] (shell) system:
  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.
      acl->system = system;
data/inetutils-1.9.4/talkd/acl.c:314:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (filename, "%s/%s", pw->pw_dir, USER_ACL_NAME);
data/inetutils-1.9.4/talkd/acl.c:418:17:  [4] (shell) system:
  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.
	      if (acl->system &&
data/inetutils-1.9.4/talkd/announce.c:59:17:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  lp->size[i] = vsnprintf (lp->line[i], sizeof lp->line[i], fmt, ap);
data/inetutils-1.9.4/talkd/announce.c:142:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (ttypath, "%s/%s", PATH_TTY_PFX, request->r_tty);
data/inetutils-1.9.4/talkd/intalkd.h:66:46:  [4] (shell) system:
  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.
extern void read_acl (char *config_file, int system);
data/inetutils-1.9.4/talkd/process.c:213: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 (ftty, PATH_TTY_PFX);
data/inetutils-1.9.4/talkd/process.c:248:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		      strcpy (tty, uptr->ut_line);
data/inetutils-1.9.4/telnet/authenc.c:105:16:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
  extern char *getpass ();
data/inetutils-1.9.4/telnet/authenc.c:119:13:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
      res = getpass (prompt);
data/inetutils-1.9.4/telnet/commands.c:150: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 (saveline, line);	/* save for shell command */
data/inetutils-1.9.4/telnet/commands.c:1599:4:  [4] (shell) execl:
  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.
	  execl (shellp, shellname, "-c", &saveline[1], NULL);
data/inetutils-1.9.4/telnet/commands.c:1601:4:  [4] (shell) execl:
  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.
	  execl (shellp, shellname, NULL);
data/inetutils-1.9.4/telnet/commands.c:1911:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (cp, "%s%s", hostname, cp2);
data/inetutils-1.9.4/telnet/main.c:292: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 (transcom, arg);
data/inetutils-1.9.4/telnet/tn3270.c:449: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 (transcom, argv[1]);
data/inetutils-1.9.4/telnet/tn3270.c:453:7:  [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 (transcom, argv[i]);
data/inetutils-1.9.4/telnet/types.h:60:7:  [4] (shell) system:
  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.
  int system,			/* what the current time is */
data/inetutils-1.9.4/telnetd/pty.c:134:3:  [4] (shell) execv:
  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.
  execv (argv[0], argv);
data/inetutils-1.9.4/telnetd/telnetd.c:776:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (im, "%s%s %s%s",
data/inetutils-1.9.4/telnetd/telnetd.h:88:7:  [4] (shell) system:
  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.
  int system;			/* what the current time is */
data/inetutils-1.9.4/telnetd/telnetd.h:100:42:  [4] (shell) system:
  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.
#define settimer(x)	(clocks.x = ++clocks.system)
data/inetutils-1.9.4/telnetd/utility.c:211:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  ret = vsnprintf (nfrontp, remaining, format, args);
data/inetutils-1.9.4/telnetd/utility.c:933: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 (debug_fp, fmt, ap);
data/inetutils-1.9.4/tests/addrpeek.c:97:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  len = snprintf (answer, sizeof (answer),
data/inetutils-1.9.4/whois/whois.c:439:2:  [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 (buf, flags);
data/inetutils-1.9.4/whois/whois.c:445:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf, "AS %s", query + 2);	/* fix query for ARIN */
data/inetutils-1.9.4/whois/whois.c:447:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf, "--machine %s", query);	/* machine readable output */
data/inetutils-1.9.4/whois/whois.c:450:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf, "domain %s", query);	/* ask for a domain */
data/inetutils-1.9.4/whois/whois.c:455:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s/e", query);	/* ask for english text */
data/inetutils-1.9.4/whois/whois.c:457:2:  [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 (buf, query);
data/inetutils-1.9.4/whois/whois.c:460:5:  [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 (buf, query);
data/inetutils-1.9.4/whois/whois.c:504:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	  if (sscanf (buf, REFERTO_FORMAT, nh, np, nq) == 3)
data/inetutils-1.9.4/whois/whois.c:538: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 (temp + 1, query);
data/inetutils-1.9.4/whois/whois.c:663: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, ap);
data/inetutils-1.9.4/whois/whois.c:675: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, ap);
data/inetutils-1.9.4/ftp/cmds.c:1675:15:  [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.
      shell = getenv ("SHELL");
data/inetutils-1.9.4/ftp/ruserpass.c:122: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.
  hdir = getenv ("HOME");
data/inetutils-1.9.4/ftp/ruserpass.c:129:13:  [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.
    netrc = getenv ("NETRC");
data/inetutils-1.9.4/ftpd/ftpd.c:689:11:  [3] (misc) chroot:
  chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22).
  Make sure the program immediately chdir("/"), closes file descriptors, and
  drops root privileges, and that all necessary files (and no more!) are in
  the new root.
      if (chroot (pcred->rootdir) < 0 || chdir (pcred->homedir) < 0)
data/inetutils-1.9.4/ftpd/ftpd.c:697:11:  [3] (misc) chroot:
  chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22).
  Make sure the program immediately chdir("/"), closes file descriptors, and
  drops root privileges, and that all necessary files (and no more!) are in
  the new root.
      if (chroot (pcred->rootdir) < 0 || chdir (pcred->homedir) < 0)
data/inetutils-1.9.4/lib/argp-help.c:162: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 *var = getenv ("ARGP_HELP_FMT");
data/inetutils-1.9.4/lib/fnmatch_loop.c:209:33:  [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.
              posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/inetutils-1.9.4/lib/fnmatch_loop.c:999:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/inetutils-1.9.4/lib/fnmatch_loop.c:1052:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1;
data/inetutils-1.9.4/lib/getopt.c:101: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.
extern char *getenv ();
data/inetutils-1.9.4/lib/getopt.c:237:47:  [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.
  d->__posixly_correct = posixly_correct || !!getenv ("POSIXLY_CORRECT");
data/inetutils-1.9.4/lib/getopt.c:1187:1:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt (int argc, char *const *argv, const char *optstring)
data/inetutils-1.9.4/lib/getopt.c:1222:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt (argc, argv, "abc:d:0123456789");
data/inetutils-1.9.4/lib/getopt.in.h:59:9:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# undef getopt
data/inetutils-1.9.4/lib/getopt.in.h:60:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# undef getopt_long
data/inetutils-1.9.4/lib/getopt.in.h:70:10:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt __GETOPT_ID (getopt)
data/inetutils-1.9.4/lib/getopt.in.h:70:30:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt __GETOPT_ID (getopt)
data/inetutils-1.9.4/lib/getopt.in.h:71:10:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt_long __GETOPT_ID (getopt_long)
data/inetutils-1.9.4/lib/getopt.in.h:71:35:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt_long __GETOPT_ID (getopt_long)
data/inetutils-1.9.4/lib/getopt.in.h:232:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
data/inetutils-1.9.4/lib/getopt.in.h:236:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv,
data/inetutils-1.9.4/lib/getopt1.c:40:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long (int argc, char *__getopt_argv_const *argv, const char *options,
data/inetutils-1.9.4/lib/getopt1.c:105:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/inetutils-1.9.4/lib/glob.c:569:34:  [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 *home_dir = getenv ("HOME");
data/inetutils-1.9.4/lib/glob.c:579:40:  [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 *home_drive = getenv ("HOMEDRIVE");
data/inetutils-1.9.4/lib/glob.c:580:39:  [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 *home_path = getenv ("HOMEPATH");
data/inetutils-1.9.4/lib/glthread/lock.c:639:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:657:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:776:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:797:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:827:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&lock->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:851:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:880:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&lock->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:895:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:957:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:979:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection (&lock->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:1026:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
          InitializeCriticalSection (&once_control->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:1027:11:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
          EnterCriticalSection (&once_control->lock);
data/inetutils-1.9.4/lib/glthread/lock.c:1046:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&once_control->lock);
data/inetutils-1.9.4/lib/localcharset.c:138:13:  [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.
      dir = getenv ("CHARSETALIASDIR");
data/inetutils-1.9.4/lib/localcharset.c:414:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      locale = getenv ("LC_ALL");
data/inetutils-1.9.4/lib/localcharset.c:417:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          locale = getenv ("LC_CTYPE");
data/inetutils-1.9.4/lib/localcharset.c:419:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            locale = getenv ("LANG");
data/inetutils-1.9.4/lib/localcharset.c:475:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      locale = getenv ("LC_ALL");
data/inetutils-1.9.4/lib/localcharset.c:478:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          locale = getenv ("LC_CTYPE");
data/inetutils-1.9.4/lib/localcharset.c:480:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            locale = getenv ("LANG");
data/inetutils-1.9.4/lib/localcharset.c:536:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  locale = getenv ("LC_ALL");
data/inetutils-1.9.4/lib/localcharset.c:539:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      locale = getenv ("LC_CTYPE");
data/inetutils-1.9.4/lib/localcharset.c:541: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.
        locale = getenv ("LANG");
data/inetutils-1.9.4/lib/secure_getenv.c:39: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.
  return getenv (name);
data/inetutils-1.9.4/lib/setenv.c:372:19:  [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 *tmp = getenv (name);
data/inetutils-1.9.4/lib/stdlib.in.h:558:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (random, long, (void));
data/inetutils-1.9.4/lib/stdlib.in.h:560:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS (random, long, (void));
data/inetutils-1.9.4/lib/stdlib.in.h:561:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (random);
data/inetutils-1.9.4/lib/stdlib.in.h:563:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef random
data/inetutils-1.9.4/lib/stdlib.in.h:565:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (random, "random is unportable - "
data/inetutils-1.9.4/lib/stdlib.in.h:572:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (srandom, void, (unsigned int seed));
data/inetutils-1.9.4/lib/stdlib.in.h:574:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS (srandom, void, (unsigned int seed));
data/inetutils-1.9.4/lib/stdlib.in.h:575:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (srandom);
data/inetutils-1.9.4/lib/stdlib.in.h:577:9:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef srandom
data/inetutils-1.9.4/lib/stdlib.in.h:579:18:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (srandom, "srandom is unportable - "
data/inetutils-1.9.4/lib/stdlib.in.h:603:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1)));
data/inetutils-1.9.4/lib/stdlib.in.h:605:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS (setstate, char *, (char *arg_state));
data/inetutils-1.9.4/lib/stdlib.in.h:606:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (setstate);
data/inetutils-1.9.4/lib/stdlib.in.h:608:9:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef setstate
data/inetutils-1.9.4/lib/stdlib.in.h:610:18:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (setstate, "setstate is unportable - "
data/inetutils-1.9.4/lib/stdlib.in.h:756:12:  [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.
#   define realpath rpl_realpath
data/inetutils-1.9.4/lib/stdlib.in.h:758:19:  [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.
_GL_FUNCDECL_RPL (realpath, char *, (const char *name, char *resolved)
data/inetutils-1.9.4/lib/stdlib.in.h:760:19:  [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.
_GL_CXXALIAS_RPL (realpath, char *, (const char *name, char *resolved));
data/inetutils-1.9.4/lib/stdlib.in.h:763:19:  [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.
_GL_FUNCDECL_SYS (realpath, char *, (const char *name, char *resolved)
data/inetutils-1.9.4/lib/stdlib.in.h:766:19:  [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.
_GL_CXXALIAS_SYS (realpath, char *, (const char *name, char *resolved));
data/inetutils-1.9.4/lib/stdlib.in.h:768:19:  [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.
_GL_CXXALIASWARN (realpath);
data/inetutils-1.9.4/lib/stdlib.in.h:770: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.
# undef realpath
data/inetutils-1.9.4/lib/stdlib.in.h:772: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.
_GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module "
data/inetutils-1.9.4/libls/ls.c:140: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.
      p = getenv ("COLUMNS");
data/inetutils-1.9.4/libls/ls.c:157:16:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((ch = getopt (argc, argv, "1ACFLRSTWacdfgiklmnopqrstux")) != -1)
data/inetutils-1.9.4/libtelnet/kerberos5.c:140:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  ccname = getenv (KRB5_ENV_CCNAME);
data/inetutils-1.9.4/src/logger.c:514:13:  [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.
      tag = getenv ("USER");
data/inetutils-1.9.4/src/rlogin.c:419: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.
		((p = getenv ("TERM")) ? p : "network"));
data/inetutils-1.9.4/src/rlogin.c:425: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.
		((p = getenv ("TERM")) ? p : "network"), term_speed);
data/inetutils-1.9.4/src/tftpd.c:373:11:  [3] (misc) chroot:
  chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22).
  Make sure the program immediately chdir("/"), closes file descriptors, and
  drops root privileges, and that all necessary files (and no more!) are in
  the new root.
      if (chroot (chrootdir) || chdir ("/"))
data/inetutils-1.9.4/telnet/commands.c:118: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.
extern char *getenv (const char *);
data/inetutils-1.9.4/telnet/commands.c:1590: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.
	shellp = getenv ("SHELL");
data/inetutils-1.9.4/telnet/commands.c:2800: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.
      user = getenv ("USER");
data/inetutils-1.9.4/telnet/commands.c:3081:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      const char *home = getenv ("HOME");
data/inetutils-1.9.4/telnetd/utility.c:1737: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.
      return getenv ("USER") ? xstrdup (getenv ("USER")) : xstrdup ("");
data/inetutils-1.9.4/telnetd/utility.c:1737:41:  [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.
      return getenv ("USER") ? xstrdup (getenv ("USER")) : xstrdup ("");
data/inetutils-1.9.4/tests/tcpget.c:61:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((opt = getopt (argc, argv, "t:")) != -1)
data/inetutils-1.9.4/whois/whois.c:261:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	  if (!(server = getenv ("WHOIS_SERVER")))
data/inetutils-1.9.4/whois/whois.c:281:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv ("WHOIS_HIDE"))
data/inetutils-1.9.4/whois/whois.c:453:20:  [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 *lang = getenv ("LANG");	/* not a perfect check, but... */
data/inetutils-1.9.4/ftp/cmds.c:266:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	port = atoi (argv[2]);
data/inetutils-1.9.4/ftp/cmds.c:306:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (typename, "ascii"), type = TYPE_A;
data/inetutils-1.9.4/ftp/cmds.c:308:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (formname, "non-print"), form = FORM_N;
data/inetutils-1.9.4/ftp/cmds.c:309:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (modename, "stream"), mode = MODE_S;
data/inetutils-1.9.4/ftp/cmds.c:310:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (structname, "file"), stru = STRU_F;
data/inetutils-1.9.4/ftp/cmds.c:354:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	  strcpy (typename, "binary");
data/inetutils-1.9.4/ftp/cmds.c:1044: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 temp[sizeof PATH_TMP + sizeof "XXXXXX"];
data/inetutils-1.9.4/ftp/cmds.c:1047:7:  [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 (temp, "XXXXXX");
data/inetutils-1.9.4/ftp/cmds.c:1049:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
      fd = mkstemp (temp);
data/inetutils-1.9.4/ftp/cmds.c:1052: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).
	fd = open (temp, O_CREAT | O_EXCL | O_RDWR, 0600);
data/inetutils-1.9.4/ftp/cmds.c:1078:15:  [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).
      ftemp = fopen (temp, "r");
data/inetutils-1.9.4/ftp/cmds.c:1377:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      val = atoi (argv[1]);
data/inetutils-1.9.4/ftp/cmds.c:1599: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, mode[1], *dest;
data/inetutils-1.9.4/ftp/cmds.c:1665: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 shellnam[40], *shell, *namep;
data/inetutils-1.9.4/ftp/cmds.c:1726: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 acct[80];
data/inetutils-1.9.4/ftp/cmds.c:1908: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[BUFSIZ];		/* must be >= sizeof(line) */
data/inetutils-1.9.4/ftp/cmds.c:2020: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 input[BUFSIZ];
data/inetutils-1.9.4/ftp/cmds.c:2075: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 acct[50], *ap;
data/inetutils-1.9.4/ftp/cmds.c:2364: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 *tp[9], *te[9];
data/inetutils-1.9.4/ftp/ftp.c:118:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char ia[INET6_ADDRSTRLEN];
data/inetutils-1.9.4/ftp/ftp.c:119:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char portstr[10];
data/inetutils-1.9.4/ftp/ftp.c:135: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 hostnamebuf[80];
data/inetutils-1.9.4/ftp/ftp.c: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 tmp[80];
data/inetutils-1.9.4/ftp/ftp.c:399:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	  strcpy (line, "$init");
data/inetutils-1.9.4/ftp/ftp.c:464:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char reply_string[BUFSIZ];	/* last line of previous reply */
data/inetutils-1.9.4/ftp/ftp.c:673: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).
      fin = fopen (local, "r");
data/inetutils-1.9.4/ftp/ftp.c:1019:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fout = fopen (local, lmode);
data/inetutils-1.9.4/ftp/ftp.c:1669:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nti[sizeof (ntin)];
data/inetutils-1.9.4/ftp/ftp.c:1670:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nto[sizeof (ntout)];
data/inetutils-1.9.4/ftp/ftp.c:1979: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[BUFSIZ];
data/inetutils-1.9.4/ftp/ftp.c:1987:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "%c%c%c", IAC, IP, IAC);
data/inetutils-1.9.4/ftp/ftp_var.h:88: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.
FTP_EXTERN char pasv[64];	/* passive port for proxy data connection */
data/inetutils-1.9.4/ftp/ftp_var.h:94: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.
FTP_EXTERN char ntin[17];	/* input translation table */
data/inetutils-1.9.4/ftp/ftp_var.h:95: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.
FTP_EXTERN char ntout[17];	/* output translation table */
data/inetutils-1.9.4/ftp/ftp_var.h:98: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.
FTP_EXTERN char typename[32];	/* name of file transfer type */
data/inetutils-1.9.4/ftp/ftp_var.h:101: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.
FTP_EXTERN char structname[32];	/* name of file transfer structure */
data/inetutils-1.9.4/ftp/ftp_var.h:103: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.
FTP_EXTERN char formname[32];	/* name of file transfer format */
data/inetutils-1.9.4/ftp/ftp_var.h:105: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.
FTP_EXTERN char modename[32];	/* name of file transfer mode */
data/inetutils-1.9.4/ftp/ftp_var.h:107: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.
FTP_EXTERN char bytename[32];	/* local byte size in ascii */
data/inetutils-1.9.4/ftp/ftp_var.h:125: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.
FTP_EXTERN char *margv[MAXMARGV]; /* args parsed from input line */
data/inetutils-1.9.4/ftp/ftp_var.h:146: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 mac_name[9];		/* macro name */
data/inetutils-1.9.4/ftp/ftp_var.h:153: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.
FTP_EXTERN char macbuf[4096];
data/inetutils-1.9.4/ftp/main.c:288: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 *xargv[5];
data/inetutils-1.9.4/ftp/ruserpass.c:87:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char tokval[BUFSIZ];
data/inetutils-1.9.4/ftp/ruserpass.c:116: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 *hdir, buf[BUFSIZ], *tmp;
data/inetutils-1.9.4/ftp/ruserpass.c:134:11:  [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).
  cfile = fopen (buf, "r");
data/inetutils-1.9.4/ftpd/auth.c:106:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy (pcred->message,
data/inetutils-1.9.4/ftpd/conf.c:38: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 *cp, line[LINE_MAX];
data/inetutils-1.9.4/ftpd/conf.c:39:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fp = fopen (name, "r");
data/inetutils-1.9.4/ftpd/conf.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 *p, line[BUFSIZ];
data/inetutils-1.9.4/ftpd/conf.c:70: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 (filename, "r");
data/inetutils-1.9.4/ftpd/ftpcmd.c:110:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char cbuf[512];           /* Command Buffer.  */
data/inetutils-1.9.4/ftpd/ftpcmd.c:1230: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/inetutils-1.9.4/ftpd/ftpcmd.c:1417: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 yymsgbuf[128];
data/inetutils-1.9.4/ftpd/ftpcmd.c:1791: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.
			  retrieve ((char *) 0, (yyvsp[-1].s));
data/inetutils-1.9.4/ftpd/ftpcmd.c:2275:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char p[8];
data/inetutils-1.9.4/ftpd/ftpcmd.c:2337:6:  [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 (&data_dest, res->ai_addr,
data/inetutils-1.9.4/ftpd/ftpcmd.c:2347:6:  [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 (&data_dest, &his_addr,
data/inetutils-1.9.4/ftpd/ftpcmd.c:2361:6:  [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 (&data_dest, &his_addr,
data/inetutils-1.9.4/ftpd/ftpcmd.c:2543:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char a[INET6_ADDRSTRLEN], p[8];
data/inetutils-1.9.4/ftpd/ftpcmd.c:2579:8:  [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 (&data_dest, res->ai_addr, res->ai_addrlen);
data/inetutils-1.9.4/ftpd/ftpcmd.c:2592:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char a[INET6_ADDRSTRLEN], p[8];
data/inetutils-1.9.4/ftpd/ftpcmd.c:2641: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 (&data_dest, res->ai_addr,
data/inetutils-1.9.4/ftpd/ftpcmd.c:2656:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char a[INET6_ADDRSTRLEN], p[8];
data/inetutils-1.9.4/ftpd/ftpcmd.c:2706: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 (&data_dest, res->ai_addr,
data/inetutils-1.9.4/ftpd/ftpcmd.c:3559:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	      yylval.i = atoi (cp);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3591: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).
		  yylval.i = atoi (cp);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3853: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).
	fin = fopen (filename, "r");
data/inetutils-1.9.4/ftpd/ftpd.c:142:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char tmpline[7];		/* Temp buffer use in OOB.  */
data/inetutils-1.9.4/ftpd/ftpd.c:143:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char addrstr[NI_MAXHOST];	/* Host name or address string.  */
data/inetutils-1.9.4/ftpd/ftpd.c:144:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char portstr[8];		/* Numeric port as string.  */
data/inetutils-1.9.4/ftpd/ftpd.c:175:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char curname[10];	/* Current USER name.  */
data/inetutils-1.9.4/ftpd/ftpd.c:176:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char ttyline[20];	/* Line to log in utmp.  */
data/inetutils-1.9.4/ftpd/ftpd.c:189: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 bufs[NUM_SIMUL_OFF_TO_STRS][80];
data/inetutils-1.9.4/ftpd/ftpd.c:190: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 (*next_buf)[80] = bufs;
data/inetutils-1.9.4/ftpd/ftpd.c:196: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 (*next_buf, "%lld", (long long int) off);
data/inetutils-1.9.4/ftpd/ftpd.c:198: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 (*next_buf, "%ld", (long) off);
data/inetutils-1.9.4/ftpd/ftpd.c:200: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 (*next_buf, "%d", (int) off);
data/inetutils-1.9.4/ftpd/ftpd.c:217:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char proctitle[LINE_MAX];	/* initial part of title */
data/inetutils-1.9.4/ftpd/ftpd.c:406: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).
      timeout = atoi (arg);
data/inetutils-1.9.4/ftpd/ftpd.c:412:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      maxtimeout = atoi (arg);
data/inetutils-1.9.4/ftpd/ftpd.c:661: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 (string, s, len);
data/inetutils-1.9.4/ftpd/ftpd.c:977: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).
      fin = fopen (name, "r"), closefunc = fclose;
data/inetutils-1.9.4/ftpd/ftpd.c:982: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 line[BUFSIZ];
data/inetutils-1.9.4/ftpd/ftpd.c:1080: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).
  fout = fopen (name, mode);
data/inetutils-1.9.4/ftpd/ftpd.c:1220: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 sizebuf[32];
data/inetutils-1.9.4/ftpd/ftpd.c:1586: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 line[LINE_MAX];
data/inetutils-1.9.4/ftpd/ftpd.c:2097:4:  [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 (cp, "%d", count);
data/inetutils-1.9.4/ftpd/pam.c:266: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 tty_name[strlen (TTY_FORMAT) + strlen ("9999999")];
data/inetutils-1.9.4/ftpd/popen.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 **pop, *argv[MAX_ARGC], *gargv[MAX_GARGC];
data/inetutils-1.9.4/ftpd/popen.c:145:57:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
  pid = (strcmp (gargv[0], "/bin/ls") == 0) ? fork () : vfork ();
data/inetutils-1.9.4/ftpd/popen.c:148:17:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
  switch (pid = vfork ())
data/inetutils-1.9.4/ftpd/server_mode.c:68: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[INET6_ADDRSTRLEN];
data/inetutils-1.9.4/ftpd/server_mode.c:69: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[NI_MAXHOST];
data/inetutils-1.9.4/ftpd/server_mode.c:119: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 portstr[8];
data/inetutils-1.9.4/ftpd/server_mode.c:206:20:  [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 *pid_fp = fopen (pidfile, "w");
data/inetutils-1.9.4/ifconfig/changeif.c:83: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[INET_ADDRSTRLEN];
data/inetutils-1.9.4/ifconfig/changeif.c:169: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[INET_ADDRSTRLEN];
data/inetutils-1.9.4/ifconfig/changeif.c:280: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 (&sa->sa_data, ether, sizeof (*ether));
data/inetutils-1.9.4/ifconfig/options.c:479: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 (file, "r");
data/inetutils-1.9.4/ifconfig/printif.c:351: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[IF_FORMAT_FLAGS_BUFSIZE];
data/inetutils-1.9.4/ifconfig/printif.c:1114:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (id, p, q - p);
data/inetutils-1.9.4/ifconfig/printif.c:1148: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 (argv[argc], p, q - p);
data/inetutils-1.9.4/ifconfig/system/linux.c:417: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_PROCNET_DEV, "r");
data/inetutils-1.9.4/ifconfig/system/linux.c:454: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 (stats->name, p, len);
data/inetutils-1.9.4/lib/alloca.c:122: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 align[ALIGN_SIZE];       /* To force sizeof(header).  */
data/inetutils-1.9.4/lib/argp-fmtstream.h:270: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 (__fs->p, __str, __len);
data/inetutils-1.9.4/lib/argp-help.c:208:25:  [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).
                  val = atoi (arg);
data/inetutils-1.9.4/lib/argp-help.c:1914:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/inetutils-1.9.4/lib/argp-parse.c:125:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      _argp_hang = atoi (arg ? arg : "3600");
data/inetutils-1.9.4/lib/at-func.c:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char proc_buf[OPENAT_BUFFER_SIZE];
data/inetutils-1.9.4/lib/btowc.c:31: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[1];
data/inetutils-1.9.4/lib/dirent-private.h:37: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 dir_name_mask[1];
data/inetutils-1.9.4/lib/dirent.in.h:41: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/inetutils-1.9.4/lib/dirname-lgpl.c:81: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 (dir, file, length);
data/inetutils-1.9.4/lib/error.c:176: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 errbuf[1024];
data/inetutils-1.9.4/lib/fcntl.c:56: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 fds_to_close[OPEN_MAX_MAX / CHAR_BIT];
data/inetutils-1.9.4/lib/fcntl.in.h:111:11:  [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).
#   undef open
data/inetutils-1.9.4/lib/fcntl.in.h:112:12:  [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).
#   define open rpl_open
data/inetutils-1.9.4/lib/fcntl.in.h:114:19:  [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).
_GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
data/inetutils-1.9.4/lib/fcntl.in.h:116:19:  [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).
_GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
data/inetutils-1.9.4/lib/fcntl.in.h:118:19:  [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).
_GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
data/inetutils-1.9.4/lib/fcntl.in.h:123:19:  [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).
_GL_CXXALIASWARN (open);
data/inetutils-1.9.4/lib/fcntl.in.h:126: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).
# undef open
data/inetutils-1.9.4/lib/fcntl.in.h:128: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).
_GL_WARN_ON_USE (open, "open is not always POSIX compliant - "
data/inetutils-1.9.4/lib/fdopendir.c:146: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[OPENAT_BUFFER_SIZE];
data/inetutils-1.9.4/lib/filenamecat-lgpl.c:31:47:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
# define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N)))
data/inetutils-1.9.4/lib/fnmatch.c:166:49:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define MEMPCPY(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N)))
data/inetutils-1.9.4/lib/fnmatch.c:209:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[CHAR_CLASS_MAX_LENGTH + 1];
data/inetutils-1.9.4/lib/fnmatch_loop.c:472:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[c1];
data/inetutils-1.9.4/lib/fnmatch_loop.c:693: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.
                                char str[c1];
data/inetutils-1.9.4/lib/fopen-safer.c:33:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fp = fopen (file, mode);
data/inetutils-1.9.4/lib/fopen.c:32: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).
  return fopen (filename, mode);
data/inetutils-1.9.4/lib/fopen.c:86:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open (filename, O_RDONLY);
data/inetutils-1.9.4/lib/fseeko.c:61:19:  [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 *tmp = fopen ("/dev/null", "r");
data/inetutils-1.9.4/lib/ftello.c:76:19:  [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 *tmp = fopen ("/dev/null", "r");
data/inetutils-1.9.4/lib/getaddrinfo.c:253: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 (&sinp->sin6_addr, he->h_addr_list[0], sizeof sinp->sin6_addr);
data/inetutils-1.9.4/lib/getaddrinfo.c:277: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 (&sinp->sin_addr, he->h_addr_list[0], sizeof sinp->sin_addr);
data/inetutils-1.9.4/lib/getcwd-lgpl.c:80:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[4032];
data/inetutils-1.9.4/lib/getcwd.c:128: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 dots[DEEP_NESTING * sizeof ".." + BIG_FILE_NAME_COMPONENT_LENGTH + 1];
data/inetutils-1.9.4/lib/getcwd.c:168: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 big_buffer[BIG_FILE_NAME_LENGTH + 1];
data/inetutils-1.9.4/lib/getcwd.c:345: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 (dotlist + dotlen, d->d_name, _D_ALLOC_NAMLEN (d));
data/inetutils-1.9.4/lib/getcwd.c:381:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              dirp = memcpy (tmp + allocated - (oldsize - dirroom),
data/inetutils-1.9.4/lib/getcwd.c:388: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 (dirp, d->d_name, namlen);
data/inetutils-1.9.4/lib/getdomainname.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 (name, result, result_len);
data/inetutils-1.9.4/lib/getlogin_r.c:84: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 (name, n, nlen + 1);
data/inetutils-1.9.4/lib/getpass.c:99:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  tty = fopen ("/dev/tty", "w+");
data/inetutils-1.9.4/lib/getpass.c:193: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 getpassbuf[PASS_MAX + 1];
data/inetutils-1.9.4/lib/gettext.h: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 msg_ctxt_id[msgctxt_len + msgid_len];
data/inetutils-1.9.4/lib/gettext.h:220: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/inetutils-1.9.4/lib/gettext.h:228: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/inetutils-1.9.4/lib/gettext.h:230: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/inetutils-1.9.4/lib/gettext.h:264: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 msg_ctxt_id[msgctxt_len + msgid_len];
data/inetutils-1.9.4/lib/gettext.h:266: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/inetutils-1.9.4/lib/gettext.h:274: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/inetutils-1.9.4/lib/gettext.h:276: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/inetutils-1.9.4/lib/getusershell.c:93:21:  [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).
      shellstream = fopen (SHELLS_FILE, "r");
data/inetutils-1.9.4/lib/glob.c:105: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 ((d64)->d_name, (d32)->d_name, _D_EXACT_NAMLEN (d32) + 1);           \
data/inetutils-1.9.4/lib/glob.c:322: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 onealt[strlen (pattern) - 1];
data/inetutils-1.9.4/lib/glob.c:588:19:  [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 (mem, home_drive, home_drive_len);
data/inetutils-1.9.4/lib/glob.c:589:19:  [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 (mem + home_drive_len, home_path, home_path_len + 1);
data/inetutils-1.9.4/lib/glob.c:1313: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 *name[64];
data/inetutils-1.9.4/lib/glob.c:1389:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char room [offsetof (struct dirent64, d_name[0])
data/inetutils-1.9.4/lib/inet_ntop.c:127: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/inetutils-1.9.4/lib/inet_ntop.c:130:9:  [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.
  len = sprintf (tmp, "%u.%u.%u.%u", src[0], src[1], src[2], src[3]);
data/inetutils-1.9.4/lib/inet_ntop.c:161: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"], *tp;
data/inetutils-1.9.4/lib/inet_ntop.c:234:19:  [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.
        int len = sprintf (tp, "%x", words[i]);
data/inetutils-1.9.4/lib/localcharset.c:150: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 (file_name, dir, dir_len);
data/inetutils-1.9.4/lib/localcharset.c:153:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (file_name + dir_len + add_slash, base, base_len + 1);
data/inetutils-1.9.4/lib/localcharset.c:171:16:  [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 (file_name,
data/inetutils-1.9.4/lib/localcharset.c:196:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      char buf1[50+1];
data/inetutils-1.9.4/lib/localcharset.c:197:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      char buf2[50+1];
data/inetutils-1.9.4/lib/localcharset.c:412:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char buf[2 + 10 + 1];
data/inetutils-1.9.4/lib/localcharset.c:438:19:  [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, dot, modifier - dot);
data/inetutils-1.9.4/lib/localcharset.c:456: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 (buf, "CP%u", GetACP ());
data/inetutils-1.9.4/lib/localcharset.c:493: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 buf[2 + 10 + 1];
data/inetutils-1.9.4/lib/localcharset.c:521: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 (buf, "CP%u", GetACP ());
data/inetutils-1.9.4/lib/localcharset.c:528: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 buf[2 + 10 + 1];
data/inetutils-1.9.4/lib/localcharset.c:559: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 (buf, dot, modifier - dot);
data/inetutils-1.9.4/lib/localcharset.c:577: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 (buf, "CP%u", cp[0]);
data/inetutils-1.9.4/lib/login_tty.c:58:16:  [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).
    dummy_fd = open (slave_name, O_RDWR);
data/inetutils-1.9.4/lib/malloca.c:59:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char room[HEADER_SIZE - MAGIC_SIZE];
data/inetutils-1.9.4/lib/mbrtowc.c:36:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char internal_state[4];
data/inetutils-1.9.4/lib/mbrtowc.c:60:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[4];
data/inetutils-1.9.4/lib/mempcpy.c:27:19:  [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 (char *) memcpy (dest, src, n) + n;
data/inetutils-1.9.4/lib/mkstemp.c:47:1:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
mkstemp (char *xtemplate)
data/inetutils-1.9.4/lib/nl_langinfo.c:36: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 buf[2 + 10 + 1];
data/inetutils-1.9.4/lib/nl_langinfo.c:61:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  codeset = memcpy (buf, codeset_start, codesetlen);
data/inetutils-1.9.4/lib/nl_langinfo.c:78:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (buf + 2, "%u", GetACP ());
data/inetutils-1.9.4/lib/nl_langinfo.c:79: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.
  codeset = memcpy (buf, "CP", 2);
data/inetutils-1.9.4/lib/nl_langinfo.c:153: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 nlbuf[100];
data/inetutils-1.9.4/lib/nl_langinfo.c:213:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          return (char *) days[item - DAY_1];
data/inetutils-1.9.4/lib/nl_langinfo.c:229:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          return (char *) abdays[item - ABDAY_1];
data/inetutils-1.9.4/lib/nl_langinfo.c:251:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          return (char *) months[item - MON_1];
data/inetutils-1.9.4/lib/nl_langinfo.c:273:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          return (char *) abmonths[item - ABMON_1];
data/inetutils-1.9.4/lib/obstack.c:212: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 (object_base, h->object_base, obj_size);
data/inetutils-1.9.4/lib/obstack.h:156: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 contents[4];             /* objects begin here */
data/inetutils-1.9.4/lib/obstack.h:315:8:  [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 (__o->next_free, where, __len);				      \
data/inetutils-1.9.4/lib/obstack.h:325:8:  [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 (__o->next_free, where, __len);				      \
data/inetutils-1.9.4/lib/obstack.h:453:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy ((h)->next_free, where, (h)->temp.i),				      \
data/inetutils-1.9.4/lib/obstack.h:461:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy ((h)->next_free, where, (h)->temp.i),				      \
data/inetutils-1.9.4/lib/open.c:33: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).
  return open (filename, flags, mode);
data/inetutils-1.9.4/lib/open.c:53:1:  [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).
open (const char *filename, int flags, ...)
data/inetutils-1.9.4/lib/open.c:135:16:  [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/null", flags, mode);
data/inetutils-1.9.4/lib/openat-priv.h:47:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file);
data/inetutils-1.9.4/lib/openat-priv.h: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.
char *openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file);
data/inetutils-1.9.4/lib/openat-proc.c:47:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *
data/inetutils-1.9.4/lib/openat-proc.c:48:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
openat_proc_name (char buf[OPENAT_BUFFER_SIZE], int fd, char const *file)
data/inetutils-1.9.4/lib/openat-proc.c:69:26:  [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).
      int proc_self_fd = open ("/proc/self/fd",
data/inetutils-1.9.4/lib/openat-proc.c:80: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 dotdot_buf[PROC_SELF_FD_NAME_SIZE_BOUND (sizeof "../fd" - 1)];
data/inetutils-1.9.4/lib/openat.c:197:12:  [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).
    return open (file, flags, mode);
data/inetutils-1.9.4/lib/openat.c:200:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[OPENAT_BUFFER_SIZE];
data/inetutils-1.9.4/lib/openat.c:204:27:  [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).
        int open_result = open (proc_file, flags, mode);
data/inetutils-1.9.4/lib/openat.c:241:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      err = open (file, flags, mode);
data/inetutils-1.9.4/lib/openat.c:268:12:  [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).
  int fd = open ("/", O_SEARCH);
data/inetutils-1.9.4/lib/openat.c:272: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[OPENAT_BUFFER_SIZE];
data/inetutils-1.9.4/lib/opendir.c:56: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 dir_name_mask[MAX_PATH + 1 + 1 + 1];
data/inetutils-1.9.4/lib/opendir.c:129: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 (&dirp->entry, &entry, sizeof (WIN32_FIND_DATA));
data/inetutils-1.9.4/lib/openpty.c:101:11:  [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).
  slave = open (slave_name, O_RDWR | O_NOCTTY);
data/inetutils-1.9.4/lib/poll.c:244: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/inetutils-1.9.4/lib/poll.c:293: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/inetutils-1.9.4/lib/posix_openpt.c:55:12:  [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).
  master = open ("/dev/ptc", flags);
data/inetutils-1.9.4/lib/posix_openpt.c:70: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_PTMDEV, O_RDWR);
data/inetutils-1.9.4/lib/posix_openpt.c:93:12:  [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).
  master = open ("/dev/ptmx", flags);
data/inetutils-1.9.4/lib/printf-parse.c:122: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 (memory, a->arg, a->count * sizeof (argument));        \
data/inetutils-1.9.4/lib/printf-parse.c:599: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 (memory, d->dir, d->count * sizeof (DIRECTIVE));
data/inetutils-1.9.4/lib/read-file.c:140:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *stream = fopen (filename, mode);
data/inetutils-1.9.4/lib/readutmp.c:131: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 (file, "r");
data/inetutils-1.9.4/lib/regcomp.c:324:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	      unsigned char buf[MB_LEN_MAX];
data/inetutils-1.9.4/lib/regcomp.c:407:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		  char buf[256];
data/inetutils-1.9.4/lib/regcomp.c:571: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 (errbuf, msg, cpy_size);
data/inetutils-1.9.4/lib/regcomp.c:3170:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 start_name_buf[BRACKET_NAME_BUF_SIZE];
data/inetutils-1.9.4/lib/regcomp.c:3171:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 end_name_buf[BRACKET_NAME_BUF_SIZE];
data/inetutils-1.9.4/lib/regcomp.c:3491:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 char_buf[2];
data/inetutils-1.9.4/lib/regex.h:653:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    const char *_Restrict_ __string, size_t __nmatch,
data/inetutils-1.9.4/lib/regex_internal.c:205: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[MB_LEN_MAX];
data/inetutils-1.9.4/lib/regex_internal.c:208: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[64];
data/inetutils-1.9.4/lib/regex_internal.c:277: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[MB_LEN_MAX];
data/inetutils-1.9.4/lib/regex_internal.c: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 buf[64];
data/inetutils-1.9.4/lib/regex_internal.c:321: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 (pstr->mbs + byte_idx, buf, mbclen);
data/inetutils-1.9.4/lib/regex_internal.c:329: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 (pstr->mbs + byte_idx,
data/inetutils-1.9.4/lib/regex_internal.c:390: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 (pstr->mbs + byte_idx, buf, mbclen);
data/inetutils-1.9.4/lib/regex_internal.c:415: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 (pstr->mbs + byte_idx, buf, mbcdlen);
data/inetutils-1.9.4/lib/regex_internal.c:434: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 (pstr->mbs + byte_idx, p, mbclen);
data/inetutils-1.9.4/lib/regex_internal.c:437:8:  [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 (pstr->mbs + byte_idx, p, mbclen);
data/inetutils-1.9.4/lib/regex_internal.c:733:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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[6];
data/inetutils-1.9.4/lib/regex_internal.c:1037: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 (dest->elems, src->elems, src->nelem * sizeof (Idx));
data/inetutils-1.9.4/lib/regex_internal.c:1131: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->elems, dest->elems + sbase, delta * sizeof (Idx));
data/inetutils-1.9.4/lib/regex_internal.c:1175: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 (dest->elems + id, src1->elems + i1,
data/inetutils-1.9.4/lib/regex_internal.c:1181: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 (dest->elems + id, src2->elems + i2,
data/inetutils-1.9.4/lib/regex_internal.c:1212: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 (dest->elems, src->elems, src->nelem * sizeof (Idx));
data/inetutils-1.9.4/lib/regex_internal.c:1234: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 (dest->elems + sbase, src->elems, (is + 1) * sizeof (Idx));
data/inetutils-1.9.4/lib/regex_internal.c:1262:8:  [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->elems, dest->elems + sbase,
data/inetutils-1.9.4/lib/regex_internal.h:808: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, src, sizeof (bitset_t));
data/inetutils-1.9.4/lib/regexec.c:388:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (__mempcpy (s, string1, length1), string2, length2);
data/inetutils-1.9.4/lib/regexec.c:390:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (s, string1, length1);
data/inetutils-1.9.4/lib/regexec.c:391:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (s + length1, string2, length2);
data/inetutils-1.9.4/lib/regexec.c:1402: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 (fs->stack[num].regs, regs, sizeof (regmatch_t) * nregs);
data/inetutils-1.9.4/lib/regexec.c:1415: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 (regs, fs->stack[num].regs, sizeof (regmatch_t) * nregs);
data/inetutils-1.9.4/lib/regexec.c:1469: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 (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch);
data/inetutils-1.9.4/lib/regexec.c:1579:8:  [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 (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch);
data/inetutils-1.9.4/lib/regexec.c:1590: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 (pmatch, prev_idx_match, sizeof (regmatch_t) * nmatch);
data/inetutils-1.9.4/lib/save-cwd.c:67:15:  [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).
  cwd->desc = open (".", O_SEARCH);
data/inetutils-1.9.4/lib/select.c:47: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 in[FD_SETSIZE / CHAR_BIT];
data/inetutils-1.9.4/lib/select.c:48: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 out[FD_SETSIZE / CHAR_BIT];
data/inetutils-1.9.4/lib/select.c:253: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 anyfds_in[FD_SETSIZE / CHAR_BIT];
data/inetutils-1.9.4/lib/select.c:410: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 (&handle_rfds, rfds, sizeof (fd_set));
data/inetutils-1.9.4/lib/select.c:411: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 (&handle_wfds, wfds, sizeof (fd_set));
data/inetutils-1.9.4/lib/select.c:412: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 (&handle_xfds, xfds, sizeof (fd_set));
data/inetutils-1.9.4/lib/select.c:486: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 (&handle_rfds, rfds, sizeof (fd_set));
data/inetutils-1.9.4/lib/select.c:487: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 (&handle_wfds, wfds, sizeof (fd_set));
data/inetutils-1.9.4/lib/select.c:488: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 (&handle_xfds, xfds, sizeof (fd_set));
data/inetutils-1.9.4/lib/setenv.c:179: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 (new_value, name, namelen);
data/inetutils-1.9.4/lib/setenv.c:181: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 (&new_value[namelen + 1], value, vallen);
data/inetutils-1.9.4/lib/setenv.c:200: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 (new_environ[size], new_value, namelen + 1 + vallen);
data/inetutils-1.9.4/lib/setenv.c:202: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 (new_environ[size], name, namelen);
data/inetutils-1.9.4/lib/setenv.c:204: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 (&new_environ[size][namelen + 1], value, vallen);
data/inetutils-1.9.4/lib/setenv.c:217: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 ((char *) new_environ, (char *) __environ,
data/inetutils-1.9.4/lib/setenv.c:247: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 (new_value, name, namelen);
data/inetutils-1.9.4/lib/setenv.c:249: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 (&new_value[namelen + 1], value, vallen);
data/inetutils-1.9.4/lib/setenv.c:268: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 (np, new_value, namelen + 1 + vallen);
data/inetutils-1.9.4/lib/setenv.c:270: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 (np, name, namelen);
data/inetutils-1.9.4/lib/setenv.c:272: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 (&np[namelen + 1], value, vallen);
data/inetutils-1.9.4/lib/setenv.c:380: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 (tmp + 1, value, len + 1);
data/inetutils-1.9.4/lib/sethostname.c:55: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).
    hostf = fopen ("/etc/hostname.file", "w");
data/inetutils-1.9.4/lib/sethostname.c:118: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_asciz[HOST_NAME_MAX + 1];
data/inetutils-1.9.4/lib/sethostname.c:119: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 old_name[HOST_NAME_MAX + 1];
data/inetutils-1.9.4/lib/sethostname.c:131: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 (name_asciz, name, len);
data/inetutils-1.9.4/lib/snprintf.c:57: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 (str, output, pruned_len);
data/inetutils-1.9.4/lib/stat.c:109: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 fixed_name[PATH_MAX + 1] = {0};
data/inetutils-1.9.4/lib/stdio--.h:24:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# undef fopen
data/inetutils-1.9.4/lib/stdio--.h:25: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).
# define fopen fopen_safer
data/inetutils-1.9.4/lib/stdio--.h:34:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
# undef tmpfile
data/inetutils-1.9.4/lib/stdio--.h:35:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
# define tmpfile tmpfile_safer
data/inetutils-1.9.4/lib/stdio-impl.h:45:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 _ubuf[3]; \
data/inetutils-1.9.4/lib/stdio-impl.h:46:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 _nbuf[1]; \
data/inetutils-1.9.4/lib/stdio.in.h:263:11:  [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).
#   undef fopen
data/inetutils-1.9.4/lib/stdio.in.h:264: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).
#   define fopen rpl_fopen
data/inetutils-1.9.4/lib/stdio.in.h:266:19:  [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).
_GL_FUNCDECL_RPL (fopen, FILE *, (const char *filename, const char *mode)
data/inetutils-1.9.4/lib/stdio.in.h:268:19:  [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).
_GL_CXXALIAS_RPL (fopen, FILE *, (const char *filename, const char *mode));
data/inetutils-1.9.4/lib/stdio.in.h:270:19:  [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).
_GL_CXXALIAS_SYS (fopen, FILE *, (const char *filename, const char *mode));
data/inetutils-1.9.4/lib/stdio.in.h:272:19:  [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).
_GL_CXXALIASWARN (fopen);
data/inetutils-1.9.4/lib/stdio.in.h:274:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# undef fopen
data/inetutils-1.9.4/lib/stdio.in.h:276:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
_GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - "
data/inetutils-1.9.4/lib/stdio.in.h:1099:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
#   define tmpfile rpl_tmpfile
data/inetutils-1.9.4/lib/stdio.in.h:1101:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_FUNCDECL_RPL (tmpfile, FILE *, (void));
data/inetutils-1.9.4/lib/stdio.in.h:1102:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
data/inetutils-1.9.4/lib/stdio.in.h:1104:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
data/inetutils-1.9.4/lib/stdio.in.h:1106:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_CXXALIASWARN (tmpfile);
data/inetutils-1.9.4/lib/stdio.in.h:1108:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
# undef tmpfile
data/inetutils-1.9.4/lib/stdio.in.h:1110:18:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
_GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - "
data/inetutils-1.9.4/lib/stdlib.in.h:398:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#   define mkstemp rpl_mkstemp
data/inetutils-1.9.4/lib/stdlib.in.h:400:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
data/inetutils-1.9.4/lib/stdlib.in.h:401:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/));
data/inetutils-1.9.4/lib/stdlib.in.h:404:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
data/inetutils-1.9.4/lib/stdlib.in.h:406:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/));
data/inetutils-1.9.4/lib/stdlib.in.h:408:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIASWARN (mkstemp);
data/inetutils-1.9.4/lib/stdlib.in.h:410:9:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
# undef mkstemp
data/inetutils-1.9.4/lib/stdlib.in.h:412:18:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - "
data/inetutils-1.9.4/lib/strdup.c:47:19:  [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 (char *) memcpy (new, s, len);
data/inetutils-1.9.4/lib/strerror.c:39: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 buf[STACKBUF_LEN];
data/inetutils-1.9.4/lib/strerror.c:69: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 (buf, msg, len + 1);
data/inetutils-1.9.4/lib/strndup.c:35: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 (new, s, len);
data/inetutils-1.9.4/lib/sys_socket.in.h:111: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 __ss_padding[_SS_PADSIZE];
data/inetutils-1.9.4/lib/sys_stat.in.h:704:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_FUNCDECL_RPL (utimensat, int, (int fd, char const *name,
data/inetutils-1.9.4/lib/sys_stat.in.h:707:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_CXXALIAS_RPL (utimensat, int, (int fd, char const *name,
data/inetutils-1.9.4/lib/sys_stat.in.h:711:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_FUNCDECL_SYS (utimensat, int, (int fd, char const *name,
data/inetutils-1.9.4/lib/sys_stat.in.h:715:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
_GL_CXXALIAS_SYS (utimensat, int, (int fd, char const *name,
data/inetutils-1.9.4/lib/tempname.c:70:17:  [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).
# define __open open
data/inetutils-1.9.4/lib/tempname.c:171:3:  [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 (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);
data/inetutils-1.9.4/lib/vasnprintf.c:143: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.
#  define DCHAR_CPY memcpy
data/inetutils-1.9.4/lib/vasnprintf.c:284: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 pointbuf[5];
data/inetutils-1.9.4/lib/vasnprintf.c:285:3:  [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 (pointbuf, "%#.0f", 1.0);
data/inetutils-1.9.4/lib/vasnprintf.c:509: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_ptr, a_ptr, a_len * sizeof (mp_limb_t));
data/inetutils-1.9.4/lib/vasnprintf.c:645: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 (r_ptr, a_ptr, a_len * sizeof (mp_limb_t));
data/inetutils-1.9.4/lib/vasnprintf.c:2664:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/inetutils-1.9.4/lib/vasnprintf.c:2709:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/inetutils-1.9.4/lib/vasnprintf.c:2759: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.
                        char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/inetutils-1.9.4/lib/vasnprintf.c:2772:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy (tmpptr, cbuf, count);
data/inetutils-1.9.4/lib/vasnprintf.c:2840:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/inetutils-1.9.4/lib/vasnprintf.c:2853: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 (result + length, cbuf, count);
data/inetutils-1.9.4/lib/vasnprintf.c:2869:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/inetutils-1.9.4/lib/vasnprintf.c:2891: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 (result + length, cbuf, count);
data/inetutils-1.9.4/lib/vasnprintf.c:3172:35:  [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 ((char *) p, "%+d", exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:3178:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                  char expbuf[6 + 1];
data/inetutils-1.9.4/lib/vasnprintf.c:3180:35:  [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 (expbuf, "%+d", exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:3323:35:  [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 ((char *) p, "%+d", exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:3329:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                  char expbuf[6 + 1];
data/inetutils-1.9.4/lib/vasnprintf.c:3331:35:  [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 (expbuf, "%+d", exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:3398: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 (result + length, tmp, count * sizeof (DCHAR_T));
data/inetutils-1.9.4/lib/vasnprintf.c:3783:37:  [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 ((char *) p, "%+.2d", exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:3789:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                    char expbuf[6 + 1];
data/inetutils-1.9.4/lib/vasnprintf.c:3791:37:  [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 (expbuf, "%+.2d", exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:3964:45:  [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 ((char *) p, "%+.2d", exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:3970:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                            char expbuf[6 + 1];
data/inetutils-1.9.4/lib/vasnprintf.c:3972:45:  [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 (expbuf, "%+.2d", exponent);
data/inetutils-1.9.4/lib/vasnprintf.c:4262:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                      char expbuf[6 + 1];
data/inetutils-1.9.4/lib/vasnprintf.c:4455:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                              char expbuf[6 + 1];
data/inetutils-1.9.4/lib/vasnprintf.c:4581: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 (result + length, tmp, count * sizeof (DCHAR_T));
data/inetutils-1.9.4/lib/vasnprintf.c:4789:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (fbp, dp->width_start, n * sizeof (TCHAR_T));
data/inetutils-1.9.4/lib/vasnprintf.c:4810:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (fbp, dp->precision_start, n * sizeof (TCHAR_T));
data/inetutils-1.9.4/lib/vasnprintf.c:5509:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (result + length, tmp, count * sizeof (DCHAR_T));
data/inetutils-1.9.4/lib/version-etc.c:201: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.
  const char *authtab[10];
data/inetutils-1.9.4/lib/vsnprintf.c:56: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 (str, output, pruned_len);
data/inetutils-1.9.4/lib/xmalloc.c:113: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 (xmalloc (s), p, s);
data/inetutils-1.9.4/lib/xvasprintf.c:67: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 (p, next, len);
data/inetutils-1.9.4/libicmp/icmp.h:82:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char id_data[1];
data/inetutils-1.9.4/libinetutils/argcv.c:115: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 ((*argv)[i], &command[start], n);
data/inetutils-1.9.4/libinetutils/daemon.c:189:12:  [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_DEVNULL, O_RDWR, 0);
data/inetutils-1.9.4/libinetutils/kcmd.c:124: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 portstr[8], fqdn[NI_MAXHOST];
data/inetutils-1.9.4/libinetutils/kcmd.c:245: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 (&sin, ai->ai_addr, ai->ai_addrlen);
data/inetutils-1.9.4/libinetutils/kcmd.c:255:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (&((struct sockaddr_in6 *) &sin)->sin6_addr,
data/inetutils-1.9.4/libinetutils/kcmd.c:265:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (&((struct sockaddr_in *) &sin)->sin_addr,
data/inetutils-1.9.4/libinetutils/kcmd.c:296:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char addrstr[INET6_ADDRSTRLEN];
data/inetutils-1.9.4/libinetutils/kcmd.c:356: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 num[8];
data/inetutils-1.9.4/libinetutils/kcmd.c:368: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 (num, "%d", lport);
data/inetutils-1.9.4/libinetutils/kcmd.c:415: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 (faddr, &sin, sizeof(*faddr));
data/inetutils-1.9.4/libinetutils/kerberos5.c:51: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 errormsg[101];
data/inetutils-1.9.4/libinetutils/kerberos5.c:52: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 cksumdata[101];
data/inetutils-1.9.4/libinetutils/libinetutils.h:57:17:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
# define fork() vfork()
data/inetutils-1.9.4/libinetutils/localhost.c:84: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 fqdn[NI_MAXHOST];
data/inetutils-1.9.4/libinetutils/logwtmp.c:65: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 (OUR_WTMP, O_WRONLY | O_APPEND, 0);
data/inetutils-1.9.4/libinetutils/logwtmp.c:67:12:  [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).
  int fd = open (OUR_WTMP, O_WRONLY | O_APPEND, 0);
data/inetutils-1.9.4/libinetutils/shishi.c:54: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 errormsg[101];
data/inetutils-1.9.4/libinetutils/shishi.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 cksumdata[101];
data/inetutils-1.9.4/libinetutils/shishi.c:691: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, out + val, outlen - val);
data/inetutils-1.9.4/libinetutils/shishi.c:723: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 (bufbis, (char *) &dlen, sizeof (int));
data/inetutils-1.9.4/libinetutils/shishi.c:724: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 (bufbis + sizeof (int), buf, wlen);
data/inetutils-1.9.4/libinetutils/shishi.c:739: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 (bufbis, buf, wlen);
data/inetutils-1.9.4/libinetutils/shishi_def.h:47: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 *env[2];
data/inetutils-1.9.4/libinetutils/tftpsubs.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 buf[PKTSIZE];		/* room for data packet */
data/inetutils-1.9.4/libinetutils/tftpsubs.c:291: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 rbuf[PKTSIZE];
data/inetutils-1.9.4/libinetutils/ttymsg.c:78: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 errbuf[MAX_ERRBUF];
data/inetutils-1.9.4/libinetutils/ttymsg.c:109: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 (device, O_WRONLY | O_NONBLOCK, 0);
data/inetutils-1.9.4/libinetutils/ttymsg.c:132:8:  [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 (localiov, iov, iovcnt * sizeof (struct iovec));
data/inetutils-1.9.4/libinetutils/utmp_init.c:172: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 buf[5];
data/inetutils-1.9.4/libls/fts.c:214:46:  [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).
  if (!ISSET (FTS_NOCHDIR) && (sp->fts_rfd = open (".", O_RDONLY, 0)) < 0)
data/inetutils-1.9.4/libls/fts.c:347:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	  if ((p->fts_symfd = open (".", O_RDONLY, 0)) < 0)
data/inetutils-1.9.4/libls/fts.c:450:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	      if ((p->fts_symfd = open (".", O_RDONLY, 0)) < 0)
data/inetutils-1.9.4/libls/fts.c:601:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((fd = open (".", O_RDONLY, 0)) < 0)
data/inetutils-1.9.4/libls/fts.h:133: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 fts_name[1];		/* file name */
data/inetutils-1.9.4/libls/ls.c:142:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	termwidth = atoi (p);
data/inetutils-1.9.4/libls/ls.c:449: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 nuser[INT_BUFSIZE_BOUND (uintmax_t)],
data/inetutils-1.9.4/libls/ls.h:88: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 data[1];
data/inetutils-1.9.4/libls/print.c:118: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/inetutils-1.9.4/libls/print.c:391: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[MAXPATHLEN], path[MAXPATHLEN];
data/inetutils-1.9.4/libls/stat_flags.c:71: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 string[128];
data/inetutils-1.9.4/libtelnet/auth.c:124:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char _auth_send_data[256];
data/inetutils-1.9.4/libtelnet/auth.c:400:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static unsigned char str_request[64] = { IAC, SB,
data/inetutils-1.9.4/libtelnet/auth.c:608: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 savename[256];
data/inetutils-1.9.4/libtelnet/auth.c:633:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static unsigned char str_request[256 + 6]
data/inetutils-1.9.4/libtelnet/auth.c:715: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 tbuf[16];
data/inetutils-1.9.4/libtelnet/auth.c:724: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 (tbuf, " %d", *data);
data/inetutils-1.9.4/libtelnet/enc_des.c:87: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 fb_feed[64];
data/inetutils-1.9.4/libtelnet/enc_des.c:157: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.
shishi_des_ecb_encrypt (Shishi * h, const unsigned char key[sizeof (Block)],
data/inetutils-1.9.4/libtelnet/enc_des.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 (out, tmp, sizeof (Block));
data/inetutils-1.9.4/libtelnet/enc_des.c:578: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 lbuf[32];
data/inetutils-1.9.4/libtelnet/enc_des.c:603: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 (lbuf, " %d (unknown)", data[2]);
data/inetutils-1.9.4/libtelnet/enc_des.c:610:4:  [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 (lbuf, " %d", data[i]);
data/inetutils-1.9.4/libtelnet/encrypt.c:166:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char str_send[64] =
data/inetutils-1.9.4/libtelnet/encrypt.c:169:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char str_start[72] = { IAC, SB, TELOPT_ENCRYPT };
data/inetutils-1.9.4/libtelnet/encrypt.c:200: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 keyid[MAXKEYLEN];
data/inetutils-1.9.4/libtelnet/encrypt.c:766:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char str_keyid[(MAXKEYLEN * 2) + 5] =
data/inetutils-1.9.4/libtelnet/encrypt.c:1009: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 tbuf[16], *cp;
data/inetutils-1.9.4/libtelnet/encrypt.c:1018: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 (tbuf, " %d", *data);
data/inetutils-1.9.4/libtelnet/encrypt.h:107: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.
typedef unsigned char Block[8];
data/inetutils-1.9.4/libtelnet/forward.c:142:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  addrs[i]->contents = (unsigned char *) malloc (addrs[i]->length);
data/inetutils-1.9.4/libtelnet/forward.c:149:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    memmove ((char *) addrs[i]->contents, hp->h_addr_list[i],
data/inetutils-1.9.4/libtelnet/forward.c:436: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 ccname[35];
data/inetutils-1.9.4/libtelnet/forward.c:450:3:  [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 (ccname, "FILE:/tmp/krb5cc_%d", pwd->pw_uid);
data/inetutils-1.9.4/libtelnet/kerberos.c:102:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
data/inetutils-1.9.4/libtelnet/kerberos.c:105:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char str_name[1024] = { IAC, SB, TELOPT_AUTHENTICATION,
data/inetutils-1.9.4/libtelnet/kerberos.c:118:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char name[ANAME_SZ];
data/inetutils-1.9.4/libtelnet/kerberos.c:173:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (KEYFILE, "r")) == NULL)
data/inetutils-1.9.4/libtelnet/kerberos.c:184:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char dst_realm_buf[REALM_SZ], *dest_realm = NULL;
data/inetutils-1.9.4/libtelnet/kerberos.c:195: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 instance[INST_SZ];
data/inetutils-1.9.4/libtelnet/kerberos.c: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 realm[REALM_SZ];
data/inetutils-1.9.4/libtelnet/kerberos.c:301: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 instance[INST_SZ];
data/inetutils-1.9.4/libtelnet/kerberos.c:505: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 lbuf[32];
data/inetutils-1.9.4/libtelnet/kerberos.c:543: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 (lbuf, " %d (unknown)", data[3]);
data/inetutils-1.9.4/libtelnet/kerberos.c:549:4:  [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 (lbuf, " %d", data[i]);
data/inetutils-1.9.4/libtelnet/kerberos5.c:59:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char str_data[2048] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
data/inetutils-1.9.4/libtelnet/kerberos5.c:205: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 type_check[2];
data/inetutils-1.9.4/libtelnet/kerberos5.c:507: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 princ[256];
data/inetutils-1.9.4/libtelnet/kerberos5.c:549: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 type_check[2];
data/inetutils-1.9.4/libtelnet/kerberos5.c:678: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 errbuf[512];
data/inetutils-1.9.4/libtelnet/read_passwd.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 key_string[BUFSIZ];
data/inetutils-1.9.4/libtelnet/shishi.c:48:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char str_data[2048] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
data/inetutils-1.9.4/libtelnet/shishi.c:152: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 type_check[2];
data/inetutils-1.9.4/libtelnet/shishi.c:636: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 errbuf[512];
data/inetutils-1.9.4/ping/libping.c:324: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 (&ping->ping_dest.ping_sockaddr, res->ai_addr, res->ai_addrlen);
data/inetutils-1.9.4/ping/libping.c:368: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_in->sin_addr, hp->h_addr, hp->h_length);
data/inetutils-1.9.4/ping/ping.c:152:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static unsigned char pattern[MAXPATTERN];
data/inetutils-1.9.4/ping/ping6.c:135:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static unsigned char pattern[MAXPATTERN];
data/inetutils-1.9.4/ping/ping6.c:493: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[256];
data/inetutils-1.9.4/ping/ping6.c:551: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[256];
data/inetutils-1.9.4/ping/ping6.c:608:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (buf, "unknown");
data/inetutils-1.9.4/ping/ping6.c:720: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 src[INET6_ADDRSTRLEN], dst[INET6_ADDRSTRLEN];
data/inetutils-1.9.4/ping/ping6.c:943: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_data[1024];
data/inetutils-1.9.4/ping/ping6.c:1038: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 (&ping->ping_dest.ping_sockaddr6, result->ai_addr, result->ai_addrlen);
data/inetutils-1.9.4/ping/ping_common.c:201: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 (icmp->icmp_data + off, data, len);
data/inetutils-1.9.4/ping/ping_common.c:264: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, ipstr[INET6_ADDRSTRLEN], hoststr[256];
data/inetutils-1.9.4/ping/ping_echo.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 rspace[MAX_IPOPTLEN];	/* Maximal IP option space.  */
data/inetutils-1.9.4/ping/ping_echo.c:448: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 old_rr[MAX_IPOPTLEN];
data/inetutils-1.9.4/ping/ping_echo.c:576:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char timestr[16];
data/inetutils-1.9.4/ping/ping_timestamp.c:99: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 timestr[16];
data/inetutils-1.9.4/src/hostname.c:305: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[16];
data/inetutils-1.9.4/src/hostname.c:320:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy (addresses, "(none)");
data/inetutils-1.9.4/src/hostname.c:399: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).
  file = fopen (file_name, "r");
data/inetutils-1.9.4/src/inetd.c:420: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[50];
data/inetutils-1.9.4/src/inetd.c:547: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 (ptr, *pptr, size);
data/inetutils-1.9.4/src/inetd.c:908: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 (&sep->se_ctrladdr, rp->ai_addr, rp->ai_addrlen);
data/inetutils-1.9.4/src/inetd.c:931: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).
  return fopen (file, "r");
data/inetutils-1.9.4/src/inetd.c:975: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 (sep->se_node, serv_node + serv_node_offset, i);
data/inetutils-1.9.4/src/inetd.c:1479: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[80];
data/inetutils-1.9.4/src/inetd.c:1487: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 buf2[80];
data/inetutils-1.9.4/src/inetd.c:1516: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[BUFSIZE];
data/inetutils-1.9.4/src/inetd.c:1530: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[BUFSIZE];
data/inetutils-1.9.4/src/inetd.c:1551: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[BUFSIZE];
data/inetutils-1.9.4/src/inetd.c:1568: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[BUFSIZE];
data/inetutils-1.9.4/src/inetd.c:1575:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char ring[128];
data/inetutils-1.9.4/src/inetd.c:1595: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 *rs, text[LINESIZ + 2];
data/inetutils-1.9.4/src/inetd.c:1637: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[LINESIZ + 2];
data/inetutils-1.9.4/src/inetd.c:1721: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[256];
data/inetutils-1.9.4/src/inetd.c:1726:3:  [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 (buffer, "%.24s\r\n", ctime (&lclock));
data/inetutils-1.9.4/src/inetd.c:1734: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[256];
data/inetutils-1.9.4/src/inetd.c:1749:3:  [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 (buffer, "%.24s\r\n", ctime (&lclock));
data/inetutils-1.9.4/src/inetd.c:1791: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[MAX_SERV_LEN + 1];
data/inetutils-1.9.4/src/inetd.c:1845: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 str[16];
data/inetutils-1.9.4/src/inetd.c:1849: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 ip[4 * INET6_ADDRSTRLEN];
data/inetutils-1.9.4/src/inetd.c:1980: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).
    FILE *fp = fopen (pid_file, "w");
data/inetutils-1.9.4/src/inetd.c:2002:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUMMYSIZE];
data/inetutils-1.9.4/src/logger.c:459:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char buf[INT_BUFSIZE_BOUND (uintmax_t)];
data/inetutils-1.9.4/src/logger.c:540:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (p, argv[i], len);
data/inetutils-1.9.4/src/rcp.c:572: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 *bp, *host, *src, *suser, *vect[1];
data/inetutils-1.9.4/src/rcp.c:676: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[4 * sizeof (long) * 3 + 2];
data/inetutils-1.9.4/src/rcp.c:707: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 *last, *name, buf[BUFSIZ];
data/inetutils-1.9.4/src/rcp.c:712:12:  [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 (name, O_RDONLY, 0);
data/inetutils-1.9.4/src/rcp.c:798: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 *last, *vect[1];
data/inetutils-1.9.4/src/rcp.c:882: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 ch, *cp, *np, *targ, *vect[1], buf[BUFSIZ];
data/inetutils-1.9.4/src/rcp.c:1058:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      ofd = open (np, O_WRONLY | O_CREAT, mode);
data/inetutils-1.9.4/src/rcp.c:1314: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 ch, *cp, resp, rbuf[BUFSIZ];
data/inetutils-1.9.4/src/rcp.c:1449:9:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
  pid = vfork ();
data/inetutils-1.9.4/src/rexec.c:104:25:  [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).
      arguments->port = atoi (arg);
data/inetutils-1.9.4/src/rexec.c:107:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      arguments->err_port = atoi (arg);
data/inetutils-1.9.4/src/rexec.c:143: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 password[64];
data/inetutils-1.9.4/src/rexec.c:248: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[1024];
data/inetutils-1.9.4/src/rexec.c:250: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 port_str[12];
data/inetutils-1.9.4/src/rexec.c:290: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 (&addr, ai->ai_addr, ai->ai_addrlen);
data/inetutils-1.9.4/src/rexecd.c:210:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char username[32 + sizeof ("USER=")] = "USER=";
data/inetutils-1.9.4/src/rexecd.c:211:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char logname[32 + sizeof ("LOGNAME=")] = "LOGNAME=";	/* Identical to USER.  */
data/inetutils-1.9.4/src/rexecd.c:212:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char homedir[256 + sizeof ("HOME=")] = "HOME=";
data/inetutils-1.9.4/src/rexecd.c:213:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char shell[256 + sizeof ("SHELL=")] = "SHELL=";
data/inetutils-1.9.4/src/rexecd.c:214:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char path[sizeof (PATH_DEFPATH) + sizeof ("PATH=")] = "PATH=";
data/inetutils-1.9.4/src/rexecd.c:215:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char remotehost[128 + sizeof ("RHOST=")] = "RHOST=";
data/inetutils-1.9.4/src/rexecd.c:253: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 rhost[INET6_ADDRSTRLEN];
data/inetutils-1.9.4/src/rexecd.c:258: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[BUFSIZ], sig;
data/inetutils-1.9.4/src/rexecd.c:274:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int t = open (PATH_TTY, O_RDWR);
data/inetutils-1.9.4/src/rexecd.c:668: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[BUFSIZ];
data/inetutils-1.9.4/src/rlogin.c:126:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char dest_realm_buf[REALM_SZ];
data/inetutils-1.9.4/src/rlogin.c:132:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char dest_realm_buf[REALM_SZ];
data/inetutils-1.9.4/src/rlogin.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 term[1024];
data/inetutils-1.9.4/src/rlogin.c:1081: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[8];
data/inetutils-1.9.4/src/rlogin.c:1136: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 obuf[4 + sizeof (struct winsize)];
data/inetutils-1.9.4/src/rlogin.c:1171:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char rcvbuf[8 * 1024];
data/inetutils-1.9.4/src/rlogin.c:1179: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 waste[BUFSIZ];
data/inetutils-1.9.4/src/rlogind.c:211: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 *env[2];
data/inetutils-1.9.4/src/rlogind.c:256:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char line[1024];		/* FIXME */
data/inetutils-1.9.4/src/rlogind.c:325: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[INET6_ADDRSTRLEN];
data/inetutils-1.9.4/src/rlogind.c:327: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[NI_MAXHOST];
data/inetutils-1.9.4/src/rlogind.c:638: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 portstr[16];
data/inetutils-1.9.4/src/rlogind.c:674: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 (&saddr, ai->ai_addr, ai->ai_addrlen);
data/inetutils-1.9.4/src/rlogind.c:864: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 hoststr[NI_MAXHOST];
data/inetutils-1.9.4/src/rlogind.c:932: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 astr[INET6_ADDRSTRLEN];
data/inetutils-1.9.4/src/rlogind.c:1026:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char optbuf[BUFSIZ / 3], *cp;
data/inetutils-1.9.4/src/rlogind.c:1027: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 lbuf[BUFSIZ], *lp;
data/inetutils-1.9.4/src/rlogind.c:1044:4:  [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 (lp, " %2.2x", *cp);
data/inetutils-1.9.4/src/rlogind.c:1173: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 addrstr[INET6_ADDRSTRLEN];
data/inetutils-1.9.4/src/rlogind.c:1405: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 instance[INST_SZ], version[VERSION_SZ];
data/inetutils-1.9.4/src/rlogind.c:1408: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 auth_buf[sizeof (AUTH_DAT)];
data/inetutils-1.9.4/src/rlogind.c:1409: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 tick_buf[sizeof (KTEXT_ST)];
data/inetutils-1.9.4/src/rlogind.c:1617: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 cksumdata[100];
data/inetutils-1.9.4/src/rlogind.c:1836:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char magic[2] = { 0377, 0377 };
data/inetutils-1.9.4/src/rlogind.c:1853: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 fibuf[BUFLEN], *pbp = NULL, *fbp = NULL;
data/inetutils-1.9.4/src/rlogind.c:1992:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char dbuf[BUFLEN + 1];
data/inetutils-1.9.4/src/rlogind.c:2126: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[BUFSIZ], buf2[BUFSIZ], *bp = buf;
data/inetutils-1.9.4/src/rsh.c:383:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	  strcpy (term, "-x ");
data/inetutils-1.9.4/src/rsh.c:620: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 *bp, buf[BUFSIZ];
data/inetutils-1.9.4/src/rshd.c:209:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char authbuf[sizeof (AUTH_DAT)];
data/inetutils-1.9.4/src/rshd.c:210:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char tickbuf[sizeof (KTEXT_ST)];
data/inetutils-1.9.4/src/rshd.c:412:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char username[32 + sizeof ("USER=")] = "USER=";
data/inetutils-1.9.4/src/rshd.c:413:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char logname[32 + sizeof ("LOGNAME=")] = "LOGNAME=";
data/inetutils-1.9.4/src/rshd.c:414:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char homedir[256 + sizeof ("HOME=")] = "HOME=";
data/inetutils-1.9.4/src/rshd.c:415:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char shell[64 + sizeof ("SHELL=")] = "SHELL=";
data/inetutils-1.9.4/src/rshd.c:416:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char path[sizeof (PATH_DEFPATH) + sizeof ("PATH=")] = "PATH=";
data/inetutils-1.9.4/src/rshd.c:417:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char rhost[128 + sizeof ("RHOST=")] = "RHOST=";
data/inetutils-1.9.4/src/rshd.c:441: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 portstr[8], addrstr[INET6_ADDRSTRLEN];
data/inetutils-1.9.4/src/rshd.c:443: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 addrname[NI_MAXHOST];
data/inetutils-1.9.4/src/rshd.c:448: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 *cp, sig, buf[BUFSIZ];
data/inetutils-1.9.4/src/rshd.c:462: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 instance[INST_SZ], version[VERSION_SIZE];
data/inetutils-1.9.4/src/rshd.c:503:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int t = open (PATH_TTY, O_RDWR);
data/inetutils-1.9.4/src/rshd.c:522:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  inport = atoi (portstr);
data/inetutils-1.9.4/src/rshd.c:541: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 optbuf[BUFSIZ / 3], *cp;
data/inetutils-1.9.4/src/rshd.c:542:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lbuf[BUFSIZ], *lp;
data/inetutils-1.9.4/src/rshd.c:562:6:  [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 (lp, " %2.2x", *cp);
data/inetutils-1.9.4/src/rshd.c:744: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 astr[INET6_ADDRSTRLEN] = "";
data/inetutils-1.9.4/src/rshd.c:1009: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 cksumdata[100];
data/inetutils-1.9.4/src/rshd.c:1977: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 *bp, buf[BUFSIZ];
data/inetutils-1.9.4/src/syslogd.c:188: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 f_pmask[LOG_NFACILITIES + 1];	/* Priority mask.  */
data/inetutils-1.9.4/src/syslogd.c:204: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 f_prevline[MAXSVLINE];	/* Last message logged.  */
data/inetutils-1.9.4/src/syslogd.c:205: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 f_lasttime[16];		/* Time of last occurrence.  */
data/inetutils-1.9.4/src/syslogd.c:301:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char portstr[8];		/* Fallback port number.  */
data/inetutils-1.9.4/src/syslogd.c:303:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char addrstr[INET6_ADDRSTRLEN];	/* Common address presentation.  */
data/inetutils-1.9.4/src/syslogd.c:304:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char addrname[NI_MAXHOST];	/* Common name lookup.  */
data/inetutils-1.9.4/src/syslogd.c:504: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 line[MAXLINE + 1];
data/inetutils-1.9.4/src/syslogd.c:505: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 kline[MAXLINE + 1];
data/inetutils-1.9.4/src/syslogd.c:625:15:  [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).
      fklog = open (PATH_KLOG, O_RDONLY, 0);
data/inetutils-1.9.4/src/syslogd.c:682: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 (PidFile, "w");
data/inetutils-1.9.4/src/syslogd.c:888: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 line[MAXLINE + 1];
data/inetutils-1.9.4/src/syslogd.c:1063: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 *q, line[MAXLINE + 1];
data/inetutils-1.9.4/src/syslogd.c:1121: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 *lp, *q, line[MAXLINE + 1];
data/inetutils-1.9.4/src/syslogd.c:1124:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (line, "vmunix: ");
data/inetutils-1.9.4/src/syslogd.c:1157: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 res[20];
data/inetutils-1.9.4/src/syslogd.c:1231:19:  [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).
      f->f_file = open (ctty, O_WRONLY, 0);
data/inetutils-1.9.4/src/syslogd.c:1332: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 line[MAXLINE + 1], repbuf[80], greetings[200];
data/inetutils-1.9.4/src/syslogd.c:1444:8:  [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 (&f->f_un.f_forw.f_addr, rp->ai_addr, rp->ai_addrlen);
data/inetutils-1.9.4/src/syslogd.c:1514:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    f->f_prevpri, (char *) iov[0].iov_base,
data/inetutils-1.9.4/src/syslogd.c:1515: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 *) iov[4].iov_base);
data/inetutils-1.9.4/src/syslogd.c:1572:20:  [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).
	      f->f_file = open (f->f_un.f_fname, O_WRONLY | O_APPEND, 0);
data/inetutils-1.9.4/src/syslogd.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 line[sizeof (utp->ut_line) + 1];
data/inetutils-1.9.4/src/syslogd.c:1784: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[100];
data/inetutils-1.9.4/src/syslogd.c:1806: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[100];
data/inetutils-1.9.4/src/syslogd.c:1864: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).
  cf = fopen (filename, "r");
data/inetutils-1.9.4/src/syslogd.c:2207: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[MAXLINE], ebuf[200];
data/inetutils-1.9.4/src/syslogd.c:2391:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (&f->f_un.f_forw.f_addr, rp->ai_addr, rp->ai_addrlen);
data/inetutils-1.9.4/src/syslogd.c:2398:19:  [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).
      f->f_file = open (++p, O_RDWR | O_NONBLOCK);
data/inetutils-1.9.4/src/syslogd.c:2417:19:  [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).
      f->f_file = open (p, O_WRONLY | O_APPEND | O_CREAT, 0644);
data/inetutils-1.9.4/src/syslogd.c:2480:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi (name);
data/inetutils-1.9.4/src/tftp.c:96:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char ackbuf[PKTSIZE];
data/inetutils-1.9.4/src/tftp.c:122:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char mode[32];
data/inetutils-1.9.4/src/tftp.c:123:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char line[200];
data/inetutils-1.9.4/src/tftp.c:125:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *margv[20];
data/inetutils-1.9.4/src/tftp.c:205:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *hostport_argv[3] = { "connect" };
data/inetutils-1.9.4/src/tftp.c:288:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (mode, "netascii");
data/inetutils-1.9.4/src/tftp.c:377: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 (&peeraddr, ai->ai_addr, ai->ai_addrlen);
data/inetutils-1.9.4/src/tftp.c:444:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      port = atoi (argv[2]);
data/inetutils-1.9.4/src/tftp.c:607:12:  [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 (cp, O_RDONLY);
data/inetutils-1.9.4/src/tftp.c:627:12:  [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 (argv[n], O_RDONLY);
data/inetutils-1.9.4/src/tftp.c:764: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).
  t = atoi (argv[1]);
data/inetutils-1.9.4/src/tftp.c:784: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).
  t = atoi (argv[1]);
data/inetutils-1.9.4/src/tftpd.c:114:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char buf[PKTSIZE];
data/inetutils-1.9.4/src/tftpd.c:115:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char ackbuf[PKTSIZE];
data/inetutils-1.9.4/src/tftpd.c:623: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 (filename, mode == RRQ ? O_RDONLY : (O_WRONLY | O_TRUNC));
data/inetutils-1.9.4/src/tftpd.c:832: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 buf[20];
data/inetutils-1.9.4/src/tftpd.c:839:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "error %d", error);
data/inetutils-1.9.4/src/tftpd.c:879: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 host[NI_MAXHOST];
data/inetutils-1.9.4/src/traceroute.c:106:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char addrstr[INET6_ADDRSTRLEN];
data/inetutils-1.9.4/src/traceroute.c:111:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char ip_opts[MAX_IPOPTLEN];
data/inetutils-1.9.4/src/traceroute.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.
const char unreach_sign[NR_ICMP_UNREACH + 2] = "NHPPFS**U**TTXXX";
data/inetutils-1.9.4/src/traceroute.c:320: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, res->ai_addr, res->ai_addrlen);
data/inetutils-1.9.4/src/traceroute.c:573:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char data[CAPTURE_LEN];
data/inetutils-1.9.4/src/traceroute.c:832:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (optbase + optbase[IPOPT_OLEN],
data/inetutils-1.9.4/src/traceroute.c:848: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 (optbase + optbase[IPOPT_OLEN],
data/inetutils-1.9.4/src/uucpd.c:100:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char Username[64];
data/inetutils-1.9.4/src/uucpd.c:101:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char Logname[64];
data/inetutils-1.9.4/src/uucpd.c:198: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 user[64], passwd[64];
data/inetutils-1.9.4/src/uucpd.c:286: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 line[100];
data/inetutils-1.9.4/src/uucpd.c:287: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 (line, "uucp%.4d", (int) pid);
data/inetutils-1.9.4/src/uucpd.c:321: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 line[32];
data/inetutils-1.9.4/src/uucpd.c:326: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 remotehost[NI_MAXHOST];
data/inetutils-1.9.4/src/uucpd.c:333: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 remotehost[64];
data/inetutils-1.9.4/src/uucpd.c:369:3:  [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 (line, "uucp%.4d", (int) getpid ());
data/inetutils-1.9.4/src/uucpd.c:404: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).
  f = open (PATH_LASTLOG, O_RDWR);
data/inetutils-1.9.4/talk/init_disp.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[3];
data/inetutils-1.9.4/talk/invite.c:144: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 (msg.addr.sa_data,
data/inetutils-1.9.4/talk/io.c:83: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[BUFSIZ];
data/inetutils-1.9.4/talk/look_up.c:96: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 (msg.ctl_addr.sa_data,
data/inetutils-1.9.4/talkd/acl.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 ipbuf[DOTTED_QUAD_LEN + 1];
data/inetutils-1.9.4/talkd/acl.c:136: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/inetutils-1.9.4/talkd/acl.c:142: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 (config_file, "r");
data/inetutils-1.9.4/talkd/announce.c:38: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 line[N_LINES][N_CHARS];
data/inetutils-1.9.4/talkd/announce.c:40: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[N_LINES * N_CHARS + 3];
data/inetutils-1.9.4/talkd/print.c:51: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 buf[64];
data/inetutils-1.9.4/talkd/process.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 ftty[sizeof (PATH_TTY_PFX) + sizeof (uptr->ut_line)];
data/inetutils-1.9.4/telnet/commands.c:135:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char line[256];
data/inetutils-1.9.4/telnet/commands.c:136:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char saveline[256];
data/inetutils-1.9.4/telnet/commands.c:138:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *margv[20];
data/inetutils-1.9.4/telnet/commands.c:243: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 buf[5];
data/inetutils-1.9.4/telnet/commands.c:1499: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[50];
data/inetutils-1.9.4/telnet/commands.c:1574:11:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
  switch (vfork ())
data/inetutils-1.9.4/telnet/commands.c:2477:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (line, "open ");
data/inetutils-1.9.4/telnet/commands.c:2642: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[256];
data/inetutils-1.9.4/telnet/commands.c:2721:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  sin.sin_port = atoi (portp);
data/inetutils-1.9.4/telnet/commands.c:2915: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[100];
data/inetutils-1.9.4/telnet/commands.c:3088:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((rcfile = fopen (rcname, "r")) == 0)
data/inetutils-1.9.4/telnet/main.c:376: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 *args[8], **argp = args;
data/inetutils-1.9.4/telnet/network.c:69: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.
unsigned char netobuf[2 * BUFSIZ], netibuf[BUFSIZ];
data/inetutils-1.9.4/telnet/telnet.c:96:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char subbuffer[SUBBUFSIZE], *subpointer, *subend;	/* buffer for sub-options */
data/inetutils-1.9.4/telnet/telnet.c:108:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char options[256] = { 0 };		/* The combined options */
data/inetutils-1.9.4/telnet/telnet.c:109:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char do_dont_resp[256] = { 0 };
data/inetutils-1.9.4/telnet/telnet.c:110:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char will_wont_resp[256] = { 0 };
data/inetutils-1.9.4/telnet/telnet.c:759:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char termbuf[2048] = { 0 };
data/inetutils-1.9.4/telnet/telnet.c:851:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  unsigned char temp[50];
data/inetutils-1.9.4/telnet/telnet.c:886:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  unsigned char temp[50];	/* Two six-digit integers plus 7.  */
data/inetutils-1.9.4/telnet/telnet.c:995:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  unsigned char temp[50], *dp;
data/inetutils-1.9.4/telnet/telnet.c:1519: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.
unsigned char slc_reply[128];
data/inetutils-1.9.4/telnet/telnet.c:2734: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[16];
data/inetutils-1.9.4/telnet/telnet.c:2845: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[16];
data/inetutils-1.9.4/telnet/terminal.c:67: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.
unsigned char ttyobuf[2 * BUFSIZ], ttyibuf[BUFSIZ];
data/inetutils-1.9.4/telnet/tn3270.c:74:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char tline[200];
data/inetutils-1.9.4/telnet/tn3270.c:78:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char Ibuf[8 * BUFSIZ], *Ifrontp, *Ibackp;
data/inetutils-1.9.4/telnet/utilities.c:126: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.
unsigned char NetTraceFile[256] = "(standard output)";
data/inetutils-1.9.4/telnet/utilities.c:135:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      NetTrace = fopen (file, "w");
data/inetutils-1.9.4/telnet/utilities.c:145:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy ((char *) NetTraceFile, "(standard output)");
data/inetutils-1.9.4/telnet/utilities.c:350: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[512];
data/inetutils-1.9.4/telnet/utilities.c:733: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 tbuf[64];
data/inetutils-1.9.4/telnetd/slc.c:61:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char slcbuf[NSLC * 6];	/* buffer for slc negotiation */
data/inetutils-1.9.4/telnetd/slc.c:194:3:  [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 ((char *) slcbuf, "%c%c%c%c", IAC, SB, TELOPT_LINEMODE, LM_SLC);
data/inetutils-1.9.4/telnetd/slc.c:239:4:  [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 ((char *) slcptr, "%c%c", IAC, SE);
data/inetutils-1.9.4/telnetd/state.c:75: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.
unsigned char subbuffer[512], *subpointer = subbuffer, *subend = subbuffer;
data/inetutils-1.9.4/telnetd/state.c:1167:11:  [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).
	xspeed = atoi ((char *) subpointer);
data/inetutils-1.9.4/telnetd/state.c:1173:11:  [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).
	rspeed = atoi ((char *) subpointer);
data/inetutils-1.9.4/telnetd/state.c:1612: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 statusbuf[256];
data/inetutils-1.9.4/telnetd/telnetd.c:87:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char line[256];
data/inetutils-1.9.4/telnetd/telnetd.c:89:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char options[256];
data/inetutils-1.9.4/telnetd/telnetd.c:90:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char do_dont_resp[256];
data/inetutils-1.9.4/telnetd/telnetd.c:91:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char will_wont_resp[256];
data/inetutils-1.9.4/telnetd/telnetd.c:329: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[256], buf2[256];	/* FIXME: We should use dynamic allocation. */
data/inetutils-1.9.4/telnetd/telnetd.c:337: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 uname[256];
data/inetutils-1.9.4/telnetd/telnetd.h:229: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.
extern char options[256];
data/inetutils-1.9.4/telnetd/telnetd.h:230: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.
extern char do_dont_resp[256];
data/inetutils-1.9.4/telnetd/telnetd.h:231: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.
extern char will_wont_resp[256];
data/inetutils-1.9.4/telnetd/utility.c:52:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char netobuf[BUFSIZ + NETSLOP], *nfrontp, *nbackp;
data/inetutils-1.9.4/telnetd/utility.c:58:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char ptyobuf[BUFSIZ + NETSLOP], *pfrontp, *pbackp;
data/inetutils-1.9.4/telnetd/utility.c:60:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char netibuf[BUFSIZ], *netip;
data/inetutils-1.9.4/telnetd/utility.c:63:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char ptyibuf[BUFSIZ], *ptyip;
data/inetutils-1.9.4/telnetd/utility.c:85: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 ctlbuf[BUFSIZ];
data/inetutils-1.9.4/telnetd/utility.c:308: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 (pfrontp, data, len);
data/inetutils-1.9.4/telnetd/utility.c:666: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[BUFSIZ];
data/inetutils-1.9.4/telnetd/utility.c:688: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[BUFSIZ];
data/inetutils-1.9.4/telnetd/utility.c:878: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[2048];
data/inetutils-1.9.4/telnetd/utility.c:901: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).
    debug_fp = fopen ("/tmp/telnet.debug", "a");
data/inetutils-1.9.4/telnetd/utility.c:961: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[512];
data/inetutils-1.9.4/telnetd/utility.c:1238:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char tbuf[sizeof ("|EDIT|TRAPSIG|SOFT_TAB|LIT_ECHO|ACK")];
data/inetutils-1.9.4/telnetd/utility.c:1613: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 xbuf[30];
data/inetutils-1.9.4/telnetd/utility.c:1695: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 timebuf[64];
data/inetutils-1.9.4/tests/addrpeek.c:73: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[INET6_ADDRSTRLEN], answer[128];
data/inetutils-1.9.4/tests/tcpget.c:52: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[256];
data/inetutils-1.9.4/tests/tcpget.c:68:8:  [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).
	  t = atoi (optarg);
data/inetutils-1.9.4/whois/whois.c:287: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 (p, "\r\n");
data/inetutils-1.9.4/whois/whois.c:334:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	return whereas (atoi (s + 2), as_assign);
data/inetutils-1.9.4/whois/whois.c:432:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat (buf, "-V" IDSTRING " ");
data/inetutils-1.9.4/whois/whois.c:467: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[200], *p;
data/inetutils-1.9.4/whois/whois.c:502:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char nh[256], np[16], nq[1024];
data/inetutils-1.9.4/whois/whois.c:510:8:  [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 (nq, "\r\n");
data/inetutils-1.9.4/whois/whois.c:533: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 *temp, buf[100], *ret = NULL;
data/inetutils-1.9.4/whois/whois.c:539: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 (temp, "\r\n");
data/inetutils-1.9.4/ftp/cmds.c:154:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t size = 0, len = strlen (line);
data/inetutils-1.9.4/ftp/cmds.c:157:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  buffer = (char *) malloc (sizeof (char) * (strlen (prompt) + 4));
data/inetutils-1.9.4/ftp/cmds.c:202:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		       ((linelen ? linelen : len) + strlen (arg) + 2));
data/inetutils-1.9.4/ftp/cmds.c:211:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    ((linelen ? linelen : len) + strlen (arg) + 2);
data/inetutils-1.9.4/ftp/cmds.c:311:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      strcpy (bytename, "8"), bytesize = 8;
data/inetutils-1.9.4/ftp/cmds.c:1106: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).
      sofar = strlen (buf);
data/inetutils-1.9.4/ftp/cmds.c:1683:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      strcpy (shellnam, "-");
data/inetutils-1.9.4/ftp/cmds.c:1684:7:  [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 (shellnam, namep, sizeof (shellnam) - 2);
data/inetutils-1.9.4/ftp/cmds.c:1746:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	printf ("%s\n", reply_string + strlen ("336 "));
data/inetutils-1.9.4/ftp/cmds.c:1756: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).
	memset (argv[2], 0, strlen (argv[2]));
data/inetutils-1.9.4/ftp/cmds.c:1765: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).
	    acct[strlen (acct) - 1] = '\0';	/* Erase newline.  */
data/inetutils-1.9.4/ftp/cmds.c:1913: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 (buf);
data/inetutils-1.9.4/ftp/cmds.c:1914: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).
      len += strlen (strcpy (&buf[len], argv[1]));
data/inetutils-1.9.4/ftp/cmds.c:1918: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 (strcpy (&buf[len], argv[i]));
data/inetutils-1.9.4/ftp/cmds.c:2081:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (acct, *argv, sizeof (acct) - 1);
data/inetutils-1.9.4/ftp/cmds.c:2087:4:  [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 (acct, *argv, (sizeof (acct) - 1) - strlen (acct));
data/inetutils-1.9.4/ftp/cmds.c:2087:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  strncat (acct, *argv, (sizeof (acct) - 1) - strlen (acct));
data/inetutils-1.9.4/ftp/cmds.c:2097: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).
    memset (ap, 0, strlen (ap));
data/inetutils-1.9.4/ftp/cmds.c:2215:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ntin, argv[1], sizeof (ntin) - 1);
data/inetutils-1.9.4/ftp/cmds.c:2222:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ntout, argv[2], sizeof (ntout) - 1);
data/inetutils-1.9.4/ftp/cmds.c:2232: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).
  char *new = xmalloc (strlen (name) + 1);
data/inetutils-1.9.4/ftp/cmds.c:2320: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).
      src_len = strlen (tok0);
data/inetutils-1.9.4/ftp/cmds.c:2330:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (src_len > strlen ("$2"))
data/inetutils-1.9.4/ftp/cmds.c:2338: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).
      *buf_len_p += src_len - strlen ("$2");
data/inetutils-1.9.4/ftp/cmds.c:2361: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).
  int buf_len = strlen (mapout) + 1;
data/inetutils-1.9.4/ftp/cmds.c:2597:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (macros[macnum].mac_name, argv[1],
data/inetutils-1.9.4/ftp/cmds.c:2610:16:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((c = getchar ()) == EOF)
data/inetutils-1.9.4/ftp/cmds.c:2636:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = getchar ()) != '\n' && c != EOF)
data/inetutils-1.9.4/ftp/cmds.c:2638:23:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (c == EOF || getchar () == '\n')
data/inetutils-1.9.4/ftp/cmdtab.c:268:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  int len = strlen (c->c_name);
data/inetutils-1.9.4/ftp/cmdtab.c:289: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).
		  for (k = 0; k < (int) strlen (c->c_name); k++)
data/inetutils-1.9.4/ftp/cmdtab.c:297: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).
	      w = strlen (c->c_name);
data/inetutils-1.9.4/ftp/domacro.c:132: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).
  cp2 = malloc (strlen (line2) + 2);
data/inetutils-1.9.4/ftp/domacro.c:142: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).
  linelen = strlen (line2) + 2;
data/inetutils-1.9.4/ftp/domacro.c:188:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					strlen (argv[j + 1]) + 2))
data/inetutils-1.9.4/ftp/domacro.c:194: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).
			  cp2 += strlen (argv[j + 1]);
data/inetutils-1.9.4/ftp/domacro.c:206:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					strlen (argv[count]) + 2))
data/inetutils-1.9.4/ftp/domacro.c:212: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).
			  cp2 += strlen (argv[count]);
data/inetutils-1.9.4/ftp/ftp.c:178:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (hostnamebuf, res->ai_canonname, sizeof (hostnamebuf) - 1);
data/inetutils-1.9.4/ftp/ftp.c:180:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (hostnamebuf, rhost, sizeof (hostnamebuf) - 1);
data/inetutils-1.9.4/ftp/ftp.c:340: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).
	  tmp[strlen (tmp) - 1] = '\0';
data/inetutils-1.9.4/ftp/ftp.c:358:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	printf ("%s\n", reply_string + strlen ("336 "));
data/inetutils-1.9.4/ftp/ftp.c:366: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).
	memset (pass, 0, strlen (pass));
data/inetutils-1.9.4/ftp/ftp.c:374: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).
	memset (acct, 0, strlen (acct));
data/inetutils-1.9.4/ftp/ftp.c:384: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).
      memset (acct, 0, strlen (acct));
data/inetutils-1.9.4/ftp/ftp.c:481:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = getc (cin)) != '\n')
data/inetutils-1.9.4/ftp/ftp.c:485:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      switch (c = getc (cin))
data/inetutils-1.9.4/ftp/ftp.c:489:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc (cin);
data/inetutils-1.9.4/ftp/ftp.c:495:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc (cin);
data/inetutils-1.9.4/ftp/ftp.c:786:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = read (fileno (fin), buf, bufsize)) > 0)
data/inetutils-1.9.4/ftp/ftp.c:820:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = getc (fin)) != EOF)
data/inetutils-1.9.4/ftp/ftp.c:1056:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = read (fileno (din), buf, bufsize)) > 0)
data/inetutils-1.9.4/ftp/ftp.c:1107:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      if ((ch = getc (fout)) == EOF)
data/inetutils-1.9.4/ftp/ftp.c:1131:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = getc (din)) != EOF)
data/inetutils-1.9.4/ftp/ftp.c:1144:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      if ((c = getc (din)) != '\n' || tcrflag)
data/inetutils-1.9.4/ftp/ftp.c:1729:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ip->nti, ntin, sizeof (ntin) - 1);
data/inetutils-1.9.4/ftp/ftp.c:1732:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ip->nto, ntout, sizeof (ntout) - 1);
data/inetutils-1.9.4/ftp/ftp.c:1930: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).
  new = malloc (strlen (local) + 1 + 3 + 1);	/* '.' + 100 + '\0' */
data/inetutils-1.9.4/ftp/ftp.c:1938: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).
  cp = new + strlen (new);
data/inetutils-1.9.4/ftp/ftp.c:2010:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while (read (fileno (din), buf, sizeof (buf)) > 0)
data/inetutils-1.9.4/ftp/main.c:279:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *buf = malloc (strlen (pw->pw_dir) + 1);
data/inetutils-1.9.4/ftp/main.c:428: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).
      l = strlen (line);
data/inetutils-1.9.4/ftp/main.c:488: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).
  argbuf = malloc (strlen (line) + 4);
data/inetutils-1.9.4/ftp/ruserpass.c:216:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      *aname = xmalloc ((unsigned) strlen (tokval) + 1);
data/inetutils-1.9.4/ftp/ruserpass.c:238: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).
		  *apass = xmalloc ((unsigned) strlen (tokval) + 1);
data/inetutils-1.9.4/ftp/ruserpass.c:253: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).
		  *aacct = xmalloc ((unsigned) strlen (tokval) + 1);
data/inetutils-1.9.4/ftp/ruserpass.c:261:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      while (((c = getc (cfile)) != EOF && c == ' ') || c == '\t')
data/inetutils-1.9.4/ftp/ruserpass.c:276:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			  && (c = getc (cfile)) != EOF && !isspace (c);
data/inetutils-1.9.4/ftp/ruserpass.c:289:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  while ((c = getc (cfile)) != EOF && c != '\n');
data/inetutils-1.9.4/ftp/ruserpass.c:307:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  if ((c = getc (cfile)) == EOF)
data/inetutils-1.9.4/ftp/ruserpass.c:356:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc (cfile)) != EOF &&
data/inetutils-1.9.4/ftp/ruserpass.c:364:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = getc (cfile)) != EOF && c != '"')
data/inetutils-1.9.4/ftp/ruserpass.c:367:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    c = getc (cfile);
data/inetutils-1.9.4/ftp/ruserpass.c:374:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = getc (cfile)) != EOF
data/inetutils-1.9.4/ftp/ruserpass.c:378:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    c = getc (cfile);
data/inetutils-1.9.4/ftpd/auth.c:82:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = (size_t) (64 + strlen (name));
data/inetutils-1.9.4/ftpd/auth.c:215:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (p->pw_passwd == NULL || strlen (p->pw_passwd) == 1)
data/inetutils-1.9.4/ftpd/conf.c:139: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).
	  if (strncmp (p, name, strlen (name)) == 0
data/inetutils-1.9.4/ftpd/conf.c:140: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).
	      && (p[strlen (name)] == 0
data/inetutils-1.9.4/ftpd/conf.c:141: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).
		  || isblank (p[strlen (name)])))
data/inetutils-1.9.4/ftpd/ftpcmd.c:1130: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).
#   define yystrlen strlen
data/inetutils-1.9.4/ftpd/ftpcmd.c:1639: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).
			memset ((yyvsp[-1].s), 0, strlen ((yyvsp[-1].s)));
data/inetutils-1.9.4/ftpd/ftpcmd.c:2080:18:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
			    oldmask = umask (0);
data/inetutils-1.9.4/ftpd/ftpcmd.c:2081:8:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
			    umask (oldmask);
data/inetutils-1.9.4/ftpd/ftpcmd.c:2099:15:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
				oldmask = umask ((yyvsp[-1].i));
data/inetutils-1.9.4/ftpd/ftpcmd.c:2179: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).
			    version = malloc (strlen (u.sysname) + 1
data/inetutils-1.9.4/ftpd/ftpcmd.c:2180: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).
					      + strlen (u.release) + 1);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3318:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc (iop)) != EOF)
data/inetutils-1.9.4/ftpd/ftpcmd.c:3323:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc (iop);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3331:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc (iop);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3338:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  c = getc (iop);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3375:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  len = strlen (s);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3530: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).
	  n = strlen (cp);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3741: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).
  p = malloc (strlen (s) + 1);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3764: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).
      int len = strlen (c->name);
data/inetutils-1.9.4/ftpd/ftpcmd.c:3799: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).
	      w = strlen (c->name) + 1;
data/inetutils-1.9.4/ftpd/ftpcmd.c:3868:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((c = getc (fin)) != EOF)
data/inetutils-1.9.4/ftpd/ftpd.c:614: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).
      char *tmp = realloc (path, strlen (path) + 2);	/* '/' + '\0' */
data/inetutils-1.9.4/ftpd/ftpd.c:620:7:  [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 (tmp, "/");
data/inetutils-1.9.4/ftpd/ftpd.c:653: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 (s) + 1;
data/inetutils-1.9.4/ftpd/ftpd.c:759:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (defumask);
data/inetutils-1.9.4/ftpd/ftpd.c:825:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (curname, name, sizeof (curname) - 1);
data/inetutils-1.9.4/ftpd/ftpd.c:879:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      memset (pcred->passwd, 0, strlen (pcred->passwd));
data/inetutils-1.9.4/ftpd/ftpd.c:887: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).
      memset (pcred->pass, 0, strlen (pcred->pass));
data/inetutils-1.9.4/ftpd/ftpd.c:1022:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc (fin);
data/inetutils-1.9.4/ftpd/ftpd.c:1100:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc (fout);
data/inetutils-1.9.4/ftpd/ftpd.c:1388:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = getc (instr)) != EOF)
data/inetutils-1.9.4/ftpd/ftpd.c:1451:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((cnt = read (filefd, buf, (u_int) blksize)) > 0 &&
data/inetutils-1.9.4/ftpd/ftpd.c:1510:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((cnt = read (fileno (instr), buf, blksize)) > 0)
data/inetutils-1.9.4/ftpd/ftpd.c:1531:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((c = getc (instr)) != EOF)
data/inetutils-1.9.4/ftpd/ftpd.c:1540:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc (instr);
data/inetutils-1.9.4/ftpd/ftpd.c:1591:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc (fin)) != EOF)
data/inetutils-1.9.4/ftpd/ftpd.c:2089: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).
  string = malloc (strlen (local) + 5);	/* '.' + DIG + DIG + '\0' */
data/inetutils-1.9.4/ftpd/ftpd.c:2093: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).
      cp = string + strlen (string);
data/inetutils-1.9.4/ftpd/ftpd.c:2208: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).
	  byte_count += strlen (dirname) + 1;
data/inetutils-1.9.4/ftpd/ftpd.c:2228: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).
	  nbuf = alloca (strlen (dirname) + 1 + strlen (dir->d_name) + 1);
data/inetutils-1.9.4/ftpd/ftpd.c:2228: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).
	  nbuf = alloca (strlen (dirname) + 1 + strlen (dir->d_name) + 1);
data/inetutils-1.9.4/ftpd/ftpd.c:2247: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).
	      byte_count += strlen (nbuf) + 1;
data/inetutils-1.9.4/ftpd/pam.c:150:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      size_t len = strlen (pcred->message);
data/inetutils-1.9.4/ftpd/pam.c:152: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).
				 + strlen (msg[count]->msg) + 2);
data/inetutils-1.9.4/ftpd/pam.c:161: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 (pcred->message, "\n");
data/inetutils-1.9.4/ftpd/pam.c:174: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).
	      sp = pcred->message + strlen (pcred->message);
data/inetutils-1.9.4/ftpd/pam.c:266: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).
  char tty_name[strlen (TTY_FORMAT) + strlen ("9999999")];
data/inetutils-1.9.4/ftpd/pam.c:266:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char tty_name[strlen (TTY_FORMAT) + strlen ("9999999")];
data/inetutils-1.9.4/ifconfig/changeif.c:405:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ifr.ifr_name, ifp->name, IFNAMSIZ);
data/inetutils-1.9.4/ifconfig/flags.c:253: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 (fp->name) + 1;
data/inetutils-1.9.4/ifconfig/flags.c:279:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len += strlen (", ") * fcount;	/* Delimiters  */
data/inetutils-1.9.4/ifconfig/flags.c:282:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len += strlen (prefix);
data/inetutils-1.9.4/ifconfig/flags.c:284:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len += strlen (FLAGS_COMMENT);
data/inetutils-1.9.4/ifconfig/flags.c:291: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).
      p += strlen (prefix);
data/inetutils-1.9.4/ifconfig/flags.c:298:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen (fnames[i - 1])) == 0)
data/inetutils-1.9.4/ifconfig/flags.c:301: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).
      p += strlen (fnames[i]);
data/inetutils-1.9.4/ifconfig/flags.c:309: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).
  p += strlen (FLAGS_COMMENT);
data/inetutils-1.9.4/ifconfig/flags.c:345: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).
	    || *(start + strlen (fp->name)) != ':')
data/inetutils-1.9.4/ifconfig/flags.c:390: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).
  return if_nametoflag (name, strlen (name), prev);
data/inetutils-1.9.4/ifconfig/options.c:414: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).
	len = strlen (name);
data/inetutils-1.9.4/ifconfig/options.c:486: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).
      size_t len = strlen (buf);
data/inetutils-1.9.4/ifconfig/printif.c:1139: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).
	      argv = alloca (strlen (q) / 2);
data/inetutils-1.9.4/ifconfig/system/bsd.c:522:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ifm.ifm_name, form->ifr->ifr_name, sizeof (ifm.ifm_name));
data/inetutils-1.9.4/ifconfig/system/bsd.c:537:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ifm.ifm_name, form->ifr->ifr_name, sizeof (ifm.ifm_name));
data/inetutils-1.9.4/ifconfig/system/bsd.c:686:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ifm.ifm_name, form->ifr->ifr_name, sizeof (ifm.ifm_name));
data/inetutils-1.9.4/lib/argp-fmtstream.h:281:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t __len = strlen (__str);
data/inetutils-1.9.4/lib/argp-help.c:215:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if (strlen (un->name) == var_len
data/inetutils-1.9.4/lib/argp-help.c:878:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          unsigned hol_so_len = strlen (hol->short_options);
data/inetutils-1.9.4/lib/argp-help.c:880: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).
            malloc (hol_so_len + strlen (more->short_options) + 1);
data/inetutils-1.9.4/lib/argp-help.c:1304: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).
          space (stream, 6 + strlen (arg));
data/inetutils-1.9.4/lib/argp-help.c:1351: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).
      char *short_no_arg_opts = alloca (strlen (hol->short_options) + 1);
data/inetutils-1.9.4/lib/argp-namefrob.h:126:27:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc_unlocked(x) getc (x)
data/inetutils-1.9.4/lib/argp-namefrob.h:129:30:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define getchar_unlocked() getchar ()
data/inetutils-1.9.4/lib/basename-lgpl.c:63: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).
  for (len = strlen (name);  1 < len && ISSLASH (name[len - 1]);  len--)
data/inetutils-1.9.4/lib/chdir-long.c:117:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (dir);
data/inetutils-1.9.4/lib/error.c:207: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).
      size_t len = strlen (message) + 1;
data/inetutils-1.9.4/lib/filenamecat-lgpl.c:69: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).
  size_t baselen = strlen (base);
data/inetutils-1.9.4/lib/fnmatch.c:158: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).
# define STRLEN(S) strlen (S)
data/inetutils-1.9.4/lib/fnmatch.c:188: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).
#   define STRLEN(S) wcslen (S)
data/inetutils-1.9.4/lib/fnmatch.c:336:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return internal_fnmatch (pattern, string, string + strlen (string),
data/inetutils-1.9.4/lib/fopen.c:73:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen (filename);
data/inetutils-1.9.4/lib/fstatat.c:71: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 (file);
data/inetutils-1.9.4/lib/getcwd-lgpl.c:119: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).
      result = realloc (buf, strlen (buf) + 1);
data/inetutils-1.9.4/lib/getcwd.c:45: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).
# define _D_EXACT_NAMLEN(d) strlen ((d)->d_name)
data/inetutils-1.9.4/lib/getdelim.c:39:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc_maybe_unlocked(fp)        getc(fp)
data/inetutils-1.9.4/lib/getdelim.c:45:41:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc_maybe_unlocked(fp)        getc(fp)
data/inetutils-1.9.4/lib/getdomainname.c:71:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t result_len = strlen (result);
data/inetutils-1.9.4/lib/gethostname.c:55:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (name, uts.nodename, len);
data/inetutils-1.9.4/lib/gethostname.c:57:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy (name, "");            /* Hardcode your system name if you want.  */
data/inetutils-1.9.4/lib/getlogin_r.c:81: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).
  nlen = strlen (n);
data/inetutils-1.9.4/lib/getopt.c:268:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              int len = d->__nonoption_flags_max_len = strlen (orig_str);
data/inetutils-1.9.4/lib/getopt.c:516:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (namelen == (unsigned int) strlen (p->name))
data/inetutils-1.9.4/lib/getopt.c:622: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).
          d->__nextchar += strlen (d->__nextchar);
data/inetutils-1.9.4/lib/getopt.c:698: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).
                  d->__nextchar += strlen (d->__nextchar);
data/inetutils-1.9.4/lib/getopt.c:738: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).
                  d->__nextchar += strlen (d->__nextchar);
data/inetutils-1.9.4/lib/getopt.c:743: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).
          d->__nextchar += strlen (d->__nextchar);
data/inetutils-1.9.4/lib/getopt.c:936:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if ((unsigned int) (nameend - d->__nextchar) == strlen (p->name))
data/inetutils-1.9.4/lib/getopt.c:984: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).
            d->__nextchar += strlen (d->__nextchar);
data/inetutils-1.9.4/lib/getopt.c:1028: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).
                    d->__nextchar += strlen (d->__nextchar);
data/inetutils-1.9.4/lib/getopt.c:1066: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).
                    d->__nextchar += strlen (d->__nextchar);
data/inetutils-1.9.4/lib/getopt.c:1072: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).
            d->__nextchar += strlen (d->__nextchar);
data/inetutils-1.9.4/lib/gettext.h:214: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).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/inetutils-1.9.4/lib/gettext.h:215:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgid_len = strlen (msgid) + 1;
data/inetutils-1.9.4/lib/gettext.h:260: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).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/inetutils-1.9.4/lib/gettext.h:261:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgid_len = strlen (msgid) + 1;
data/inetutils-1.9.4/lib/getusershell.c:147:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc (stream)) != EOF && isspace (c))
data/inetutils-1.9.4/lib/getusershell.c:157:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc (stream);
data/inetutils-1.9.4/lib/glob.c:64: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).
# define _D_EXACT_NAMLEN(dirent) strlen ((dirent)->d_name)
data/inetutils-1.9.4/lib/glob.c:322: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).
          char onealt[strlen (pattern) - 1];
data/inetutils-1.9.4/lib/glob.c:324: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).
          char *onealt = malloc (strlen (pattern) - 1);
data/inetutils-1.9.4/lib/glob.c:367: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).
          rest_len = strlen (++rest) + 1;
data/inetutils-1.9.4/lib/glob.c:449: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).
          dirlen = strlen (pattern);
data/inetutils-1.9.4/lib/glob.c:584:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  size_t home_drive_len = strlen (home_drive);
data/inetutils-1.9.4/lib/glob.c:585:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  size_t home_path_len = strlen (home_path);
data/inetutils-1.9.4/lib/glob.c:663: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).
              dirlen = strlen (dirname);
data/inetutils-1.9.4/lib/glob.c:668:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              size_t home_len = strlen (home_dir);
data/inetutils-1.9.4/lib/glob.c:778:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              size_t home_len = strlen (home_dir);
data/inetutils-1.9.4/lib/glob.c:779:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              size_t rest_len = end_name == NULL ? 0 : strlen (end_name);
data/inetutils-1.9.4/lib/glob.c:1065:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t len = strlen (pglob->gl_pathv[i]) + 2;
data/inetutils-1.9.4/lib/glob.c:1073:13:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
            strcpy (&new[len - 2], "/");
data/inetutils-1.9.4/lib/glob.c:1140: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 dirlen = strlen (dirname);
data/inetutils-1.9.4/lib/glob.c:1169:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t eltlen = strlen (array[i]) + 1;
data/inetutils-1.9.4/lib/glob.c:1259:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t fnamelen = strlen (fname);
data/inetutils-1.9.4/lib/glob.c:1307: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 dirlen = strlen (directory);
data/inetutils-1.9.4/lib/glob.c:1343:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t patlen = strlen (pattern);
data/inetutils-1.9.4/lib/glob.c:1466: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).
      size_t len = strlen (pattern);
data/inetutils-1.9.4/lib/inet_ntop.c:230: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).
          tp += strlen (tp);
data/inetutils-1.9.4/lib/localcharset.c:104:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# undef getc
data/inetutils-1.9.4/lib/localcharset.c:105:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc getc_unlocked
data/inetutils-1.9.4/lib/localcharset.c:144:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t dir_len = strlen (dir);
data/inetutils-1.9.4/lib/localcharset.c:145:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t base_len = strlen (base);
data/inetutils-1.9.4/lib/localcharset.c:201:27:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      c = getc (fp);
data/inetutils-1.9.4/lib/localcharset.c:210:33:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            c = getc (fp);
data/inetutils-1.9.4/lib/localcharset.c:217:27:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                      if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
data/inetutils-1.9.4/lib/localcharset.c:219: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).
                      l1 = strlen (buf1);
data/inetutils-1.9.4/lib/localcharset.c:220: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).
                      l2 = strlen (buf2);
data/inetutils-1.9.4/lib/localcharset.c:591: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).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/inetutils-1.9.4/lib/localcharset.c:591:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/inetutils-1.9.4/lib/localcharset.c:595: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).
        codeset = aliases + strlen (aliases) + 1;
data/inetutils-1.9.4/lib/lstat.c:80: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 (file);
data/inetutils-1.9.4/lib/nl_langinfo.c:74: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).
  codesetlen = strlen (codeset);
data/inetutils-1.9.4/lib/open.c:109: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).
      size_t len = strlen (filename);
data/inetutils-1.9.4/lib/open.c:160: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).
      size_t len = strlen (filename);
data/inetutils-1.9.4/lib/openat-proc.c:91:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t bufsize = PROC_SELF_FD_NAME_SIZE_BOUND (strlen (file));
data/inetutils-1.9.4/lib/openat.c:97: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).
      size_t len = strlen (filename);
data/inetutils-1.9.4/lib/openat.c:124: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).
      size_t len = strlen (filename);
data/inetutils-1.9.4/lib/opendir.c:82:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p = dir_name_mask + strlen (dir_name_mask);
data/inetutils-1.9.4/lib/opendir.c:118:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            + strlen (dir_name_mask) + 1);
data/inetutils-1.9.4/lib/readutmp.c:50:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (trimmed_name, UT_USER (ut), sizeof (UT_USER (ut)));
data/inetutils-1.9.4/lib/readutmp.c:55: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).
  for (p = trimmed_name + strlen (trimmed_name);
data/inetutils-1.9.4/lib/regcomp.c:506:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ret = re_compile_internal (preg, pattern, strlen (pattern), syntax);
data/inetutils-1.9.4/lib/regcomp.c:561: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).
  msg_size = strlen (msg) + 1; /* Includes the null.  */
data/inetutils-1.9.4/lib/regcomp.c:734: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).
  ret = re_compile_internal (&re_comp_buf, s, strlen (s), re_syntax_options);
data/inetutils-1.9.4/lib/regcomp.c:802:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (dfa->re_str, pattern, length + 1);
data/inetutils-1.9.4/lib/regcomp.c:2724: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).
	   && strlen ((char *) start_elem->opr.name) > 1)
data/inetutils-1.9.4/lib/regcomp.c:2726: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).
	      && strlen ((char *) end_elem->opr.name) > 1), 0))
data/inetutils-1.9.4/lib/regcomp.c:2829:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t name_len = strlen ((const char *) name);
data/inetutils-1.9.4/lib/regcomp.c:2910:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  size_t sym_name_len = strlen ((char *) br_elem->opr.name);
data/inetutils-1.9.4/lib/regcomp.c:3041:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t name_len = strlen ((const char *) name);
data/inetutils-1.9.4/lib/regcomp.c:3559:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (BE (strlen ((const char *) name) != 1, 0))
data/inetutils-1.9.4/lib/regexec.c:244: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).
      length = strlen (string);
data/inetutils-1.9.4/lib/select.c:115:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  BOOL read, write, except;
data/inetutils-1.9.4/lib/select.c:222:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read && (rbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1)))))
data/inetutils-1.9.4/lib/setenv.c:118: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).
  const size_t namelen = strlen (name);
data/inetutils-1.9.4/lib/setenv.c:119: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).
  const size_t vallen = value != NULL ? strlen (value) + 1 : 0;
data/inetutils-1.9.4/lib/setenv.c:376: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).
          size_t len = strlen (value);
data/inetutils-1.9.4/lib/stat.c:88: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).
      size_t len = strlen (name);
data/inetutils-1.9.4/lib/stat.c:110: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).
      size_t len = strlen (name);
data/inetutils-1.9.4/lib/stdio.in.h:234:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef fgetc
data/inetutils-1.9.4/lib/stdio.in.h:235:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define fgetc rpl_fgetc
data/inetutils-1.9.4/lib/stdio.in.h:237:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
data/inetutils-1.9.4/lib/stdio.in.h:238:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (fgetc, int, (FILE *stream));
data/inetutils-1.9.4/lib/stdio.in.h:240:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (fgetc, int, (FILE *stream));
data/inetutils-1.9.4/lib/stdio.in.h:242:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (fgetc);
data/inetutils-1.9.4/lib/stdio.in.h:621:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef getc
data/inetutils-1.9.4/lib/stdio.in.h:622:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define getc rpl_fgetc
data/inetutils-1.9.4/lib/stdio.in.h:624:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1)));
data/inetutils-1.9.4/lib/stdio.in.h:625:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream));
data/inetutils-1.9.4/lib/stdio.in.h:627:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (getc, int, (FILE *stream));
data/inetutils-1.9.4/lib/stdio.in.h:629:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (getc);
data/inetutils-1.9.4/lib/stdio.in.h:635:11:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef getchar
data/inetutils-1.9.4/lib/stdio.in.h:636:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define getchar rpl_getchar
data/inetutils-1.9.4/lib/stdio.in.h:638:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (getchar, int, (void));
data/inetutils-1.9.4/lib/stdio.in.h:639:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (getchar, int, (void));
data/inetutils-1.9.4/lib/stdio.in.h:641:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS (getchar, int, (void));
data/inetutils-1.9.4/lib/stdio.in.h:643:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (getchar);
data/inetutils-1.9.4/lib/strdup.c:41: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/inetutils-1.9.4/lib/strerror.c:65: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 (msg);
data/inetutils-1.9.4/lib/string.in.h:378:11:  [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.
#   undef strncat
data/inetutils-1.9.4/lib/string.in.h:379:12:  [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.
#   define strncat rpl_strncat
data/inetutils-1.9.4/lib/string.in.h:381:19:  [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.
_GL_FUNCDECL_RPL (strncat, char *, (char *dest, const char *src, size_t n)
data/inetutils-1.9.4/lib/string.in.h:383:19:  [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.
_GL_CXXALIAS_RPL (strncat, char *, (char *dest, const char *src, size_t n));
data/inetutils-1.9.4/lib/string.in.h:385:19:  [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.
_GL_CXXALIAS_SYS (strncat, char *, (char *dest, const char *src, size_t n));
data/inetutils-1.9.4/lib/string.in.h:387:19:  [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.
_GL_CXXALIASWARN (strncat);
data/inetutils-1.9.4/lib/string.in.h:389:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
# undef strncat
data/inetutils-1.9.4/lib/string.in.h:391:18:  [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.
_GL_WARN_ON_USE (strncat, "strncat is unportable - "
data/inetutils-1.9.4/lib/tempname.c:132: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).
      plen = strlen (pfx);
data/inetutils-1.9.4/lib/tempname.c:160: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).
  dlen = strlen (dir);
data/inetutils-1.9.4/lib/tempname.c:208: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 (tmpl);
data/inetutils-1.9.4/lib/unistd.in.h:1245:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef read
data/inetutils-1.9.4/lib/unistd.in.h:1246:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define read rpl_read
data/inetutils-1.9.4/lib/unistd.in.h:1248:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count)
data/inetutils-1.9.4/lib/unistd.in.h:1250:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count));
data/inetutils-1.9.4/lib/unistd.in.h:1255:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS_CAST (read, ssize_t, (int fd, void *buf, size_t count));
data/inetutils-1.9.4/lib/unistd.in.h:1257:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (read);
data/inetutils-1.9.4/lib/unistd.in.h:1540:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#   undef usleep
data/inetutils-1.9.4/lib/unistd.in.h:1541:12:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#   define usleep rpl_usleep
data/inetutils-1.9.4/lib/unistd.in.h:1543:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_FUNCDECL_RPL (usleep, int, (useconds_t n));
data/inetutils-1.9.4/lib/unistd.in.h:1544:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIAS_RPL (usleep, int, (useconds_t n));
data/inetutils-1.9.4/lib/unistd.in.h:1547:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_FUNCDECL_SYS (usleep, int, (useconds_t n));
data/inetutils-1.9.4/lib/unistd.in.h:1549:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIAS_SYS (usleep, int, (useconds_t n));
data/inetutils-1.9.4/lib/unistd.in.h:1551:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIASWARN (usleep);
data/inetutils-1.9.4/lib/unistd.in.h:1553:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
# undef usleep
data/inetutils-1.9.4/lib/unistd.in.h:1555:18:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_WARN_ON_USE (usleep, "usleep is unportable - "
data/inetutils-1.9.4/lib/vasnprintf.c:229: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).
#  define local_wcslen wcslen
data/inetutils-1.9.4/lib/vasnprintf.c:1731: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).
            tmp_length = strlen (arg);
data/inetutils-1.9.4/lib/vasnprintf.c:2563:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      arg_end = arg + strlen (arg);
data/inetutils-1.9.4/lib/vasnprintf.c:3650:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                ndigits = strlen (digits);
data/inetutils-1.9.4/lib/vasnprintf.c:3710: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).
                                        ndigits = strlen (digits);
data/inetutils-1.9.4/lib/vasnprintf.c:3746:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        if (strlen (digits2) == precision + 1)
data/inetutils-1.9.4/lib/vasnprintf.c:3846: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).
                                        ndigits = strlen (digits);
data/inetutils-1.9.4/lib/vasnprintf.c:3882:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        if (strlen (digits2) == precision)
data/inetutils-1.9.4/lib/vasnprintf.c:4112:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                ndigits = strlen (digits);
data/inetutils-1.9.4/lib/vasnprintf.c:4169: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).
                                        ndigits = strlen (digits);
data/inetutils-1.9.4/lib/vasnprintf.c:4204:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        if (strlen (digits2) == precision + 1)
data/inetutils-1.9.4/lib/vasnprintf.c:4317: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).
                                        ndigits = strlen (digits);
data/inetutils-1.9.4/lib/vasnprintf.c:4352:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        if (strlen (digits2) == precision)
data/inetutils-1.9.4/lib/wchar.in.h:562: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).
_GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE);
data/inetutils-1.9.4/lib/wchar.in.h:564: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).
_GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s));
data/inetutils-1.9.4/lib/wchar.in.h:565: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).
_GL_CXXALIASWARN (wcslen);
data/inetutils-1.9.4/lib/wchar.in.h:567: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).
# undef wcslen
data/inetutils-1.9.4/lib/wchar.in.h:569:18:  [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).
_GL_WARN_ON_USE (wcslen, "wcslen is unportable - "
data/inetutils-1.9.4/lib/wchar.in.h:627:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_FUNCDECL_SYS (wcsncpy, wchar_t *,
data/inetutils-1.9.4/lib/wchar.in.h:630:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_CXXALIAS_SYS (wcsncpy, wchar_t *,
data/inetutils-1.9.4/lib/wchar.in.h:632:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_CXXALIASWARN (wcsncpy);
data/inetutils-1.9.4/lib/wchar.in.h:634:9:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
# undef wcsncpy
data/inetutils-1.9.4/lib/wchar.in.h:636:18:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_WARN_ON_USE (wcsncpy, "wcsncpy is unportable - "
data/inetutils-1.9.4/lib/wchar.in.h:680:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_FUNCDECL_SYS (wcsncat, wchar_t *,
data/inetutils-1.9.4/lib/wchar.in.h:683:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_CXXALIAS_SYS (wcsncat, wchar_t *,
data/inetutils-1.9.4/lib/wchar.in.h:685:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_CXXALIASWARN (wcsncat);
data/inetutils-1.9.4/lib/wchar.in.h:687:9:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
# undef wcsncat
data/inetutils-1.9.4/lib/wchar.in.h:689:18:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - "
data/inetutils-1.9.4/lib/xmalloc.c:121: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).
  return xmemdup (string, strlen (string) + 1);
data/inetutils-1.9.4/lib/xvasprintf.c:47: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).
      totalsize = xsum (totalsize, strlen (next));
data/inetutils-1.9.4/lib/xvasprintf.c:66: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).
      size_t len = strlen (next);
data/inetutils-1.9.4/libinetutils/argcv.c:74: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).
  int len = strlen (command);
data/inetutils-1.9.4/libinetutils/argcv.c:156: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).
      len += strlen (argv[i]) + 2;
data/inetutils-1.9.4/libinetutils/argcv.c:161:2:  [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 (buffer, " ");
data/inetutils-1.9.4/libinetutils/argcv.c:168: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).
      while (buffer[strlen (buffer) - 1] == ' ')
data/inetutils-1.9.4/libinetutils/argcv.c:170: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).
	  buffer[strlen (buffer) - 1] = '\0';
data/inetutils-1.9.4/libinetutils/if_index.c:51:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name));
data/inetutils-1.9.4/libinetutils/kcmd.c:166: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).
      host_save = malloc (strlen (fqdn) + 1);
data/inetutils-1.9.4/libinetutils/kcmd.c:173: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).
      host_save = malloc (strlen (ai->ai_canonname) + 1);
data/inetutils-1.9.4/libinetutils/kcmd.c:189: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).
  host_save = malloc (strlen (hp->h_name) + 1);
data/inetutils-1.9.4/libinetutils/kcmd.c:202:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      p = malloc ((host - *ahost) + strlen (host_save) + 1);
data/inetutils-1.9.4/libinetutils/kcmd.c:369: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).
      if (write (s, num, strlen (num) + 1) != (ssize_t) strlen (num) + 1)
data/inetutils-1.9.4/libinetutils/kcmd.c:369:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (write (s, num, strlen (num) + 1) != (ssize_t) strlen (num) + 1)
data/inetutils-1.9.4/libinetutils/kcmd.c:442: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).
  write (s, *remuser, strlen (*remuser) + 1);
data/inetutils-1.9.4/libinetutils/kcmd.c:444: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).
  write (s, cmd, strlen (cmd) + 1);
data/inetutils-1.9.4/libinetutils/kcmd.c:447: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).
    write (s, locuser, strlen (locuser) + 1);
data/inetutils-1.9.4/libinetutils/kcmd.c:449:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    write (s, *remuser, strlen (*remuser) + 1);
data/inetutils-1.9.4/libinetutils/kcmd.c:457:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (s, &c, sizeof (c));
data/inetutils-1.9.4/libinetutils/kcmd.c:469:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while (read (s, &c, 1) == 1)
data/inetutils-1.9.4/libinetutils/kerberos5.c:72: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).
  krb5len = strlen (krb5sendauth) + 1;
data/inetutils-1.9.4/libinetutils/kerberos5.c:78: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).
  krb5len = strlen (krb5sendclient) + 1;
data/inetutils-1.9.4/libinetutils/kerberos5.c:85:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read (sock, &auth, 1);
data/inetutils-1.9.4/libinetutils/kerberos5.c:91:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read (sock, errormsg, sizeof (errormsg) - 1);
data/inetutils-1.9.4/libinetutils/kerberos5.c:110: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).
  tmpserver = malloc (strlen (SERVICE) + strlen (sname) + 2);
data/inetutils-1.9.4/libinetutils/kerberos5.c:110: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).
  tmpserver = malloc (strlen (SERVICE) + strlen (sname) + 2);
data/inetutils-1.9.4/libinetutils/kerberos5.c:173:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read (sock, &rc, sizeof (rc));
data/inetutils-1.9.4/libinetutils/kerberos5.c:234: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).
      servername = malloc (sizeof (SERVICE) + strlen (server) + 2);
data/inetutils-1.9.4/libinetutils/kerberos5.c:278:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, &len, sizeof (int));
data/inetutils-1.9.4/libinetutils/kerberos5.c:293:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, buf, buflen);
data/inetutils-1.9.4/libinetutils/kerberos5.c:300: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 (krb5sendauth);
data/inetutils-1.9.4/libinetutils/kerberos5.c:313:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, &len, sizeof (int));
data/inetutils-1.9.4/libinetutils/kerberos5.c:327:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, buf, buflen);
data/inetutils-1.9.4/libinetutils/kerberos5.c:334: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 (krb5kcmd1);
data/inetutils-1.9.4/libinetutils/kerberos5.c:338: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 (krb5kcmd2);
data/inetutils-1.9.4/libinetutils/kerberos5.c:360:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, &len, sizeof (int));
data/inetutils-1.9.4/libinetutils/kerberos5.c:375:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, buf, buflen);
data/inetutils-1.9.4/libinetutils/logwtmp.c:129:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ut.ut_line, line, sizeof ut.ut_line);
data/inetutils-1.9.4/libinetutils/logwtmp.c:131:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ut.ut_user, name, sizeof ut.ut_user);
data/inetutils-1.9.4/libinetutils/logwtmp.c:133:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ut.ut_name, name, sizeof ut.ut_name);
data/inetutils-1.9.4/libinetutils/logwtmp.c:137:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ut.ut_host, host, sizeof ut.ut_host);
data/inetutils-1.9.4/libinetutils/logwtmp.c:139: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 (host) < sizeof (ut.ut_host))
data/inetutils-1.9.4/libinetutils/logwtmp.c:140: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).
    ut.ut_syslen = strlen (host) + 1;	/* Including NUL.  */
data/inetutils-1.9.4/libinetutils/logwtmpko.c:48:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ut.ut_line, line, sizeof ut.ut_line);
data/inetutils-1.9.4/libinetutils/logwtmpko.c:50:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ut.ut_user, name, sizeof ut.ut_user);
data/inetutils-1.9.4/libinetutils/logwtmpko.c:52:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ut.ut_name, name, sizeof ut.ut_name);
data/inetutils-1.9.4/libinetutils/logwtmpko.c:55:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ut.ut_host, host, sizeof ut.ut_host);
data/inetutils-1.9.4/libinetutils/logwtmpko.c:57: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 (host) < sizeof (ut.ut_host))
data/inetutils-1.9.4/libinetutils/logwtmpko.c:58: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).
    ut.ut_syslen = strlen (host) + 1;
data/inetutils-1.9.4/libinetutils/shishi.c:81: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).
  krb5len = strlen (krb5sendauth) + 1;
data/inetutils-1.9.4/libinetutils/shishi.c:87: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).
  krb5len = strlen (krb5sendclient) + 1;
data/inetutils-1.9.4/libinetutils/shishi.c:94:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read (sock, &auth, 1);
data/inetutils-1.9.4/libinetutils/shishi.c:100:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read (sock, errormsg, sizeof (errormsg) - 1);
data/inetutils-1.9.4/libinetutils/shishi.c:121: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).
  tmpserver = malloc (strlen (SERVICE) + strlen (sname) + 2);
data/inetutils-1.9.4/libinetutils/shishi.c:121: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).
  tmpserver = malloc (strlen (SERVICE) + strlen (sname) + 2);
data/inetutils-1.9.4/libinetutils/shishi.c:181:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  shishi_ap_authenticator_cksumdata_set (ap, cksumdata, strlen (cksumdata));
data/inetutils-1.9.4/libinetutils/shishi.c:216:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read (sock, &rc, sizeof (rc));
data/inetutils-1.9.4/libinetutils/shishi.c:229:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read (sock, (char *) &msglen, sizeof (int));
data/inetutils-1.9.4/libinetutils/shishi.c:233:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      outlen = read (sock, out, outlen);
data/inetutils-1.9.4/libinetutils/shishi.c:324: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).
      servername = malloc (sizeof (SERVICE) + strlen (server) + 2);
data/inetutils-1.9.4/libinetutils/shishi.c:368:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, &len, sizeof (int));
data/inetutils-1.9.4/libinetutils/shishi.c:383:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, buf, buflen);
data/inetutils-1.9.4/libinetutils/shishi.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 (krb5sendauth);
data/inetutils-1.9.4/libinetutils/shishi.c:403:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, &len, sizeof (int));
data/inetutils-1.9.4/libinetutils/shishi.c:417:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, buf, buflen);
data/inetutils-1.9.4/libinetutils/shishi.c:424: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 (krb5kcmd1);
data/inetutils-1.9.4/libinetutils/shishi.c:428: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 (krb5kcmd2);
data/inetutils-1.9.4/libinetutils/shishi.c:450:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, &len, sizeof (int));
data/inetutils-1.9.4/libinetutils/shishi.c:465:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, buf, buflen);
data/inetutils-1.9.4/libinetutils/shishi.c:587:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read (sock, &dlen, sizeof (int));
data/inetutils-1.9.4/libinetutils/shishi.c:652:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (sock, outbis, dlen);
data/inetutils-1.9.4/libinetutils/tftpsubs.c:173:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      b->counter = read (fileno (file), dp->th_data, SEGSIZE);
data/inetutils-1.9.4/libinetutils/tftpsubs.c:190:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  c = getc (file);
data/inetutils-1.9.4/libinetutils/ttymsg.c:87:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  device = malloc (sizeof PATH_TTY_PFX - 1 + strlen (line) + 1);
data/inetutils-1.9.4/libinetutils/ttymsg.c:98: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).
  if (strncmp (device, PATH_TTY_PFX, strlen (PATH_TTY_PFX)))
data/inetutils-1.9.4/libinetutils/ttymsg.c:262: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/inetutils-1.9.4/libinetutils/utmp_init.c:85:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (utx.ut_id, id, sizeof (utx.ut_id));
data/inetutils-1.9.4/libinetutils/utmp_init.c:88:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (utx.ut_user, user, sizeof (utx.ut_user));
data/inetutils-1.9.4/libinetutils/utmp_init.c:90:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (utx.ut_name, user, sizeof (utx.ut_name));
data/inetutils-1.9.4/libinetutils/utmp_init.c:93:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (utx.ut_host, host, sizeof (utx.ut_host));
data/inetutils-1.9.4/libinetutils/utmp_init.c:95: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 (host) < sizeof (utx.ut_host))
data/inetutils-1.9.4/libinetutils/utmp_init.c:96: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).
    utx.ut_syslen = strlen (host) + 1;
data/inetutils-1.9.4/libinetutils/utmp_init.c:105:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (utx.ut_line, line, sizeof (utx.ut_line));
data/inetutils-1.9.4/libinetutils/utmp_init.c:174:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (buf, tag, 2);
data/inetutils-1.9.4/libinetutils/utmp_init.c:175:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (buf + 2, line + strlen (line) - 2, 2);
data/inetutils-1.9.4/libinetutils/utmp_init.c:175: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).
  strncpy (buf + 2, line + strlen (line) - 2, 2);
data/inetutils-1.9.4/libinetutils/utmp_logout.c:75:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (utx.ut_line, line, sizeof (utx.ut_line));
data/inetutils-1.9.4/libinetutils/utmp_logout.c:124:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (utx.ut_line, line, sizeof (utx.ut_line));
data/inetutils-1.9.4/libls/fts.c:157:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if ((len = strlen (*argv)) == 0)
data/inetutils-1.9.4/libls/fts.c:243: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 (++cp);
data/inetutils-1.9.4/libls/fts.c:748: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).
      namlen = strlen (dp->d_name) + 1;
data/inetutils-1.9.4/libls/fts.c:1094: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).
    if ((len = strlen (*argv)) > max)
data/inetutils-1.9.4/libls/ls.c:538: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).
	      ulen = strlen (user);
data/inetutils-1.9.4/libls/ls.c:541: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).
	      glen = strlen (group);
data/inetutils-1.9.4/libls/ls.c:548: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).
		  flen = strlen (flags);
data/inetutils-1.9.4/libls/ls.c:592: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).
      d.s_block = strlen (umaxtostr (maxblock, buf));
data/inetutils-1.9.4/libls/ls.c:595: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).
      d.s_inode = strlen (umaxtostr (maxinode, buf));
data/inetutils-1.9.4/libls/ls.c:596: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).
      d.s_nlink = strlen (umaxtostr (maxnlink, buf));
data/inetutils-1.9.4/libls/ls.c:597: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).
      d.s_size = strlen (umaxtostr (maxsize, buf));
data/inetutils-1.9.4/libtelnet/forward.c:111: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).
  remote_host = (char *) malloc (strlen (hp->h_name) + 1);
data/inetutils-1.9.4/libtelnet/forward.c:164: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).
					 strlen (hrealms[0]),
data/inetutils-1.9.4/libtelnet/kerberos.c:138: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).
    c = strlen ((char *) cd);
data/inetutils-1.9.4/libtelnet/kerberos.c:215:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (instance, realm, sizeof (instance));
data/inetutils-1.9.4/libtelnet/kerberos.c:236: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).
  if (!auth_sendname (UserNameRequested, strlen (UserNameRequested)))
data/inetutils-1.9.4/libtelnet/kerberos.c:489:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (name, UserNameRequested, len);
data/inetutils-1.9.4/libtelnet/kerberos.c:514:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy ((char *) buf, " REJECT ", buflen);
data/inetutils-1.9.4/libtelnet/kerberos.c:518:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy ((char *) buf, " ACCEPT ", buflen);
data/inetutils-1.9.4/libtelnet/kerberos.c:531:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy ((char *) buf, " AUTH", buflen);
data/inetutils-1.9.4/libtelnet/kerberos.c:535:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy ((char *) buf, " CHALLENGE", buflen);
data/inetutils-1.9.4/libtelnet/kerberos.c:539:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy ((char *) buf, " RESPONSE", buflen);
data/inetutils-1.9.4/libtelnet/kerberos.c:544:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy ((char *) buf, lbuf, buflen);
data/inetutils-1.9.4/libtelnet/kerberos.c:550:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy ((char *) buf, lbuf, buflen);
data/inetutils-1.9.4/libtelnet/kerberos5.c:94: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).
    c = strlen ((char *) cd);
data/inetutils-1.9.4/libtelnet/kerberos5.c:232: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).
      rdata.length = strlen (dest_realm);
data/inetutils-1.9.4/libtelnet/kerberos5.c:306: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).
  if (!auth_sendname (UserNameRequested, strlen (UserNameRequested)))
data/inetutils-1.9.4/libtelnet/kerberos5.c:441:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (name, UserNameRequested, len);
data/inetutils-1.9.4/libtelnet/kerberos5.c:508:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (princ,
data/inetutils-1.9.4/libtelnet/kerberos5.c:523:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy (errbuf, "service name too long", errbuflen);
data/inetutils-1.9.4/libtelnet/shishi.c:73: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).
    c = strlen ((char *) cd);
data/inetutils-1.9.4/libtelnet/shishi.c:172: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).
  tmp = malloc (strlen ("host/") + strlen (RemoteHostName) + 1);
data/inetutils-1.9.4/libtelnet/shishi.c:172: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).
  tmp = malloc (strlen ("host/") + strlen (RemoteHostName) + 1);
data/inetutils-1.9.4/libtelnet/shishi.c:280: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).
  if (!auth_sendname (UserNameRequested, strlen (UserNameRequested)))
data/inetutils-1.9.4/libtelnet/shishi.c:412:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (name, UserNameRequested, len);
data/inetutils-1.9.4/libtelnet/shishi.c:476: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).
      server = malloc (strlen ("host/") + strlen (LocalHostName) + 1);
data/inetutils-1.9.4/libtelnet/shishi.c:476:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      server = malloc (strlen ("host/") + strlen (LocalHostName) + 1);
data/inetutils-1.9.4/libtelnet/shishi.c:492: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).
	  server = malloc (strlen ("host/") + strlen (p) + 1);
data/inetutils-1.9.4/libtelnet/shishi.c:492: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).
	  server = malloc (strlen ("host/") + strlen (p) + 1);
data/inetutils-1.9.4/ping/ping_common.c:295: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 (ipstr) + strlen (hoststr) + 4;	/* Pair of parentheses, a space
data/inetutils-1.9.4/ping/ping_common.c:295: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).
  len = strlen (ipstr) + strlen (hoststr) + 4;	/* Pair of parentheses, a space
data/inetutils-1.9.4/ping/ping_common.c:320: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 (ipstr) + 1;
data/inetutils-1.9.4/ping/ping_common.c:323: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 (hp->h_name) + 4;	/* parentheses, space, and NUL */
data/inetutils-1.9.4/src/hostname.c:235:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size = hostname_new ? strlen (hostname_new) : 0;
data/inetutils-1.9.4/src/hostname.c:261:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy (aliases, "");	/* Be honest about missing aliases.  */
data/inetutils-1.9.4/src/hostname.c:269: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).
          count += strlen (ht->h_aliases[i]);
data/inetutils-1.9.4/src/hostname.c:277:11:  [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 (aliases, " ");
data/inetutils-1.9.4/src/hostname.c:332: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).
          count += strlen (address);
data/inetutils-1.9.4/src/hostname.c:343:6:  [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 (addresses, " ");
data/inetutils-1.9.4/src/inetd.c:222:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (arg && strlen (arg))
data/inetutils-1.9.4/src/inetd.c:555: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).
    dupmem ((void**)pstr, strlen (*pstr) + 1);
data/inetutils-1.9.4/src/inetd.c:818: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).
      && (strspn (sep->se_node, IPV4_NUMCHARS) == strlen (sep->se_node)
data/inetutils-1.9.4/src/inetd.c:1031:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  if (argc == 1 && argv[0][strlen (argv[0]) - 1] == ':')
data/inetutils-1.9.4/src/inetd.c:1033: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).
	      argv[0][strlen (argv[0]) - 1] = 0;
data/inetutils-1.9.4/src/inetd.c:1428: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).
		      char *path = calloc (strlen (config_files[i])
data/inetutils-1.9.4/src/inetd.c:1429: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).
					   + strlen (dp->d_name) + 2, 1);
data/inetutils-1.9.4/src/inetd.c:1501:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (cp, buf, LastArg - cp);
data/inetutils-1.9.4/src/inetd.c:1502: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).
  cp += strlen (cp);
data/inetutils-1.9.4/src/inetd.c:1520:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((i = read (s, buffer, sizeof buffer)) > 0
data/inetutils-1.9.4/src/inetd.c:1556:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((ret = read (s, buffer, sizeof buffer)) > 0)
data/inetutils-1.9.4/src/inetd.c:1570:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read (s, buffer, sizeof buffer);
data/inetutils-1.9.4/src/inetd.c:1727: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).
  write (s, buffer, strlen (buffer));
data/inetutils-1.9.4/src/inetd.c:1750: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).
  sendto (s, buffer, strlen (buffer), 0, (struct sockaddr *) &sa, sizeof sa);
data/inetutils-1.9.4/src/inetd.c:1767:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read (fd, buf, len - count);
data/inetutils-1.9.4/src/inetd.c:1816: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).
	  write (s, sep->se_service, strlen (sep->se_service));
data/inetutils-1.9.4/src/inetd.c:1941: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).
  LastArg = envp[-1] + strlen (envp[-1]);
data/inetutils-1.9.4/src/logger.c:158: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 (host);
data/inetutils-1.9.4/src/logger.c:359: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 (pbuf);
data/inetutils-1.9.4/src/logger.c:365:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t msglen = strlen (msg);
data/inetutils-1.9.4/src/logger.c:534: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 (argv[i]) + 1;
data/inetutils-1.9.4/src/logger.c:539:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  len = strlen (argv[i]);
data/inetutils-1.9.4/src/rcp.c:247:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (arg && strlen (arg))
data/inetutils-1.9.4/src/rcp.c:362: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 (argc < 1 || (argc < 2 && !(target && strlen (target))))
data/inetutils-1.9.4/src/rcp.c:387:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!target || !strlen (target))
data/inetutils-1.9.4/src/rcp.c:583:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  len = strlen (PATH_CP) + strlen (argv[i]) +
data/inetutils-1.9.4/src/rcp.c:583: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).
	  len = strlen (PATH_CP) + strlen (argv[i]) +
data/inetutils-1.9.4/src/rcp.c:584:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen (target) + 20;
data/inetutils-1.9.4/src/rcp.c:696: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).
  return write (fd, buf, strlen (buf));
data/inetutils-1.9.4/src/rcp.c:750: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).
      write (rem, buf, strlen (buf));
data/inetutils-1.9.4/src/rcp.c:770:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      result = read (fd, bp->buf, amt);
data/inetutils-1.9.4/src/rcp.c:825:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    1 + sizeof (int) * 3 + 1 + sizeof (int) * 3 + 1 + strlen (last) + 2;
data/inetutils-1.9.4/src/rcp.c:835: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).
  write (rem, buf, strlen (buf));
data/inetutils-1.9.4/src/rcp.c:849: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).
      buf_len = strlen (name) + 1 + strlen (dp->d_name) + 1;
data/inetutils-1.9.4/src/rcp.c:849:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      buf_len = strlen (name) + 1 + strlen (dp->d_name) + 1;
data/inetutils-1.9.4/src/rcp.c:890:10:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  mask = umask (0);
data/inetutils-1.9.4/src/rcp.c:892:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask (mask);
data/inetutils-1.9.4/src/rcp.c:907:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read (rem, cp, 1) <= 0)
data/inetutils-1.9.4/src/rcp.c:913:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if (read (rem, &ch, sizeof ch) != sizeof ch)
data/inetutils-1.9.4/src/rcp.c:923:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    write (STDERR_FILENO, buf + 1, strlen (buf + 1));
data/inetutils-1.9.4/src/rcp.c:995: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).
	  need = strlen (targ) + strlen (cp) + 250;
data/inetutils-1.9.4/src/rcp.c:995: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).
	  need = strlen (targ) + strlen (cp) + 250;
data/inetutils-1.9.4/src/rcp.c:1082:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      j = read (rem, cp, amt);
data/inetutils-1.9.4/src/rcp.c:1200: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).
	  xbp = xmalloc (strlen (bp) + sizeof ("-x "));
data/inetutils-1.9.4/src/rcp.c:1316:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read (rem, &resp, sizeof resp) != sizeof resp)
data/inetutils-1.9.4/src/rcp.c:1331:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if (read (rem, &ch, sizeof (ch)) != sizeof (ch))
data/inetutils-1.9.4/src/rexec.c:219: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).
      n = strlen (password);
data/inetutils-1.9.4/src/rexec.c:359:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      safe_write (sock, port_str, strlen (port_str) + 1);
data/inetutils-1.9.4/src/rexec.c:378: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).
  safe_write (sock, arguments->user, strlen (arguments->user) + 1);
data/inetutils-1.9.4/src/rexec.c:379: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).
  safe_write (sock, arguments->password, strlen (arguments->password) + 1);
data/inetutils-1.9.4/src/rexec.c:380: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).
  safe_write (sock, arguments->command, strlen (arguments->command) + 1);
data/inetutils-1.9.4/src/rexec.c:406:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  err = read (stdin_fd, buffer, 1024);
data/inetutils-1.9.4/src/rexec.c:425:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          err = read (sock, buffer, 1024);
data/inetutils-1.9.4/src/rexec.c:452:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          err = read (err_sock, buffer, 1024);
data/inetutils-1.9.4/src/rexecd.c:294:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy (rhost, "(unknown)", sizeof (rhost));
data/inetutils-1.9.4/src/rexecd.c:305:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read (f, &c, 1) != 1)
data/inetutils-1.9.4/src/rexecd.c:538:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  if (read (s, &sig, 1) <= 0)
data/inetutils-1.9.4/src/rexecd.c:545:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  cc = read (pv[0], buf, sizeof (buf));
data/inetutils-1.9.4/src/rexecd.c:611: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 (homedir, pwd->pw_dir, sizeof (homedir) - sizeof ("HOME=") - 1);
data/inetutils-1.9.4/src/rexecd.c:612: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 (shell, pwd->pw_shell, sizeof (shell) - sizeof ("SHELL=") - 1);
data/inetutils-1.9.4/src/rexecd.c:613: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 (username, pwd->pw_name, sizeof (username) - sizeof ("USER=") - 1);
data/inetutils-1.9.4/src/rexecd.c:614: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 (logname, pwd->pw_name, sizeof (logname) - sizeof ("LOGNAME=") - 1);
data/inetutils-1.9.4/src/rexecd.c:615: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 (remotehost, rhost, sizeof (remotehost) - sizeof ("RHOST=") - 1);
data/inetutils-1.9.4/src/rexecd.c:698:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int rd = read (STDIN_FILENO, end, 1);
data/inetutils-1.9.4/src/rlogin.c:312:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (dest_realm_buf, arg, sizeof (dest_realm_buf));
data/inetutils-1.9.4/src/rlogin.c:982:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read (STDIN_FILENO, &c, 1);
data/inetutils-1.9.4/src/rlogin.c:1201:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		n = read (rem, rcvbuf + rcvcnt, sizeof (rcvbuf) - rcvcnt);
data/inetutils-1.9.4/src/rlogin.c:1208:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		n = read (rem, waste, sizeof waste);
data/inetutils-1.9.4/src/rlogin.c:1256:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  n = read (rem, waste, sizeof waste);
data/inetutils-1.9.4/src/rlogin.c:1346:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	rcvcnt = read (rem, rcvbuf, sizeof rcvbuf);
data/inetutils-1.9.4/src/rlogin.c:1456: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 (p);
data/inetutils-1.9.4/src/rlogind.c:399:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
     c = read(fd, buf, size);
data/inetutils-1.9.4/src/rlogind.c:413:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
     c = read(fd, buf, size);
data/inetutils-1.9.4/src/rlogind.c:423:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define ENC_READ(c, fd, buf, size, ap) c = read (fd, buf, size)
data/inetutils-1.9.4/src/rlogind.c:1223:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read (infd, &c, 1) != 1 || c != 0)
data/inetutils-1.9.4/src/rlogind.c:1687:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rc = read (infd, &error, sizeof (int));	/* XXX: not protocol */
data/inetutils-1.9.4/src/rlogind.c:1723:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen (cksumdata), &compcksum, &compcksumlen);
data/inetutils-1.9.4/src/rlogind.c:1791: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).
      int len = strlen (prefix);
data/inetutils-1.9.4/src/rlogind.c:1808: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).
      pos += strlen (buf);
data/inetutils-1.9.4/src/rlogind.c:1813:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read (infd, &c, 1) != 1)
data/inetutils-1.9.4/src/rlogind.c:1932:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  cc = read (p, &cntl, 1);
data/inetutils-1.9.4/src/rlogind.c:1994:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  pcc = read (p, dbuf, sizeof dbuf);
data/inetutils-1.9.4/src/rlogind.c:2114: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).
  for (p = name + strlen (name) - 1; p >= name; p--)
data/inetutils-1.9.4/src/rlogind.c:2148: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 (bp);
data/inetutils-1.9.4/src/rsh.c:382: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).
	  term = xmalloc (strlen (args) + 4);
data/inetutils-1.9.4/src/rsh.c:631:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      cc = read (STDIN_FILENO, buf, sizeof buf);
data/inetutils-1.9.4/src/rsh.c:723:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    cc = read (rfd2, buf, sizeof buf);
data/inetutils-1.9.4/src/rsh.c:746:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    cc = read (rem, buf, sizeof buf);
data/inetutils-1.9.4/src/rsh.c:813: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).
    cc += strlen (*ap) + 1;
data/inetutils-1.9.4/src/rshd.c:524:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (addrstr, inet_ntoa (((struct sockaddr_in *) fromp)->sin_addr),
data/inetutils-1.9.4/src/rshd.c:629:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      cc = read (sockfd, &c, 1);
data/inetutils-1.9.4/src/rshd.c:794:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    char *remotehost = alloca (strlen (hostname) + 1);
data/inetutils-1.9.4/src/rshd.c:853:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      strcpy (instance, "*");
data/inetutils-1.9.4/src/rshd.c:1013: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).
      if (strlen (cmdbuf) >= 3)
data/inetutils-1.9.4/src/rshd.c:1082:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    rc = read (STDIN_FILENO, &error, sizeof (int)); /* XXX: not protocol */
data/inetutils-1.9.4/src/rshd.c:1105: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).
			  cksumdata, strlen (cksumdata),
data/inetutils-1.9.4/src/rshd.c:1316:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!strncmp ("!", spwd->sp_pwdp, strlen ("!"))
data/inetutils-1.9.4/src/rshd.c:1317: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).
	    || !strncmp ("*LK*", spwd->sp_pwdp, strlen ("*OK*")))
data/inetutils-1.9.4/src/rshd.c:1352: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).
    if (!strncmp ("*LOCKED*", pwd->pw_passwd, strlen ("*LOCKED*")))
data/inetutils-1.9.4/src/rshd.c:1656:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    ret = read (s, &sig, 1);
data/inetutils-1.9.4/src/rshd.c:1665:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  cc = read (pv[0], buf, sizeof buf);
data/inetutils-1.9.4/src/rshd.c:1692:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  cc = read (pv1[0], buf, sizeof (buf));
data/inetutils-1.9.4/src/rshd.c:1898: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 (homedir, pwd->pw_dir, sizeof (homedir) - sizeof ("HOME=") - 1);
data/inetutils-1.9.4/src/rshd.c:1899: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 (path, PATH_DEFPATH, sizeof (path) - sizeof ("PATH=") - 1);
data/inetutils-1.9.4/src/rshd.c:1900: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 (shell, pwd->pw_shell, sizeof (shell) - sizeof ("SHELL=") - 1);
data/inetutils-1.9.4/src/rshd.c:1901: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 (username, pwd->pw_name, sizeof (username) - sizeof ("USER=") - 1);
data/inetutils-1.9.4/src/rshd.c:1902: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 (logname, pwd->pw_name, sizeof (logname) - sizeof ("LOGNAME=") - 1);
data/inetutils-1.9.4/src/rshd.c:1903: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 (rhost, hostname, sizeof (rhost) - sizeof ("RHOST=") - 1);
data/inetutils-1.9.4/src/rshd.c:1990: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).
  write (STDERR_FILENO, buf, len + strlen (bp));
data/inetutils-1.9.4/src/rshd.c:2008:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int rd = read (STDIN_FILENO, end, 1);
data/inetutils-1.9.4/src/rshd.c:2075: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).
  for (p = h + strlen (h); p >= h; p--)
data/inetutils-1.9.4/src/syslogd.c:746:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		result = read (fdarray[i].fd, &kline[kline_len],
data/inetutils-1.9.4/src/syslogd.c:868:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
# define SUN_LEN(unp) (strlen((unp)->sun_path) + 3)
data/inetutils-1.9.4/src/syslogd.c:893: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 (path) >= sizeof (sunx.sun_path))
data/inetutils-1.9.4/src/syslogd.c:904:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (sunx.sun_path, path, sizeof (sunx.sun_path) - 1);
data/inetutils-1.9.4/src/syslogd.c:994: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).
  while (p[strlen (p) - 1] == LIST_DELIMITER)
data/inetutils-1.9.4/src/syslogd.c:996: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).
      p[strlen (p) - 1] = '\0';
data/inetutils-1.9.4/src/syslogd.c:1035:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (oldlist[count], p, q - p);
data/inetutils-1.9.4/src/syslogd.c:1040:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  oldlist[count] = (char *) xmalloc ((strlen (p) + 1) * sizeof (char));
data/inetutils-1.9.4/src/syslogd.c:1125: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).
  lp = line + strlen (line);
data/inetutils-1.9.4/src/syslogd.c:1198: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).
  msglen = strlen (msg);
data/inetutils-1.9.4/src/syslogd.c:1281:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy (f->f_lasttime, timestamp, sizeof (f->f_lasttime) - 1);
data/inetutils-1.9.4/src/syslogd.c:1301:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy (f->f_lasttime, timestamp, sizeof (f->f_lasttime) - 1);
data/inetutils-1.9.4/src/syslogd.c:1344: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).
      v->iov_len = strlen (greetings);
data/inetutils-1.9.4/src/syslogd.c:1362: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).
      v->iov_len = strlen (v->iov_base);
data/inetutils-1.9.4/src/syslogd.c:1372: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).
      v->iov_len = strlen (msg);
data/inetutils-1.9.4/src/syslogd.c:1379: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).
      v->iov_len = strlen (repbuf);
data/inetutils-1.9.4/src/syslogd.c:1516: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).
	  l = strlen (line);
data/inetutils-1.9.4/src/syslogd.c:1643:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (line, utp->ut_line, sizeof (utp->ut_line));
data/inetutils-1.9.4/src/syslogd.c:1912: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).
      size_t len = strlen (cline);
data/inetutils-1.9.4/src/syslogd.c:2005: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).
      memmove (cline, p, strlen (p) + 1);
data/inetutils-1.9.4/src/syslogd.c:2340: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(p))
data/inetutils-1.9.4/src/syslogd.c:2452:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	      strncpy (f->f_un.f_user.f_unames[i], p, q - p);
data/inetutils-1.9.4/src/syslogd.c:2467: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).
	f->f_prognlen = strlen (selector);
data/inetutils-1.9.4/src/tftp.c:401:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t arg0_len = strlen (arg0);
data/inetutils-1.9.4/src/tftp.c:404:3:  [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 (line, " ");
data/inetutils-1.9.4/src/tftp.c:592: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 (cp) == 0)
data/inetutils-1.9.4/src/tftp.c:1242: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).
  arglen = strlen (name);
data/inetutils-1.9.4/src/tftp.c:1244:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (cp, name, len);
data/inetutils-1.9.4/src/tftp.c:1252: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).
  cp += strlen (mode);
data/inetutils-1.9.4/src/tftp.c:1300:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length = strlen (pe->e_msg) + 4;
data/inetutils-1.9.4/src/tftpd.c:236: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).
	      dirp->len = strlen (dirp->name);
data/inetutils-1.9.4/src/tftpd.c:605: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).
	  pathname = malloc (strlen (dirp->name) + 1 + strlen (filename) + 1);
data/inetutils-1.9.4/src/tftpd.c:605:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  pathname = malloc (strlen (dirp->name) + 1 + strlen (filename) + 1);
data/inetutils-1.9.4/src/tftpd.c:868:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length = strlen (pe->e_msg);
data/inetutils-1.9.4/src/traceroute.c:187:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  len = strlen (opt_gateways);
data/inetutils-1.9.4/src/traceroute.c:188:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  opt_gateways = xrealloc (opt_gateways, len + strlen (arg) + 3);
data/inetutils-1.9.4/src/uucpd.c:181:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read (STDIN_FILENO, &c, 1) <= 0)
data/inetutils-1.9.4/src/uucpd.c:300:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (ut.ut_line, line, sizeof (ut.ut_line));
data/inetutils-1.9.4/src/uucpd.c:358:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (remotehost, hp->h_name, sizeof (remotehost));
data/inetutils-1.9.4/src/uucpd.c:383:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (ut.ut_line, line, sizeof (ut.ut_line));
data/inetutils-1.9.4/src/uucpd.c:384:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (ut.ut_user, pw->pw_name, sizeof (ut.ut_user));
data/inetutils-1.9.4/src/uucpd.c:385:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (ut.ut_host, remotehost, sizeof (ut.ut_host));
data/inetutils-1.9.4/src/uucpd.c:387:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (remotehost) < sizeof (ut.ut_host))
data/inetutils-1.9.4/src/uucpd.c:388: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).
      ut.ut_syslen = strlen (remotehost) + 1;
data/inetutils-1.9.4/src/uucpd.c:403:22:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
# define SCPYN(a, b)	strncpy(a, b, sizeof (a))
data/inetutils-1.9.4/talk/get_names.c:136:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (msg.l_name, my_name, NAME_SIZE);
data/inetutils-1.9.4/talk/get_names.c:138:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (msg.r_name, his_name, NAME_SIZE);
data/inetutils-1.9.4/talk/get_names.c:140:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (msg.r_tty, his_tty, TTY_SIZE);
data/inetutils-1.9.4/talk/init_disp.c:195:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  cc = read (sockt, buf, sizeof (buf));
data/inetutils-1.9.4/talk/io.c:118:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  nb = read (sockt, buf, sizeof buf);
data/inetutils-1.9.4/talkd/acl.c:215: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 (ptr);
data/inetutils-1.9.4/talkd/acl.c:306: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).
    malloc (strlen (pw->pw_dir) + sizeof (USER_ACL_NAME) +
data/inetutils-1.9.4/talkd/announce.c:115: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).
  iovec.iov_len = strlen (buf);
data/inetutils-1.9.4/talkd/announce.c:135:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = sizeof (PATH_TTY_PFX) + strlen (request->r_tty) + 2;
data/inetutils-1.9.4/talkd/process.c:232:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	      strncpy (ftty + sizeof (PATH_TTY_PFX) - 1,
data/inetutils-1.9.4/telnet/authenc.c:122:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy (result, res, length);
data/inetutils-1.9.4/telnet/authenc.c:123: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).
	  memset (res, 0, strlen (res));
data/inetutils-1.9.4/telnet/commands.c:460:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  len = strlen (*cpp) + 3;
data/inetutils-1.9.4/telnet/commands.c:1910: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).
      cp = xmalloc (strlen (hostname) + strlen (cp2) + 1);
data/inetutils-1.9.4/telnet/commands.c:1910: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).
      cp = xmalloc (strlen (hostname) + strlen (cp2) + 1);
data/inetutils-1.9.4/telnet/commands.c:2060: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).
  int len = strlen (what);
data/inetutils-1.9.4/telnet/commands.c:2479:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (fgets (&line[strlen (line)],
data/inetutils-1.9.4/telnet/commands.c:2480: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).
		 sizeof (line) - strlen (line), stdin))
data/inetutils-1.9.4/telnet/commands.c:3073:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int l1 = strlen (m1);
data/inetutils-1.9.4/telnet/commands.c:3074:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int l2 = strlen (m2);
data/inetutils-1.9.4/telnet/commands.c:3111:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (line, &line[l1], sizeof (line) - l1);
data/inetutils-1.9.4/telnet/commands.c:3113:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (line, &line[l2], sizeof (line) - l2);
data/inetutils-1.9.4/telnet/commands.c:3115:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (line, &line[7], sizeof (line) - 7);
data/inetutils-1.9.4/telnet/sys_bsd.c:151:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read (tin, buf, n);
data/inetutils-1.9.4/telnet/sys_bsd.c:1283:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		  i = read (net, netiring.supply + c, canread - c);
data/inetutils-1.9.4/telnet/telnet.c:598: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).
  n = strlen (name) + 1;
data/inetutils-1.9.4/telnet/telnet.c:623:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if ((int) strlen (name) > 40)
data/inetutils-1.9.4/telnet/telnet.c:720:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((argv[1] == buf) && (strlen (argv[1]) == 2))
data/inetutils-1.9.4/telnet/telnet.c:803:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  if (tname && ((int) strlen (tname) <= 40))
data/inetutils-1.9.4/telnet/telnet.c:861:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  len = strlen (name) + 4 + 2;
data/inetutils-1.9.4/telnet/telnet.c:895:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  len = strlen ((char *) temp + 4) + 4;	/* temp[3] is 0 ... */
data/inetutils-1.9.4/telnet/telnet.c:1013: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 ((char *) dp) >= sizeof (temp) - 4 - 2)
data/inetutils-1.9.4/telnet/telnet.c:1024:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  len = strlen ((char *) temp + 4) + 4;	/* temp[3] is 0 ... */
data/inetutils-1.9.4/telnet/telnet.c:1733: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).
  if (opt_replyp + (vp ? strlen ((char *) vp) : 0) +
data/inetutils-1.9.4/telnet/telnet.c:1734: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).
      strlen ((char *) ep) + 6 > opt_replyend)
data/inetutils-1.9.4/telnet/tn3270.c:312: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).
  count = strlen (s);
data/inetutils-1.9.4/telnet/tn3270.c:452:7:  [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 (transcom, " ");
data/inetutils-1.9.4/telnet/utilities.c:138:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy ((char *) NetTraceFile, file, sizeof (NetTraceFile));
data/inetutils-1.9.4/telnet/utilities.c:1066: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).
  fwrite (string, 1, strlen (string), stderr);
data/inetutils-1.9.4/telnetd/telnetd.c:306: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).
	  length = strlen (tok);
data/inetutils-1.9.4/telnetd/telnetd.c:772: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).
      im = malloc (strlen (UNAME_IM_PREFIX)
data/inetutils-1.9.4/telnetd/telnetd.c:773: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).
		   + strlen (u.sysname)
data/inetutils-1.9.4/telnetd/telnetd.c:774: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).
		   + 1 + strlen (u.release) + strlen (UNAME_IM_SUFFIX) + 1);
data/inetutils-1.9.4/telnetd/telnetd.c:774:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		   + 1 + strlen (u.release) + strlen (UNAME_IM_SUFFIX) + 1);
data/inetutils-1.9.4/telnetd/telnetd.c:787: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).
  pty_input_putback (str, strlen (str));
data/inetutils-1.9.4/telnetd/utility.c:72:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read (p, ibuf, bufsize);
data/inetutils-1.9.4/telnetd/utility.c:206: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 (format) > remaining || BUFSIZ / 4 > remaining)
data/inetutils-1.9.4/telnetd/utility.c:270:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ncc = read (net, netibuf, sizeof (netibuf));
data/inetutils-1.9.4/telnetd/utility.c:369:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (ptyip, str, len);
data/inetutils-1.9.4/telnetd/utility.c:429:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ncc = read (net, netibuf, sizeof netibuf);
data/inetutils-1.9.4/telnetd/utility.c:680: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).
  write (f, buf, (int) strlen (buf));
data/inetutils-1.9.4/telnetd/utility.c:899:12:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  int um = umask (077);
data/inetutils-1.9.4/telnetd/utility.c:902:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (um);
data/inetutils-1.9.4/telnetd/utility.c:1817: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).
	obstack_grow (&exp->stk, p, strlen (p));
data/inetutils-1.9.4/tests/addrpeek.c:108:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      write (fd, *envp, strlen (*envp));
data/inetutils-1.9.4/tests/addrpeek.c:109: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).
      write (fd, SEPARATOR, strlen (SEPARATOR));
data/inetutils-1.9.4/tests/addrpeek.c:120:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strncmp (argv[j], "addr", strlen ("addr")) == 0)
data/inetutils-1.9.4/tests/addrpeek.c:126:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strncmp (argv[j], "env", strlen ("env")) == 0)
data/inetutils-1.9.4/whois/whois.c:118:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  obstack_grow (&query_stk, arg, strlen (arg));
data/inetutils-1.9.4/whois/whois.c:152: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).
      server = q = xmalloc (strlen (arg) + 1);
data/inetutils-1.9.4/whois/whois.c:235:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  obstack_grow (&query_stk, arg, strlen (arg));
data/inetutils-1.9.4/whois/whois.c:365: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).
	if (strncasecmp (s, nic_handles[i], strlen (nic_handles[i])) == 0)
data/inetutils-1.9.4/whois/whois.c:426: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).
  buf = xmalloc (strlen (flags) + strlen (query) + 10 + 2 + 1);
data/inetutils-1.9.4/whois/whois.c:426:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  buf = xmalloc (strlen (flags) + strlen (query) + 10 + 2 + 1);
data/inetutils-1.9.4/whois/whois.c:472: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 (write (sock, query, strlen (query)) < 0)
data/inetutils-1.9.4/whois/whois.c:479:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  if (strncmp (buf, hide_strings[i + 1], strlen (hide_strings[i + 1]))
data/inetutils-1.9.4/whois/whois.c:488:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if (strncmp (buf, hide_strings[i], strlen (hide_strings[i])) ==
data/inetutils-1.9.4/whois/whois.c:536: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).
  temp = xmalloc (strlen (query) + 1 + 2 + 1);
data/inetutils-1.9.4/whois/whois.c:542: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).
  if (write (sock, temp, strlen (temp)) < 0)
data/inetutils-1.9.4/whois/whois.c:555: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).
	  ret = xmalloc (strlen (p) + 1);

ANALYSIS SUMMARY:

Hits = 1874
Lines analyzed = 146928 in approximately 4.06 seconds (36190 lines/second)
Physical Source Lines of Code (SLOC) = 104630
Hits@level = [0] 1659 [1] 682 [2] 717 [3]  91 [4] 346 [5]  38
Hits@level+ = [0+] 3533 [1+] 1874 [2+] 1192 [3+] 475 [4+] 384 [5+]  38
Hits/KSLOC@level+ = [0+] 33.7666 [1+] 17.9107 [2+] 11.3925 [3+] 4.53981 [4+] 3.67008 [5+] 0.363185
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.