Skip to content
Commit 6d65561f authored by Kangjie Lu's avatar Kangjie Lu Committed by Pablo Neira Ayuso
Browse files

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: 202a8ff5 ("netfilter: add IPv6 segment routing header 'srh' match")
Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent d1fa3810
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment