Re: [PATCH net-next] net: ndisc.c: reduce size of __ndisc_fill_addr_option()
From: Joe Perches <joe@perches.com>
Date: 2017-05-30 03:41:09
From: Joe Perches <joe@perches.com>
Date: 2017-05-30 03:41:09
On Mon, 2017-05-29 at 23:30 -0400, David Miller wrote:
From: yuan linyu <redacted> Date: Sat, 27 May 2017 06:00:52 +0800quoted
From: yuan linyu <redacted> Signed-off-by: yuan linyu <redacted>Applied, thanks.
OK, but is it really safe though? Could "space" (an int) ever be negative after subtracting "pad" and "data_len"?