From 344c7fb8a83e8eaac2ea01aaa82c7108945c9dc7 Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 16 Mar 2022 14:45:44 +1100 Subject: [PATCH] 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) --- crypto/ec/ecp_nistz256.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/ec/ecp_nistz256.c b/crypto/ec/ecp_nistz256.c index a9982caef6..8a1a348817 100644 --- 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) { -- 2.34.1