freebsd-skq/sbin
cem 4f4388debd Fix braino in previous bugfix r300174
The previous revision missed the exact same error in a copy paste block
of the same code in another function.  Fix the identical case, too.

A DHCP client identifier is simply the hardware type (one byte)
concatenated with the hardware address (some variable number of bytes,
but at most 16).  Limit the size of the temporary buffer to match and
the rest of the calculations shake out correctly.

PR:		238022
Reported by:	Young <yangx92 AT hotmail.com>
Submitted by:	Young <yangx92 AT hotmail.com>
MFC after:	I don't plan to but you should feel free
Security:	yes
2019-11-29 03:31:47 +00:00
..
adjkerntz
bectl bectl(8): destroy: use BE_DESTROY_AUTOORIGIN if -o is not specified 2019-10-16 14:55:56 +00:00
bsdlabel Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
camcontrol Fix off-by-one error in HPA/AMA maximum reporting. 2019-11-22 15:41:47 +00:00
ccdconfig
clri
comcontrol Remove sio(4). 2019-11-21 01:24:49 +00:00
conscontrol Remove sio(4). 2019-11-21 01:24:49 +00:00
ddb ddb: use 'textdump dump' instead of 'call doadump' 2019-10-18 12:32:01 +00:00
decryptcore
devd Stop linking to libl by specifying we do not need yywrap 2019-09-10 08:19:46 +00:00
devfs
devmatch
dhclient Fix braino in previous bugfix r300174 2019-11-29 03:31:47 +00:00
dmesg
dump
dumpfs
dumpon
etherswitchcfg
fdisk Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
ffsinfo
fsck
fsck_ffs Replace an uninitialized variable with the correct element from the 2019-10-22 22:23:59 +00:00
fsck_msdosfs Avoid mixing cluster numbers and sector numbers. Makes code more readable. 2019-09-15 19:41:54 +00:00
fsdb
fsirand
gbde
geom
ggate Fix typo not -> nor and add 'the' because we are talking about specific flags 2019-09-06 15:01:47 +00:00
growfs
gvinum
hastctl
hastd
ifconfig ifconfig: add report of the string from SIOCGIFDOWNREASON. 2019-09-17 18:51:10 +00:00
init add ability to set watchdog timeout for a shutdown 2019-10-03 11:23:10 +00:00
ipf
ipfw Explicitly initialize the memory buffer to store O_ICMP6TYPE opcode. 2019-10-15 09:50:02 +00:00
iscontrol Fix formatting. 2019-08-08 20:56:52 +00:00
kldconfig
kldload
kldstat
kldunload
ldconfig
md5
mdconfig
mdmfs mdmfs(8): add -k skel option to populate fs from a skeleton 2019-11-01 03:10:53 +00:00
mknod
mksnap_ffs
mount Add two options to allow mount to avoid covering up existing mount points. 2019-09-23 04:28:07 +00:00
mount_cd9660
mount_fusefs mount_fusefs: fix a segfault on memory allocation failure 2019-09-07 21:49:01 +00:00
mount_msdosfs
mount_nfs
mount_nullfs
mount_udf
mount_unionfs
natd
newfs Correct the location of the first backup superblock in fsck_ffs.8. 2019-08-07 16:56:00 +00:00
newfs_msdos makefs: avoid warning when creating FAT filesystem on existing file 2019-11-08 14:11:25 +00:00
nfsiod pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
nos-tun pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
nvmecontrol Size is unsigned, so remove the test entirely. 2019-09-25 07:51:30 +00:00
pfctl pkgbase: pfctl: tests: Put tests files in the FreeBSD-tests package 2019-09-05 14:19:06 +00:00
pfilctl
pflogd
ping ping, ping6: Use setitimer(2) instead of obsolete alarm(3) 2019-11-26 05:06:25 +00:00
ping6 ping, ping6: Use setitimer(2) instead of obsolete alarm(3) 2019-11-26 05:06:25 +00:00
quotacheck
rcorder pkgbase: Move rc scripts and related files to their own packages 2019-09-05 14:08:45 +00:00
reboot Remove sio(4). 2019-11-21 01:24:49 +00:00
recoverdisk
resolvconf
restore
route
routed
rtsol
savecore
sconfig
setkey pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
shutdown
spppcontrol
sunlabel Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
swapon swap_pager.c reserves 2 blocks for a bsd label. Change that 2 to the 2019-08-15 02:30:44 +00:00
sysctl
tests
tunefs
umount
veriexec
zfsbootcfg
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc64
Makefile.sparc64