diff options
author | Pauli <pauli@openssl.org> | 2022-03-16 14:45:44 +1100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-03-21 07:59:58 +1100 |
commit | 2f1c42553dbaac97d38657cd1ac1209ef4c11e78 (patch) | |
tree | 6f42b06e59b90d565923746a4dc1ae8ac23b59e8 /crypto/ec | |
parent | 0d9f48d079cbbe85c684c2215955c2a70b2d1c6b (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)
(cherry picked from commit 70cd9a51911e9a4e2f24e29ddd84fa9fcb778b63)
Diffstat (limited to 'crypto/ec')
-rw-r--r-- | crypto/ec/ecp_nistz256.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ec/ecp_nistz256.c b/crypto/ec/ecp_nistz256.c index 5005249b05..43eab75fa7 100644 --- a/crypto/ec/ecp_nistz256.c +++ b/crypto/ec/ecp_nistz256.c @@ -973,6 +973,7 @@ __owur static int ecp_nistz256_points_mul(const EC_GROUP *group, return 0; } + memset(&p, 0, sizeof(p)); BN_CTX_start(ctx); if (scalar) { |