summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-05-26 16:56:46 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-05-27 13:43:32 +0800
commit0a84874c7e7dde5cdddc80a82093120e924a348b (patch)
tree375258bee154e1288056eb10860a9f8ca6fd3ae0 /scripts/lib/kdoc/kdoc_output.py
parent2297554f01df6d3d4e98a3915c183ce3e491740a (diff)
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: syzbot+4851c19615d35f0e4d68@syzkaller.appspotmail.com Fixes: 7650f826f7b2 ("crypto: shash - Handle partial blocks in API") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions