freebsd-dev/sbin/dhclient
Conrad Meyer fb0eab090e dhclient: Fix the trivial buffer overruns correctly
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.

This is a follow-up to the incorrect r299512, reverted in r300172.

CIDs:		1008682, 1305550
Sponsored by:	EMC / Isilon Storage Division
2016-05-18 23:41:55 +00:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
alloc.c
bpf.c Remove duplicated includes. 2014-06-26 13:57:44 +00:00
clparse.c When acquiring a lease, record the value of the BOOTP siaddr field 2013-07-02 13:24:37 +00:00
conflex.c
convert.c
dhclient-script Set svn:executable on dhclient-script 2011-12-30 14:46:53 +00:00
dhclient-script.8 use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
dhclient.8 use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
dhclient.c dhclient: Fix the trivial buffer overruns correctly 2016-05-18 23:41:55 +00:00
dhclient.conf
dhclient.conf.5 mdoc: improvements to SEE ALSO. 2014-12-27 08:22:58 +00:00
dhclient.leases.5 mdoc: improvements to SEE ALSO. 2014-12-27 08:22:58 +00:00
dhcp-options.5 use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
dhcp.h
dhcpd.h MFp4 @229481: 2013-07-03 22:12:54 +00:00
dhctoken.h
dispatch.c
errwarn.c
hash.c
inet.c
Makefile Explicitly add more files to the 'runtime' package. 2016-02-09 20:19:31 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
options.c Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
packet.c Since r270929 raw sockets expect network byte order. 2014-09-11 05:48:39 +00:00
parse.c
privsep.c MFp4 @229481: 2013-07-03 22:12:54 +00:00
privsep.h MFp4 @229479: 2013-07-03 22:07:55 +00:00
tables.c
tree.c
tree.h