summaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-09-30 11:08:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-12 14:01:57 +0300
commit15ea288e1dc8ee90d9a04bb197f22599240e42c4 (patch)
tree1f96ed9c03a139cd9521ad6444d4290f41add60b /net/unix/sysctl_net_unix.c
parent75fcc07c8c1b383f14e47a419c3f3b565ae22f06 (diff)
downloadlinux-15ea288e1dc8ee90d9a04bb197f22599240e42c4.tar.xz
crypto: zstd - Fix compression bug caused by truncation
commit 81c1a15eb4a273eabedfcc28eb6afa4b50cb8a46 upstream. Use size_t for the return value of zstd_compress_cctx as otherwise negative errors will be truncated to a positive value. Reported-by: Han Xu <han.xu@nxp.com> Fixes: f5ad93ffb541 ("crypto: zstd - convert to acomp") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Reviewed-by: David Sterba <dsterba@suse.com> Tested-by: Han Xu <han.xu@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions