diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-14 02:58:18 -0500 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-03-18 16:22:48 +0100 |
commit | 6d65561f3d5ec933151939c543d006b79044e7a6 (patch) | |
tree | bfcad87e4a205701eff3744cedc290a6d7649113 /net/netfilter | |
parent | d1fa381033eb718df5c602f64b6e88676138dfc6 (diff) | |
download | linux-6d65561f3d5ec933151939c543d006b79044e7a6.tar.gz linux-6d65561f3d5ec933151939c543d006b79044e7a6.tar.bz2 linux-6d65561f3d5ec933151939c543d006b79044e7a6.zip |
netfilter: ip6t_srh: fix NULL pointer dereferences
skb_header_pointer may return NULL. The current code dereference
its return values without a NULL check.
The fix inserts the checks to avoid NULL pointer dereferences.
Fixes: 202a8ff545cc ("netfilter: add IPv6 segment routing header 'srh' match")
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions