From: Pauli Date: Wed, 16 Mar 2022 03:45:44 +0000 (+1100) Subject: Fix coverity 1498607: uninitialised value X-Git-Tag: OpenSSL_1_1_1o~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f1c42553dbaac97d38657cd1ac1209ef4c11e78;p=thirdparty%2Fopenssl.git Fix coverity 1498607: uninitialised value Reviewed-by: Tim Hudson Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17897) (cherry picked from commit 70cd9a51911e9a4e2f24e29ddd84fa9fcb778b63) --- diff --git a/crypto/ec/ecp_nistz256.c b/crypto/ec/ecp_nistz256.c index 5005249b05e..43eab75fa74 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) {