summaryrefslogtreecommitdiff
path: root/net/ipv6/xfrm6_protocol.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2014-04-29 07:50:44 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2014-04-29 08:41:12 +0200
commit61622cc6f29034d0479f7ac16f3d48f1eeabf3a1 (patch)
treeb49867c60edbdcff26cf967c42f103493991746e /net/ipv6/xfrm6_protocol.c
parenta32452366b7250c42e96a18ffc3ad8db9e0ca3c2 (diff)
xfrm4: Properly handle unsupported protocols
We don't catch the case if an unsupported protocol is submitted to the xfrm4 protocol handlers, this can lead to NULL pointer dereferences. Fix this by adding the appropriate checks. Fixes: 3328715e ("xfrm4: Add IPsec protocol multiplexer") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv6/xfrm6_protocol.c')
0 files changed, 0 insertions, 0 deletions