Skip to content
Commit 38369f54 authored by Steffen Klassert's avatar Steffen Klassert
Browse files

xfrm Fix potential error pointer dereference in xfrm_bundle_create.

We may derference an invalid pointer in the error path of
xfrm_bundle_create(). Fix this by returning this error
pointer directly instead of assigning it to xdst0.

Fixes: 45b018be

 ("ipsec: Create and use new helpers for dst child access.")
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent d9f92772
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment