From 3051c8e900ef3302086c3a48f97ccf8b47f790e0 Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 9 Dec 2013 18:21:43 -0800 Subject: [PATCH] make sure Arrays elemets all set to 0 --- src/internal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/internal.c b/src/internal.c index dfb4a79b8..ffa120a2d 100644 --- a/src/internal.c +++ b/src/internal.c @@ -1636,6 +1636,7 @@ int InitSSL(CYASSL* ssl, CYASSL_CTX* ctx) CYASSL_MSG("Arrays Memory error"); return MEMORY_E; } + XMEMSET(ssl->arrays, 0, sizeof(Arrays)); #ifndef NO_PSK ssl->arrays->client_identity[0] = 0;