diff options
author | Zhang Yiqun <zhangyiqun@phytium.com.cn> | 2022-11-16 17:24:11 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-18 11:30:22 +0100 |
commit | e4ec2042899536b5a8f714b6eda4443d717f41bf (patch) | |
tree | 1f1cbb6a93cee8475c424fa1ca5e231694d088f4 /drivers | |
parent | f4d1c14e8b404766ff2bb8644bb19443d73965de (diff) | |
download | linux-stable-e4ec2042899536b5a8f714b6eda4443d717f41bf.tar.gz linux-stable-e4ec2042899536b5a8f714b6eda4443d717f41bf.tar.bz2 linux-stable-e4ec2042899536b5a8f714b6eda4443d717f41bf.zip |
crypto: tcrypt - Fix multibuffer skcipher speed test mem leak
[ Upstream commit 1aa33fc8d4032227253ceb736f47c52b859d9683 ]
In the past, the data for mb-skcipher test has been allocated
twice, that means the first allcated memory area is without
free, which may cause a potential memory leakage. So this
patch is to remove one allocation to fix this error.
Fixes: e161c5930c15 ("crypto: tcrypt - add multibuf skcipher...")
Signed-off-by: Zhang Yiqun <zhangyiqun@phytium.com.cn>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions