Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: scomp - fix req->dst buffer overflow
[ Upstream commit 744e188 ] The req->dst buffer size should be checked before copying from the scomp_scratch->dst to avoid req->dst buffer overflow problem. Fixes: 1ab53a7 ("crypto: acomp - add driver-side scomp interface") Reported-by: [email protected] Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Chengming Zhou <[email protected]> Reviewed-by: Barry Song <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information