freebsd-dev/usr.sbin
Colin Percival 3d19fd3190 An empty file does not have a positive number of lines.
Make sure that the number of lines read is non-zero before in order to
avoid dumping core.

Reported by:	Wojciech A. Koszek
Pointy hat to:	cperciva
2005-11-20 00:50:30 +00:00
..
ac
accton
acpi Catch up with ACPI-CA 20051021 import 2005-11-01 22:44:08 +00:00
adduser
amd Respect the YES_HESIOD build variable 2005-08-06 16:52:30 +00:00
ancontrol
apm
apmd
arlcontrol
arp Some fixes for last commit. 2005-11-11 09:31:23 +00:00
asf Initialize uninitialized variables. 2005-09-21 05:33:46 +00:00
atm
authpf
bluetooth Fix typo in usage. 2005-09-01 22:45:25 +00:00
boot0cfg Attempt gctl verb "write MBR" when updating. 2005-07-15 08:04:32 +00:00
boot98cfg Merged from boot0cfg. 2005-07-15 15:32:52 +00:00
bootparamd
bsnmpd Use the new bsd.snmpmod.mk makefile to build the modules. The -I pointers 2005-11-10 10:14:57 +00:00
btxld
burncd - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
cdcontrol Use the new name H_SETSIZE instead of the old H_EVENT to set the history 2005-10-19 15:37:43 +00:00
chkgrp Fix a bug introduced in revision 1.9 which causes chkgrp to coredump on 2005-08-25 17:01:06 +00:00
chown
chroot
ckdist
config Minor comment tweak to prevent gcc from being upset about the substring 2005-11-07 18:45:46 +00:00
cron Pidfiles should be created with permission preventing users from opening 2005-09-16 11:24:28 +00:00
crunch
ctm
daemon Teach daemon(8) how to use pidfile(3). 2005-08-24 17:24:39 +00:00
dconschat
devinfo
digictl
diskinfo
dnssec-keygen Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
dnssec-signzone Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
editmap Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
edquota
eeprom
elf2exe
extattr
extattrctl
faithd
fdcontrol Make fdcontrol work again. It has been broken for a while. It tries 2005-10-26 22:23:52 +00:00
fdformat The default fill byte is 0xf6, not 0xf5. 2005-11-03 07:28:46 +00:00
fdread fdread cannot work without opening the /dev/fd node in O_RDWR mode now, 2005-10-26 22:28:38 +00:00
fdwrite
flowctl
fwcontrol
getfmac
getpmac
gstat
i4b Include <osreldate.h> at the top of the file. 2005-09-12 16:06:15 +00:00
ifmcstat
inetd Pidfiles should be created with permission preventing users from opening 2005-09-16 11:24:28 +00:00
iostat
ip6addrctl
ipfwpcap Add a small tool which captures packets on a DIVERT socket and writes 2005-10-17 20:27:15 +00:00
IPXrouted Declare iftraceinit() at file scope. 2005-08-05 07:17:23 +00:00
jail Note that the jail setup example is meant to be fed to sh(1), not csh(1). 2005-10-26 20:19:39 +00:00
jexec
jls Sync code with the error report: calloc(number, 1) is equivalent to 2005-08-19 11:03:49 +00:00
kbdcontrol - Fix spelling of 'multiplexer' 2005-07-21 22:50:31 +00:00
kbdmap Fixed two bugs in Perl to C conversion that prevented locale name 2005-06-30 05:31:01 +00:00
kernbb
keyserv
kgmon
kgzip
kldxref Skip .symbols files. 2005-11-11 08:13:18 +00:00
lastlogin
lmcconfig Add the lmcconfig tool for controlling the lmc driver. Add man pages and 2005-10-03 07:09:41 +00:00
lpr Use the new name H_SETSIZE instead of the old H_EVENT to set the history 2005-10-19 16:37:52 +00:00
lptcontrol
mailstats Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
mailwrapper
makemap Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
manctl
memcontrol
mergemaster Point to the right path under www.freebsd.org/doc for the Handbook 2005-07-20 12:50:49 +00:00
mixer Markup fixes. 2005-06-14 12:26:36 +00:00
mld6query
mlxcontrol
mount_nwfs
mount_portalfs Markup fixes. 2005-06-14 12:26:36 +00:00
mount_smbfs Convert mount_smbfs to use nmount(). 2005-11-16 02:47:12 +00:00
mountd Pidfiles should be created with permission preventing users from opening 2005-09-16 11:24:28 +00:00
moused -mdoc sweep. 2005-11-18 10:56:28 +00:00
mptable
mrouted Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
mtest
mtree If we fail in chown(2), try to just change the group and continue on to 2005-08-11 15:43:55 +00:00
named Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
named-checkconf Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
named-checkzone Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
named.reload
ndiscvt Clean up and apply the fix for PR 83477. The calculation for locating 2005-10-26 18:46:27 +00:00
ndp -mdoc sweep. 2005-11-18 10:56:28 +00:00
newsyslog Markup fixes. 2005-06-14 12:26:36 +00:00
nfsd
ngctl
nghook
nologin
ntp Add NO_OBJ, remove redundant SCRIPTSNAME. 2005-09-28 07:52:27 +00:00
ofwdump
pccard Remove now redundant NO_SHARED. 2005-10-17 15:28:25 +00:00
pciconf Use larger buffers to read lines from the vendor list. 2005-08-18 11:11:40 +00:00
pcvt Remove the vttest program. It lives in ports/sysutils/vttest now. 2005-07-21 16:40:40 +00:00
periodic
pkg_install -mdoc sweep. 2005-11-18 10:56:28 +00:00
pmccontrol The 'intr_bufferfull' driver statistic actually counts the number 2005-09-29 01:40:03 +00:00
pmcstat Warn the user if the kernel driver dropped samples or ran out of event buffers 2005-10-21 18:59:59 +00:00
pnpinfo
portsnap An empty file does not have a positive number of lines. 2005-11-20 00:50:30 +00:00
powerd -mdoc sweep. 2005-11-18 10:56:28 +00:00
ppp Fix a typo 2005-09-22 11:18:30 +00:00
pppctl
pppd Fix all the spelling mistakes I could find in the man pages for words 2005-07-31 03:30:48 +00:00
pppstats
praliases Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
procctl
pstat Print (total - used) as the amount of available swap for a swap device 2005-11-17 19:31:52 +00:00
pw Change /home symbolic link, so it will point to usr/home instead of /usr/home. 2005-07-31 08:25:53 +00:00
pwd_mkdb Correctly handle an input file without a newline on the last line (and 2005-06-15 10:13:04 +00:00
quot
quotaon
rarpd
raycontrol
repquota
rip6query
rmt Remove rexecd(8), a server that implements a particularly insecure 2005-06-10 20:52:36 +00:00
rndc Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
rndc-confgen Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
route6d
rpc.lockd When a user is in more than 16 groups the call to authunix_create() will 2005-11-17 12:19:19 +00:00
rpc.statd
rpc.umntall
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd
rtadvd fixed a typo in comment 2005-11-17 02:34:50 +00:00
rtprio
rtsold an English grammar fix 2005-06-09 09:28:35 +00:00
rwhod
sa
sade -mdoc sweep. 2005-11-18 10:56:28 +00:00
sendmail Make links for hoststat(8) and purgestat(8) man pages. 2005-08-17 02:36:31 +00:00
setfmac
setpmac
sicontrol
sliplogin
slstat Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
smbmsg
snapinfo snapinfo -- show snapshot location on UFS file systems 2005-07-20 18:59:25 +00:00
spkrtest
spray
sysinstall -mdoc sweep. 2005-11-18 10:56:28 +00:00
syslogd style(9) nitlet: 2005-10-17 16:51:06 +00:00
tcpdchk
tcpdmatch
tcpdrop - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
tcpdump update for v3.9.1 (releaes) 2005-07-11 04:14:42 +00:00
timed
traceroute
traceroute6
trpt
tzsetup
ugidfw Fixing an off-by-one error which results in 'ugidfw list' to complain about 2005-07-21 13:23:23 +00:00
usbd Up the count of busses supported by usbd(8) from 4 to 40. With the advent 2005-07-01 15:49:52 +00:00
usbdevs
vidcontrol Fix so that color changes are not lost when the video mode changes. 2005-09-17 12:52:04 +00:00
vipw s/insure/ensure/ in previous commit. My dictionary and m-w.com say they 2005-10-28 22:47:40 +00:00
vnconfig
watch Close the tty file descriptor once we're done with it. 2005-09-21 14:30:14 +00:00
watchdogd Report any errors we might see when disabling the watchdog. 2005-09-30 08:30:20 +00:00
wicontrol Spell powersavesleep correctly. 2005-08-22 09:59:13 +00:00
wlconfig
wpa Hide a diagnostic message under if (verbose) to avoid cluttering the 2005-10-21 16:57:57 +00:00
yp_mkdb
ypbind
yppoll
yppush
ypserv
ypset
zic
zzz
Makefile Hook ipfwpcap into the build tree. 2005-10-17 20:47:44 +00:00
Makefile.inc