freebsd-skq/sbin/dhclient
brian b5a9006bf0 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
..
alloc.c
bpf.c When sending packets directly to the DHCP server, use a socket and send 2008-04-15 22:48:56 +00:00
clparse.c Implement RFC3442, the Classless Static Route option. 2007-02-09 17:50:26 +00:00
conflex.c
convert.c
dhclient-script Use the -n flag to route(8) when calling "route get". Otherwise we hang 2008-06-09 20:03:35 +00:00
dhclient-script.8
dhclient.8 - Remove references to unexisting man pages 2007-09-20 10:46:25 +00:00
dhclient.c Fix an off by one error when we limit append/prepend text sizes based on our 2009-06-08 21:42:30 +00:00
dhclient.conf Implement RFC3442, the Classless Static Route option. 2007-02-09 17:50:26 +00:00
dhclient.conf.5
dhclient.leases.5
dhcp-options.5 Correct RFC for NTP. 2006-02-06 19:22:34 +00:00
dhcp.h Support the remaining options listed in dhcp-options(5) and RFC 2132. 2008-10-17 13:28:53 +00:00
dhcpd.h
dhctoken.h
dispatch.c Teach dhclient(8) about net80211 link (association) status. 2007-12-05 17:13:45 +00:00
errwarn.c
hash.c
inet.c
Makefile
options.c
packet.c
parse.c
privsep.c
privsep.h
tables.c Support the remaining options listed in dhcp-options(5) and RFC 2132. 2008-10-17 13:28:53 +00:00
tree.c
tree.h