From: Armin Novak Date: Wed, 2 Mar 2016 08:16:49 +0000 (+0100) Subject: Fixed uninitialized variable. X-Git-Tag: 2.0.0-beta1+android10~286^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=227ecc4bd5b16adf7c379fd1b36096b568e18cda;p=platform%2Fupstream%2Ffreerdp.git Fixed uninitialized variable. --- diff --git a/winpr/libwinpr/crypto/crypto.c b/winpr/libwinpr/crypto/crypto.c index 4729a76..144222a 100644 --- a/winpr/libwinpr/crypto/crypto.c +++ b/winpr/libwinpr/crypto/crypto.c @@ -150,7 +150,7 @@ BOOL CryptProtectMemory(LPVOID pData, DWORD cbData, DWORD dwFlags) { BYTE* pCipherText; size_t cbOut, cbFinal; - WINPR_CIPHER_CTX* enc; + WINPR_CIPHER_CTX* enc = NULL; BYTE randomKey[256]; WINPR_PROTECTED_MEMORY_BLOCK* pMemBlock;