commit | 70cd9a51911e9a4e2f24e29ddd84fa9fcb778b63 | [log] [tgz] |
---|---|---|
author | Pauli <pauli@openssl.org> | Wed Mar 16 14:45:44 2022 +1100 |
committer | Pauli <pauli@openssl.org> | Mon Mar 21 07:58:45 2022 +1100 |
tree | a5897c520bbb814d3db679b6bc3ca75786a9791e | |
parent | 92cae9b42de1eec3da7ef6ccb36188ff61f3e0df [diff] |
Fix coverity 1498607: uninitialised value Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17897)
diff --git a/crypto/ec/ecp_nistz256.c b/crypto/ec/ecp_nistz256.c index ccd6895..77a6738 100644 --- a/crypto/ec/ecp_nistz256.c +++ b/crypto/ec/ecp_nistz256.c
@@ -978,6 +978,7 @@ return 0; } + memset(&p, 0, sizeof(p)); BN_CTX_start(ctx); if (scalar) {