freebsd-dev/usr.sbin
Conrad Meyer 6c546e77b6 bsdinstall(8): Sprinkle a snprintf to fixed size buffer
Use a snprintf to write an environment variable to a fixed-size buffer to
avoid stack overflow.

Reported by:	Coverity (CWE-120)
CID:		1238926
Sponsored by:	Dell EMC Isilon
2017-04-14 00:36:45 +00:00
..
ac
accton Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
acpi Use int to receive the return value of getopt function. 2017-04-07 22:58:31 +00:00
adduser
amd Fix build after r314656 2017-03-04 20:35:34 +00:00
ancontrol usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
apm
apmd
arp Introduce libxo support to arp(8) 2017-04-06 22:50:28 +00:00
asf
audit usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
auditd usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
auditdistd usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
auditreduce usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
authpf usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
autofs usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
bhyve Fix variable for sizeof() in previous commit. 2017-04-02 20:57:59 +00:00
bhyvectl usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
bhyveload usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
binmiscctl
blacklistctl
blacklistd
bluetooth usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
boot0cfg Use nitems() from sys/param.h 2017-03-11 04:00:27 +00:00
bootparamd
bsdconfig Remove SVR4 (System V Release 4) binary compatibility support. 2017-02-28 05:14:42 +00:00
bsdinstall bsdinstall(8): Sprinkle a snprintf to fixed size buffer 2017-04-14 00:36:45 +00:00
bsnmpd Use nitems() from sys/param.h. 2017-03-12 03:43:28 +00:00
btxld
camdd Use nitems() from sys/param.h. 2017-03-10 04:24:21 +00:00
cdcontrol
chkgrp
chown Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
chroot Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ckdist usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
clear_locks
config Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cpucontrol
crashinfo
cron usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
crunch Teach crunchide about EM_S390 to make bootstrapping from future 2017-01-10 14:40:30 +00:00
ctladm Split iscsi(4) ctl frontend off of ctl(4) as cfiscsi(4) 2017-03-30 04:56:27 +00:00
ctld Do not register in CTL portal groups without portals. 2017-04-10 10:38:12 +00:00
ctm ctm: Fix some trivial argv buffer overruns 2017-04-13 22:59:17 +00:00
cxgbetool Fix some trivial manlint warnings 2017-03-06 19:33:15 +00:00
daemon
dconschat usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
devctl
devinfo
digictl
diskinfo Quell Coverity for diskinfo(8) 2017-01-04 00:39:06 +00:00
dumpcis
editmap usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
edquota Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
eeprom usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
efidp efidp manipulates UEFI Device Paths in various ways. At the moment, it 2017-03-09 00:33:38 +00:00
efivar Finish implementing -d/--device/--device-path flag to print variable 2017-03-09 00:31:36 +00:00
etcupdate
extattr Don't assume NAME_MAX is 255 2017-04-04 21:36:13 +00:00
extattrctl
fdcontrol Remove the last vestiges of FDC_DEBUG & FD_DEBUG 2017-04-07 16:14:25 +00:00
fdformat usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
fdread Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
fdwrite
fifolog Use :H to manipulate .CURDIR-relative paths instead of ../ 2017-03-01 05:21:21 +00:00
flowctl
fmtree usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
freebsd-update
fstyp Improve formatting. 2017-03-19 16:17:42 +00:00
ftp-proxy usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
fwcontrol usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
getfmac
getpmac
gpioctl usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
gssd usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
gstat
hyperv usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
i2c More typos in strings. 2016-12-02 11:30:21 +00:00
ifmcstat Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
inetd Simplify a pipe for signal handling. 2017-03-20 17:57:24 +00:00
iostat Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
iovctl usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
ip6addrctl
ipfwpcap usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
iscsid Use nitems() from sys/param.h. 2017-03-11 04:03:13 +00:00
jail Same as r316022 (Fix hexadecimal escape codes in jail.conf(5)), 2017-03-27 13:37:40 +00:00
jexec
jls Improve IP address list representation in libxo output. 2016-12-24 23:51:27 +00:00
kbdcontrol
kbdmap
keyserv
kgmon Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
kgzip Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kldxref kldxref: bump MAXSEGS to 3 2017-02-10 19:17:10 +00:00
lastlogin
lmcconfig
lpr Fixes to chkprintcap: 2017-03-20 22:36:28 +00:00
lptcontrol
mailstats usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
mailwrapper Convert absolute links to relative links. 2017-03-07 05:10:38 +00:00
makefs makefs: Sync with NetBSD (fix unused variable warnings) 2017-04-07 02:31:55 +00:00
makemap usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
manctl
memcontrol
mergemaster mergemaster: fix description of -p 2017-03-07 04:13:22 +00:00
mfiutil Avoid taking the address of a packed struct member in mfiutil 2017-01-09 19:39:35 +00:00
mixer
mld6query
mlxcontrol usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
mount_smbfs usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
mountd usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
moused
mpsutil mpsutil(8): let calloc(3) do the multiplying. 2017-03-13 20:49:31 +00:00
mptable
mptutil "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
mtest
nandsim
nandtool
ndiscvt usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
ndp usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
newsyslog
nfscbd
nfsd Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsdumpstate
nfsrevoke
nfsuserd
ngctl
nghook
nmtree usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
nologin Convert absolute links to relative links. 2017-03-07 05:10:38 +00:00
nscd nscd(8): let calloc(3) do the multiplying. 2017-03-13 20:34:53 +00:00
ntp MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
nvram
ofwdump
pc-sysinstall Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
pciconf Add constants and descriptions for some new PCI class definitions 2017-03-13 07:45:15 +00:00
periodic Consolidate random sleeps in periodic scripts 2017-04-01 04:42:35 +00:00
pkg usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
pmcannotate
pmccontrol
pmcstat
pmcstudy
pnpinfo usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
portsnap Avoid division by zero in the rare case that portsnap needs to fetch 2016-12-16 22:37:16 +00:00
powerd
ppp ftp.microsoft.com is dead and the document was not archived, point to the full 2017-03-25 21:33:48 +00:00
pppctl
praliases usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
praudit Merge OpenBSM 1.2-alpha5 from vendor branch to FreeBSD -CURRENT: 2017-03-26 21:14:49 +00:00
procctl
prometheus_sysctl_exporter Add a Prometheus exporter for sysctl values. 2016-12-21 08:29:44 +00:00
pstat Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pw Add a regression test for r31512 fix 2017-03-25 10:47:58 +00:00
pwd_mkdb usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
quot prefix UFS symbols with UFS_ to reduce namespace pollution 2017-02-15 19:50:26 +00:00
quotaon Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rarpd
repquota Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rip6query usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
rmt Change /etc/rmt symlink from absolute to relative path, 2017-03-05 04:09:18 +00:00
route6d Purge varargs.h in favor of stdarg.h. 2017-01-13 08:01:27 +00:00
rpc.lockd Use .ALLSRC instead of RPCSRC 2017-03-01 04:12:24 +00:00
rpc.statd Use .ALLSRC instead of RPCSRC 2017-03-01 04:13:31 +00:00
rpc.umntall
rpc.yppasswdd Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:14:41 +00:00
rpc.ypupdated Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:16:40 +00:00
rpc.ypxfrd Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:22:23 +00:00
rpcbind usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
rrenumd rrenumd(8): Fix a trivial Coverity warning 2017-03-29 21:04:39 +00:00
rtadvctl usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
rtadvd Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rtprio
rtsold Garbage collect IFT_IEEE80211 (but leave the define for possible reuse) 2017-01-28 17:08:40 +00:00
rwhod Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sa usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
sendmail usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
service
services_mkdb
sesutil
setfib Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
setfmac
setpmac
smbmsg
snapinfo
spkrtest
spray
syslogd Fix a regression which prevented an IPv6 address in a -b option from 2017-03-20 17:46:33 +00:00
sysrc
tcpdchk Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:17:18 +00:00
tcpdmatch Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:17:18 +00:00
tcpdrop Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
tcpdump usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
tests
timed usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
traceroute Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:17:59 +00:00
traceroute6 Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:17:59 +00:00
trpt Hide struct inpcb, struct tcpcb from the userland. 2017-03-21 06:39:49 +00:00
tzsetup Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:23:53 +00:00
uathload Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 03:59:18 +00:00
uefisign
ugidfw
uhsoctl
unbound Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:41:59 +00:00
usbconfig
usbdump
utx
vidcontrol Fix a missing const in my previous commit which broke the build at 2017-04-03 15:11:28 +00:00
vigr
vipw Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
wake
watch
watchdogd
wlandebug
wpa Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-02 05:04:45 +00:00
yp_mkdb Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:02:36 +00:00
ypbind ypbind(8): let calloc(3) do the multiplying. 2017-03-13 20:51:00 +00:00
ypldap Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:18:28 +00:00
yppoll
yppush Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:24:24 +00:00
ypserv Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:24:56 +00:00
ypset
zic Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:35:21 +00:00
zonectl Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:19:04 +00:00
zzz
Makefile efidp manipulates UEFI Device Paths in various ways. At the moment, it 2017-03-09 00:33:38 +00:00
Makefile.amd64
Makefile.arm
Makefile.arm64
Makefile.i386 Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.sparc64