projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92cae9b
)
Fix coverity 1498607: uninitialised value
author
Pauli
<pauli@openssl.org>
Wed, 16 Mar 2022 03:45:44 +0000
(14:45 +1100)
committer
Pauli
<pauli@openssl.org>
Sun, 20 Mar 2022 20:58:45 +0000
(07:58 +1100)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17897)
crypto/ec/ecp_nistz256.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ecp_nistz256.c
b/crypto/ec/ecp_nistz256.c
index ccd6895cc545c168885ec8cb6531b5a7ee7568ff..77a67380ca8bbd65e2a6843b874851d0941b6828 100644
(file)
--- a/
crypto/ec/ecp_nistz256.c
+++ b/
crypto/ec/ecp_nistz256.c
@@
-978,6
+978,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) {