commit | 1e532d2b49645e7cb76d5af6cb5bc4ec93d861ae | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Wed Jan 10 09:33:26 2018 +0100 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Wed Jan 10 09:45:11 2018 +0100 |
tree | 511cdfd2168fbdd9c5ab32573fca8c4e9299fc45 | |
parent | 374d1b5a81f7f9cc5e7f095ac3d5aff3f6600376 [diff] |
af_key: Fix memory leak in key_notify_policy. We leak the allocated out_skb in case pfkey_xfrm_policy2msg() fails. Fix this by freeing it on error. Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>