udhcpc: check read of option length byte to be within packet
authorBrian Foley <bpfoley@google.com>
Tue, 25 Oct 2016 12:20:55 +0000 (14:20 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 25 Oct 2016 12:20:55 +0000 (14:20 +0200)
commitf9beeb22e2a4128ed85a8dc267d0823e5cfd3f47
tree6c83a9185531079940b7c5b0d687c253a4bced06
parent69312e87b008363575a6d6603f54f94d8150e1cc
udhcpc: check read of option length byte to be within packet

function                                             old     new   delta
udhcp_get_option                                     215     220      +5
udhcp_run_script                                     802     803      +1

Signed-off-by: Brian Foley <bpfoley@google.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/common.c
networking/udhcp/dhcpc.c