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-09-18 20:52:24 +00:00
2019-02-04 21:28:25 +00:00
2019-05-23 20:12:24 +00:00
2019-03-08 10:03:16 +00:00
2019-03-20 21:48:43 +00:00
2017-10-31 00:07:04 +00:00
2019-04-19 10:52:54 +00:00
2018-12-18 16:47:03 +00:00
2019-01-05 16:05:39 +00:00
2019-06-25 04:50:09 +00:00