summaryrefslogtreecommitdiff
path: root/kernel/locking/mutex-debug.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-11-21 13:36:03 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-11-24 17:52:30 +0800
commitb0356b75f42fde15d4be268c5891f2cee6eb65bf (patch)
tree34ca03ca86e96f8dd5267e5f23ff132fd26a74f0 /kernel/locking/mutex-debug.c
parent80b61046b6899c6e881ff191aa99256d8e43cd58 (diff)
crypto: ahash - Fix crypto_ahash_import with partial block data
Restore the partial block buffer in crypto_ahash_import by copying it. Check whether the partial block buffer exceeds the maximum size and return -EOVERFLOW if it does. Zero the partial block buffer in crypto_ahash_import_core. Reported-by: T Pratham <t-pratham@ti.com> Tested-by: T Pratham <t-pratham@ti.com> Fixes: 9d7a0ab1c753 ("crypto: ahash - Handle partial blocks in API") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions