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

crypto: akcipher - Do not copy dst if it is NULL


As signature verification has a NULL destination buffer, the pointer
needs to be checked before the memcpy is done.

Fixes: addde1f2 ("crypto: akcipher - Add sync interface without SG lists")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 891ebfdf
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