diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-06-27 12:59:32 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-06-27 12:59:52 +0300 |
commit | 486bfb05913ac9969a3a71a4dc48f17f31cb162d (patch) | |
tree | 52e12ccce05a85fd41db07c74aca5059dd8a7d84 /drivers/char | |
parent | 891ebfdfa3d08bf55ebec523c99bb68ac9c34cf7 (diff) | |
download | linux-486bfb05913ac9969a3a71a4dc48f17f31cb162d.tar.xz |
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: addde1f2c966 ("crypto: akcipher - Add sync interface without SG lists")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions