1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sbin
Brian Somers 043bcc8d44 Fix an off by one error when we limit append/prepend text sizes based on our
internal buffer sizes.

When we 'append', assume we're appending to text.  Some MS dhcp servers will
give us a string with the length including the trailing NUL.  when we 'append
domain-name', we get something like "search x.y\000 z" in resolv.conf :(

MFC after:	1 week
Security:	A buffer overflow (by one NUL byte) was possible.
2009-06-08 21:42:30 +00:00
..
adjkerntz
atacontrol Bring SATA revision reporting into conformance with SATA-IO guidelines. 2009-02-23 22:29:38 +00:00
atm Remove netatm from HEAD as it is not MPSAFE and relies on the now removed 2008-05-25 22:11:40 +00:00
badsect
bsdlabel o One more s/gpt/gpart/. 2008-11-05 09:28:30 +00:00
camcontrol
ccdconfig
clri
comcontrol
conscontrol
ddb Apply various fixes: 2008-12-24 11:12:21 +00:00
devd o Spell. Sort .Xrs. 2009-03-08 18:02:30 +00:00
devfs Support for filtering on major device number was removed in rev. 1.7 or 2008-06-27 09:09:50 +00:00
dhclient Fix an off by one error when we limit append/prepend text sizes based on our 2009-06-08 21:42:30 +00:00
dmesg
dump Make dump -W show the level correctly. 2009-05-29 07:26:44 +00:00
dumpfs Print disk offets as %jd rather than %lld; I fixed one before committing 2009-01-28 12:08:19 +00:00
dumpon
fdisk Bump the document date to reflect the 'p' command enhancements. 2009-05-25 21:27:31 +00:00
fdisk_pc98 Use the common PC98_SID_ACTIVE define instead of a local define. 2009-03-19 12:31:59 +00:00
ffsinfo
fsck Add the '-C' "check clean" flag. If the FS is marked clean, skip file 2009-01-30 18:33:05 +00:00
fsck_ffs Correct comment. 2009-06-03 09:23:31 +00:00
fsck_msdosfs
fsdb
fsirand
gbde
geom Change the printf format string to match the variable type to quiet 2009-06-08 15:54:07 +00:00
ggate The signature for a pthread function requires that it 2008-06-26 07:05:35 +00:00
growfs
gvinum Bump doc date for previous changes. 2009-04-11 08:49:15 +00:00
ifconfig Fix and add a workaround on an issue of EtherIP packet with reversed 2009-06-07 23:00:40 +00:00
init Static-ify procedures in init(8). 2008-09-27 00:09:10 +00:00
ipf
ipfw Permit the specification of bandwidth values within 2009-06-08 14:32:29 +00:00
iscontrol Big update to the iSCSI initiator code. Highlights include IPv6 support, 2008-11-25 07:17:11 +00:00
kldconfig
kldload Bump document date. 2009-06-05 03:06:24 +00:00
kldstat Only show the pathname in verbose output as intended in the last commit (r172862). 2008-12-22 19:52:21 +00:00
kldunload
ldconfig
mca
md5 Minor markup fix for the r186836 update. 2009-01-06 21:16:42 +00:00
mdconfig Add the possibility to specify "-o force" with "mdconfig -du". 2009-01-10 17:17:18 +00:00
mdmfs
mknod
mksnap_ffs Initialize iov and iovlen before use. 2009-06-02 18:30:09 +00:00
mount Add support for the experimental nfs client to mount_nfs. The 2009-05-27 19:56:51 +00:00
mount_autofs
mount_cd9660
mount_ext2fs
mount_hpfs
mount_msdosfs Add missing qualifier which was missed in the previous commit. 2009-01-05 12:10:22 +00:00
mount_nfs Code for parsing nmount options in kernel was merged 2009-06-01 00:40:39 +00:00
mount_ntfs Tone down warning about the quality of the NTFS VFS module. It appears that 2009-01-20 02:08:21 +00:00
mount_nullfs
mount_reiserfs
mount_std
mount_udf
mount_unionfs
natd Check rule numbers against maximum value to avoid rules cleanup due 2008-09-06 17:26:52 +00:00
newfs Slightly improve gjournal documentation. 2009-04-29 10:02:50 +00:00
newfs_msdos Style fixes to the newfs_msdos manpage. 2009-04-11 15:07:27 +00:00
nfsiod
nos-tun
pfctl
pflogd Let pflogd's Makefile just use WARNS instead of changing CFLAGS. 2009-04-23 09:11:37 +00:00
ping - improve readability 2009-01-11 22:36:45 +00:00
ping6 Implement -R support, similar to ping(8)'s -A. 2008-08-27 15:01:23 +00:00
quotacheck Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
rcorder Document the misleading nature of the REQUIRE line. The patch in 2008-06-09 09:07:58 +00:00
reboot Remove and unused variable. 2009-01-31 13:48:15 +00:00
recoverdisk Save (empty) worklist at successful completion 2009-03-23 11:07:34 +00:00
restore Make 'struct acl' larger, as required to support NFSv4 ACLs. Provide 2009-05-22 15:56:43 +00:00
route Extend route command: 2009-04-14 23:05:36 +00:00
routed Only raise WARNS to 6 on i386 and amd64, strict alignment platforms still 2009-04-06 07:13:26 +00:00
rtsol
savecore Correct the information about when the respective functionality first 2009-04-23 08:37:56 +00:00
sconfig Do not set IFF_DEBUG directly from the driver. 2008-06-30 21:18:27 +00:00
setkey o Add missed dot. 2008-09-29 05:31:27 +00:00
shutdown Note that when shutdown is run without options, it will place 2008-12-23 15:00:03 +00:00
spppcontrol
sunlabel
swapon Add a -q flag to swapon(8) to suppress informational messages. Use it in 2008-06-23 22:17:08 +00:00
sysctl The sysctl(8) program exits on some errors and only emits warnings on 2008-06-23 22:06:28 +00:00
tunefs Slightly improve gjournal documentation. 2009-04-29 10:02:50 +00:00
umount
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00
Makefile.inc