aboutsummaryrefslogtreecommitdiffstats
path: root/net/strparser/strparser.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2025-05-26 08:56:46 +0000
committerHerbert Xu <[email protected]>2025-05-27 05:43:32 +0000
commit0a84874c7e7dde5cdddc80a82093120e924a348b (patch)
tree375258bee154e1288056eb10860a9f8ca6fd3ae0 /net/strparser/strparser.c
parentx86/fpu: Fix irq_fpu_usable() to return false during CPU onlining (diff)
downloadkernel-0a84874c7e7dde5cdddc80a82093120e924a348b.tar.gz
kernel-0a84874c7e7dde5cdddc80a82093120e924a348b.zip
crypto: shash - Fix buffer overrun in import function
Only set the partial block length to zero if the algorithm is block-only. Otherwise the descriptor context could be empty, e.g., for digest_null. Reported-by: [email protected] Fixes: 7650f826f7b2 ("crypto: shash - Handle partial blocks in API") Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/strparser/strparser.c')
0 files changed, 0 insertions, 0 deletions