From 79e25bc05e1b01b339166fc55bd7eecd97fc3254 Mon Sep 17 00:00:00 2001 From: "git@daemon.de" Date: Mon, 10 Mar 2014 17:04:15 +0100 Subject: [PATCH] fixed use of uninitialized var x --- libpcp/scrypt/crypto/crypto_scrypt-nosse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpcp/scrypt/crypto/crypto_scrypt-nosse.c b/libpcp/scrypt/crypto/crypto_scrypt-nosse.c index cad4d0e..a79b2ac 100644 --- a/libpcp/scrypt/crypto/crypto_scrypt-nosse.c +++ b/libpcp/scrypt/crypto/crypto_scrypt-nosse.c @@ -79,7 +79,7 @@ blkxor(void * dest, void * src, size_t len) static void salsa20_8(uint32_t B[16]) { - uint32_t x[16]; + uint32_t x[16] = {0}; size_t i; blkcpy(x, B, 64);