commit | 486bfb05913ac9969a3a71a4dc48f17f31cb162d | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jun 27 17:59:32 2023 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jun 27 17:59:52 2023 +0800 |
tree | 52e12ccce05a85fd41db07c74aca5059dd8a7d84 | |
parent | 891ebfdfa3d08bf55ebec523c99bb68ac9c34cf7 [diff] |
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>