diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-14 02:58:18 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-04 09:21:14 +0200 |
commit | f0028f723428b623dd990d34f711acb84e0d9e51 (patch) | |
tree | 23a740361b0eb53ac5216e61cf66e6d8cf5d520d /scripts/xz_wrap.sh | |
parent | 21fde4fcbbd2f64d9805abb3ecbe047ec47f3018 (diff) |
netfilter: ip6t_srh: fix NULL pointer dereferences
[ Upstream commit 6d65561f3d5ec933151939c543d006b79044e7a6 ]
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>
Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
Diffstat (limited to 'scripts/xz_wrap.sh')
0 files changed, 0 insertions, 0 deletions