diff options
author | Chengming Zhou <[email protected]> | 2023-12-27 09:35:23 +0000 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2023-12-29 11:25:56 +0800 |
commit | 744e1885922a9943458954cfea917b31064b4131 (patch) | |
tree | 0e80906cca7dc8b91b8e2c243278562b57492981 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 44ff4ea133b5c3fa28fa3ef79fed80cac999f07c (diff) |
crypto: scomp - fix req->dst buffer overflow
The req->dst buffer size should be checked before copying from the
scomp_scratch->dst to avoid req->dst buffer overflow problem.
Fixes: 1ab53a77b772 ("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]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions