Re: [PATCH 1/2] udhcpc6: carry along length of packet when parsing it.

2018-05-24 Thread Kang-Che Sung
David Decotigny 於 2018年5月24日 週四 23:38 寫道: > This is to avoid parsing garbage past packet's actual end. > > Also const-ize params to a few functions. > > Signed-off-by: David Decotigny > I wonder if parsing such "garbage" has security implications. >

[PATCH 1/2] udhcpc6: carry along length of packet when parsing it.

2018-05-24 Thread David Decotigny
This is to avoid parsing garbage past packet's actual end. Also const-ize params to a few functions. Signed-off-by: David Decotigny --- networking/udhcp/d6_dhcpc.c | 40 +++-- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git