summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2022-02-17 21:27:26 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2022-02-23 15:28:32 +1200
commit1fb37b5692c915edcc2448a6b37255738c7c77e0 (patch)
tree458d7f641ebf58f0b3e9aaab187f7db07a07d7fc /scripts
parentc143a603c9abf3297b87ce1d2827883c67efc385 (diff)
crypto: ccree - don't attempt 0 len DMA mappings
Refuse to try mapping zero bytes as this may cause a fault on some configurations / platforms and it seems the prev. attempt is not enough and we need to be more explicit. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Reported-by: Corentin Labbe <clabbe.montjoie@gmail.com> Fixes: ce0fc6db38de ("crypto: ccree - protect against empty or NULL scatterlists") Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions