From 6534ee1259e92ba9ed488967418f083638277cb6 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Fri, 3 Apr 2015 17:16:09 -0400 Subject: [PATCH] initialize variable --- src/ecmult_gen_impl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ecmult_gen_impl.h b/src/ecmult_gen_impl.h index 3146a93..fd18285 100644 --- a/src/ecmult_gen_impl.h +++ b/src/ecmult_gen_impl.h @@ -111,6 +111,7 @@ static void secp256k1_ecmult_gen(secp256k1_gej_t *r, const secp256k1_scalar_t *g secp256k1_ge_storage_t adds; int bits; int i, j; + memset(&adds, 0, sizeof(adds)); secp256k1_gej_set_infinity(r); add.infinity = 0; for (j = 0; j < 64; j++) {