summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-06-14 13:34:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-05 14:37:21 +0200
commitf99737ce2e56eb7ee7cc6e7c9923d20ebd66714f (patch)
treee1fc2330d86ae87eb0553a791d982048f6696073 /drivers
parentac78351c96e8e58cf93e336ffdf0560a8f691b50 (diff)
xfrm: Oops on error in pfkey_msg2xfrm_state()
commit 1e3d0c2c70cd3edb5deed186c5f5c75f2b84a633 upstream. There are some missing error codes here so we accidentally return NULL instead of an error pointer. It results in a NULL pointer dereference. Fixes: df71837d5024 ("[LSM-IPSec]: Security association restriction.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions