aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorDan Aloni <[email protected]>2018-09-17 20:24:32 +0300
committerHerbert Xu <[email protected]>2018-09-28 12:46:06 +0800
commit3944f139d5592790b70bc64f197162e643a8512b (patch)
treed14df970cd0bc5de63b694bcb379ce65e5d5c52c /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentcdf640a69f44d2a728da85a9c65b4e99c56047a9 (diff)
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 <[email protected]> CC: [email protected] CC: "David S. Miller" <[email protected]> Signed-off-by: Dan Aloni <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions