mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
ipv6: Check ip6_find_1stfragopt() return value properly.
[ Upstream commit7dd7eb9513] Do not use unsigned variables to see if it returns a negative error or not. Fixes:2423496af3("ipv6: Prevent overrun when parsing v6 header options") Reported-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a2c845e51a
commit
3fa202ef74
3 changed files with 12 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue