dhcp.c: improve input validation & length checks
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Mon, 13 Apr 2020 08:14:43 +0000 (09:14 +0100)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sun, 19 Apr 2020 20:51:38 +0000 (21:51 +0100)
commit796da66abd074037f3b48475772d65874cc6de54
treef8a7e36f34c2205d664c318c403d09bc11c5d248
parentad0b25ad74345d367c62311e14b279f5ccb8ef13
dhcp.c: improve input validation & length checks

Improve data & structure length validation.

Addresses CVE-2020-11752

Thanks to Guido Vranken <guido@guidovranken.com> for the report who
requested credit be given to 'ForAllSecure Mayhem'.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
dhcp.c