markj 27b624772a 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
..
2018-02-21 21:13:08 +00:00
2018-06-24 13:23:27 +00:00
2018-06-24 13:23:27 +00:00
2018-06-24 13:23:27 +00:00
2018-02-21 21:13:08 +00:00
2018-02-21 21:13:08 +00:00
2017-12-14 15:41:32 +00:00
2018-09-18 00:11:45 +00:00
2019-06-26 20:19:48 +00:00
2018-01-12 04:26:40 +00:00
2018-06-24 13:23:27 +00:00
2018-06-24 13:23:27 +00:00
2018-02-21 21:13:08 +00:00
2017-12-14 15:41:32 +00:00
2018-02-21 21:13:08 +00:00