HardenedBSD/usr.sbin
Bill Fenner 83fa788e4d Change strcpy() to strncpy() in several places, and give gethostname()
the real buffer size.  Note that the strncpy(domain, ...) doesn't need to
be a strncpy(), since it is copying from itself to itself, but belts
and suspenders don't hurt and this is not time-critical code.

Fixes the half of PR bin/1581 that wasn't fixed in rev 1.7

Submitted by:	Karl <karl@codebase.mcs.net>
1996-09-10 00:50:13 +00:00
..
ac
accton
adduser
amd
apm
apmconf
arp
bad144
bootparamd
cdcontrol
chown
chroot
config
cron
crunch
ctm
dev_mkdb
diskpart
edquota
fdcontrol
fdformat
fdwrite
inetd
iostat
IPXrouted
kbdcontrol
kbdmap
kernbb
keyadmin
kgmon
kvm_mkdb
lpr
lptcontrol
manctl
mixer
mkdosfs
mount_portalfs
mountd
moused Fix for the problem that moused hangs if it is started from /etc/rc 1996-09-09 18:47:47 +00:00
mrouted
mtree
named
named.reload
named.restart
ncrcontrol
ndc
newsyslog Doh! Actually read the patch I applied and see what it was *trying* to do, 1996-09-09 15:32:26 +00:00
nfsd
nologin
nslookup
pccard
pcvt
pkg_install
portmap
ppp
pppd
pppstats
pstat
pwd_mkdb
qcamcontrol
quot
quotaon
rarpd
repquota
rmt
rndcontrol
routed
rpc.lockd
rpc.statd
rpc.yppasswdd
rpc.ypxfrd
rtprio
rwhod
sa
sade
sendmail
sgsc
sicontrol
sliplogin
slstat
spkrtest
spray
stallion
sup
sysctl
sysinstall
syslogd
tcpdump
timed
traceroute Change strcpy() to strncpy() in several places, and give gethostname() 1996-09-10 00:50:13 +00:00
trpt
tzsetup
vidcontrol
vipw
vnconfig
watch
wormcontrol
xntpd
xten
yp_mkdb
ypbind
yppoll
yppush
ypserv
ypset
zic
Makefile
Makefile.inc