diff options
author | 2019-05-25 19:09:35 +0100 | |
---|---|---|
committer | 2019-05-28 09:20:52 +0200 | |
commit | 7c80eb1c7e2b8420477fbc998971d62a648035d9 (patch) | |
tree | cfb13539258bde158acd4224ffa47aa482bbf3d7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfrm: Fix xfrm sel prefix length validation (diff) | |
download | wireguard-linux-7c80eb1c7e2b8420477fbc998971d62a648035d9.tar.xz wireguard-linux-7c80eb1c7e2b8420477fbc998971d62a648035d9.zip |
af_key: fix leaks in key_pol_get_resp and dump_sp.
In both functions, if pfkey_xfrm_policy2msg failed we leaked the newly
allocated sk_buff. Free it on error.
Fixes: 55569ce256ce ("Fix conversion between IPSEC_MODE_xxx and XFRM_MODE_xxx.")
Reported-by: syzbot+4f0529365f7f2208d9f0@syzkaller.appspotmail.com
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions