diff options
author | 2018-09-17 20:24:32 +0300 | |
---|---|---|
committer | 2018-09-28 12:46:06 +0800 | |
commit | 3944f139d5592790b70bc64f197162e643a8512b (patch) | |
tree | d14df970cd0bc5de63b694bcb379ce65e5d5c52c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | crypto: s5p-sss: Add aes-ctr support (diff) | |
download | linux-rng-3944f139d5592790b70bc64f197162e643a8512b.tar.xz linux-rng-3944f139d5592790b70bc64f197162e643a8512b.zip |
crypto: fix a memory leak in rsa-kcs1pad's encryption mode
The encryption mode of pkcs1pad never uses out_sg and out_buf, so
there's no need to allocate the buffer, which presently is not even
being freed.
CC: Herbert Xu <herbert@gondor.apana.org.au>
CC: linux-crypto@vger.kernel.org
CC: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Dan Aloni <dan@kernelim.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions