HardenedBSD/usr.sbin
amdmi3 e84416dd44 Fix crash on parsing some inf files
ndiscvt uses 16 entry array for words into which it parses
comma-separated lists of strings, like AddReg line in

    [somesection]
        AddReg = foo.reg, bar.reg, baz.reg, quiz.reg

Overflows were not checked so it crashed on a line with 17 words
encountered in some Broadcom/Dell Wireless 1704 802.11b-g-n driver

So extend the array up to 32 entries and add an overflow check.

Reviewed by:	bapt
Approved by:	bapt
MFC after:	2 weeks
Differential Revision:	D3713
2015-09-22 16:59:41 +00:00
..
ac
accton
acpi
adduser
amd
ancontrol
apm
apmd
arp
asf
audit
auditd
auditdistd
auditreduce
authpf
autofs
bhyve
bhyvectl
bhyveload
binmiscctl
bluetooth
boot0cfg
boot98cfg
bootparamd
bsdconfig
bsdinstall
bsnmpd
btxld
cdcontrol
chkgrp
chown
chroot
ckdist
clear_locks
config
cpucontrol
crashinfo
cron
crunch
ctladm
ctld
ctm
daemon
dconschat
devctl
devinfo
digictl
diskinfo
dumpcis
editmap
edquota
eeprom
etcupdate
extattr
extattrctl
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
freebsd-update
fstyp
ftp-proxy
fwcontrol
getfmac
getpmac
gpioctl
gssd
gstat
hyperv
i2c
ifmcstat
inetd
iostat
iovctl
ip6addrctl
ipfwpcap
iscsid
jail
jexec
jls
kbdcontrol
kbdmap
keyserv
kgmon
kgzip
kldxref
lastlogin
lmcconfig
lpr
lptcontrol
mailstats
mailwrapper
makefs
makemap
manctl
memcontrol
mergemaster
mfiutil
mixer
mld6query
mlxcontrol
mount_smbfs
mountd
moused
mptable
mptutil
mtest
mtree
nandsim
nandtool
ndiscvt
ndp
newsyslog
nfscbd
nfsd
nfsdumpstate
nfsrevoke
nfsuserd
ngctl
nghook
nmtree
nologin
nscd
ntp
nvram
ofwdump
pc-sysinstall
pciconf
periodic
pkg
pmcannotate
pmccontrol
pmcstat
pmcstudy
pnpinfo
portsnap
powerd
ppp
pppctl
praliases
praudit
procctl
pstat
pw
pwd_mkdb
quot
quotaon
rarpd
repquota
rip6query
rmt
route6d
rpc.lockd
rpc.statd
rpc.umntall
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd
rtadvctl
rtadvd
rtprio
rtsold
rwhod
sa
sendmail
service
services_mkdb
sesutil
setfib
setfmac
setpmac
sicontrol
smbmsg
snapinfo
spkrtest
spray
syslogd
sysrc
tcpdchk
tcpdmatch
tcpdrop
tcpdump
tests
timed
traceroute
traceroute6
trpt
tzsetup
uathload
uefisign
ugidfw
uhsoctl
unbound
usbconfig
usbdump
utx
vidcontrol
vigr
vipw
wake
watch
watchdogd
wlandebug
wlconfig
wpa
yp_mkdb
ypbind
yppoll
yppush
ypserv
ypset
zic
zzz
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.sparc64