From 15918ebd99fd6c834572da79d6936f08391b1d1c Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Mon, 4 Jan 2016 13:18:43 -0700 Subject: [PATCH] initialize myStack to NULL for the later check against NULL --- wolfssl/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/test.h b/wolfssl/test.h index 1e4fa1373..a0d1719e1 100644 --- a/wolfssl/test.h +++ b/wolfssl/test.h @@ -1374,7 +1374,7 @@ typedef THREAD_RETURN WOLFSSL_THREAD (*thread_func)(void* args); static INLINE void StackSizeCheck(func_args* args, thread_func tf) { int ret, i, used; - unsigned char* myStack; + unsigned char* myStack = NULL; int stackSize = 1024*128; pthread_attr_t myAttr; pthread_t threadId;