ndisc: Check NS message length before access.
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Fri, 18 Jan 2013 02:05:03 +0000 (02:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2013 19:41:13 +0000 (14:41 -0500)
commit115b0aa6b444e8dd89b7f67b77b8c472763fbc1a
treed242f8dcb91fcaceb14011874c5d6a5f74f7e0de
parent12fd84f4383b15b0a12cfd50b7c527cd55d6f101
ndisc: Check NS message length before access.

Check message length before accessing "target" field,
as we do for other types.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c