freebsd-dev/sbin/dhclient
Hans Petter Selasky 3492caf512 dhclient(8): Verify lease-, renewal- and rebinding-time option sizes.
Else out-of-bound reads and undefined behaviour may happen.
The current code only checked for the presence of the first of four bytes.
Make sure the fields in question have the minium size required.

No functional change intended.

Reviewed by:	rrs@
MFC after:	1 week
Sponsored by:	NVIDIA Networking
2022-11-14 16:47:21 +01:00
..
tests dhclient: fix pcp:pcp cleanup failure 2022-06-17 09:10:52 +02:00
alloc.c
bpf.c dhclient: support VID 0 (no vlan) decapsulation 2022-02-14 10:06:47 -05:00
clparse.c dhclient: skip_to_semi() consumes semicolon already 2021-08-19 09:11:38 -04:00
conflex.c bpf: Add an ioctl to set the VLAN Priority on packets sent by bpf 2021-07-26 23:13:31 +02:00
convert.c
dhclient-script dhclient-script: cope with /32 address leases 2022-10-05 12:24:31 +02:00
dhclient-script.8
dhclient.8
dhclient.c dhclient(8): Verify lease-, renewal- and rebinding-time option sizes. 2022-11-14 16:47:21 +01:00
dhclient.conf
dhclient.conf.5 bpf: Add an ioctl to set the VLAN Priority on packets sent by bpf 2021-07-26 23:13:31 +02:00
dhclient.leases.5 dhclient(8): Bugfixes for some issues reported by mandoc 2020-10-03 18:42:15 +00:00
dhcp-options.5 dhclient(8): Bugfixes for some issues reported by mandoc 2020-10-03 18:42:15 +00:00
dhcp.h
dhcpd.h bpf: Add an ioctl to set the VLAN Priority on packets sent by bpf 2021-07-26 23:13:31 +02:00
dhctoken.h bpf: Add an ioctl to set the VLAN Priority on packets sent by bpf 2021-07-26 23:13:31 +02:00
dispatch.c
errwarn.c
hash.c
inet.c
Makefile pkgbase: Put dhclient in its own package 2022-10-26 19:46:24 +02:00
Makefile.depend
Makefile.depend.options
options.c
packet.c dhclient: support VID 0 (no vlan) decapsulation 2022-02-14 10:06:47 -05:00
parse.c
privsep.c
privsep.h
tables.c
tree.c
tree.h