diff options
| author | 2017-06-14 13:34:05 +0300 | |
|---|---|---|
| committer | 2017-06-14 12:40:49 +0200 | |
| commit | 1e3d0c2c70cd3edb5deed186c5f5c75f2b84a633 (patch) | |
| tree | 8bff776003643b91dca316de70cdb182990b34a5 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | xfrm: move xfrm_garbage_collect out of xfrm_policy_flush (diff) | |
| download | wireguard-linux-1e3d0c2c70cd3edb5deed186c5f5c75f2b84a633.tar.xz wireguard-linux-1e3d0c2c70cd3edb5deed186c5f5c75f2b84a633.zip | |
xfrm: Oops on error in pfkey_msg2xfrm_state()
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>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
