Skip to content
Snippets Groups Projects
Commit 6e050778 authored by Herbert Xu's avatar Herbert Xu
Browse files

[CRYPTO] scatterwalk: Handle zero nbytes in scatterwalk_map_and_copy


It's better to return silently than crash and burn when someone feeds us
a zero length.  In particular the null digest algorithm when used as part
of authenc will do that to us.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ce5bd4ac
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment