summaryrefslogtreecommitdiff
path: root/crypto/des_generic.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-06-27 17:59:32 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-06-27 17:59:52 +0800
commit694f883921cc737de4b2796b89cf45c3bcf6c6bc (patch)
treebd005eb831ba6c8877a2f52e68cbc4c7b717fcd0 /crypto/des_generic.c
parent694db3f4cf6a1389046cfa91bc7ea43a0bec064c (diff)
downloadlinux-crypto-694f883921cc737de4b2796b89cf45c3bcf6c6bc.tar.gz
linux-crypto-694f883921cc737de4b2796b89cf45c3bcf6c6bc.zip
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: 0041a491b5c3 ("crypto: akcipher - Add sync interface without SG lists") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/des_generic.c')
0 files changed, 0 insertions, 0 deletions