udhcpc: check that 4-byte options are indeed 4-byte, closes 11506
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 17 Dec 2018 17:07:18 +0000 (18:07 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 17 Dec 2018 17:07:18 +0000 (18:07 +0100)
commit6d3b4bb24da9a07c263f3c1acf8df85382ff562c
tree62b1094f93c955774e8b2d4aee798029a5a71b7d
parent4b72aebe80aaa50a765d5ff61d7d67ed731502d9
udhcpc: check that 4-byte options are indeed 4-byte, closes 11506

function                                             old     new   delta
udhcp_get_option32                                     -      27     +27
udhcp_get_option                                     231     248     +17
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/0 up/down: 44/0)               Total: 44 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/common.c
networking/udhcp/common.h
networking/udhcp/dhcpc.c
networking/udhcp/dhcpd.c