freebsd-nq/sbin/dhclient
Mark Johnston 5baf985da7 Free DHCP options with length zero.
Otherwise they are leaked, allowing an attacker to trigger memory
exhaustion.

This is options.c rev. 1.70 from OpenBSD.

admbugs:	552
Obtained from:	OpenBSD
MFC after:	3 days
2019-06-26 20:19:48 +00:00
..
tests
alloc.c
bpf.c capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
clparse.c
conflex.c
convert.c
dhclient-script
dhclient-script.8
dhclient.8
dhclient.c Further refine r336195: do not even attempt to verify/update interface's 2019-02-23 23:31:13 +00:00
dhclient.conf
dhclient.conf.5
dhclient.leases.5
dhcp-options.5
dhcp.h
dhcpd.h
dhctoken.h
dispatch.c
errwarn.c
hash.c
inet.c
Makefile
Makefile.depend
options.c Free DHCP options with length zero. 2019-06-26 20:19:48 +00:00
packet.c Avoid a divide-by-zero when bad checksum counters overflow. 2019-06-26 20:11:52 +00:00
parse.c
privsep.c
privsep.h
tables.c
tree.c
tree.h