Skip to content
Commit 8b06a24b authored by Antony Antony's avatar Antony Antony Committed by Steffen Klassert
Browse files

xfrm: fix possible derferencing in error path



Fix derferencing pointer when xfrm_policy_lookup_bytype returns an
 error.

Fixes: 63b21cab ("xfrm: introduce forwarding of ICMP Error messages")
Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/kernel-janitors/f6ef0d0d-96de-4e01-9dc3-c1b3a6338653@moroto.mountain/


Signed-off-by: default avatarAntony Antony <antony.antony@secunet.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent bccb798e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment