diff options
author | David S. Miller <davem@davemloft.net> | 2017-05-18 04:54:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-18 04:54:11 +0200 |
commit | 7dd7eb9513bd02184d45f000ab69d78cb1fa1531 (patch) | |
tree | 069fed66bdc18c6043c981748bb28057fbc1bcf2 /kernel/kcmp.c | |
parent | selftests/bpf: fix broken build due to types.h (diff) | |
download | linux-7dd7eb9513bd02184d45f000ab69d78cb1fa1531.tar.xz linux-7dd7eb9513bd02184d45f000ab69d78cb1fa1531.zip |
ipv6: Check ip6_find_1stfragopt() return value properly.
Do not use unsigned variables to see if it returns a negative
error or not.
Fixes: 2423496af35d ("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>
Diffstat (limited to 'kernel/kcmp.c')
0 files changed, 0 insertions, 0 deletions