aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2017-11-28 00:46:24 -0800
committerHerbert Xu <[email protected]>2017-11-29 13:39:14 +1100
commit887207ed9e5812ed9239b6d07185a2d35dda91db (patch)
treecadb413b15f8fd9699ad3f48638795a7bb9fb31e /tools/perf/scripts/python/export-to-postgresql.py
parentb32a7dc8aef1882fbf983eb354837488cc9d54dc (diff)
crypto: af_alg - fix NULL pointer dereference in
af_alg_free_areq_sgls() If allocating the ->tsgl member of 'struct af_alg_async_req' failed, during cleanup we dereferenced the NULL ->tsgl pointer in af_alg_free_areq_sgls(), because ->tsgl_entries was nonzero. Fix it by only freeing the ->tsgl list if it is non-NULL. This affected both algif_skcipher and algif_aead. Fixes: e870456d8e7c ("crypto: algif_skcipher - overhaul memory management") Fixes: d887c52d6ae4 ("crypto: algif_aead - overhaul memory management") Reported-by: syzbot <[email protected]> Cc: <[email protected]> # v4.14+ Signed-off-by: Eric Biggers <[email protected]> Reviewed-by: Stephan Mueller <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions