Juan Lang : crypt32: Set ppSignerSig to NULL in case caller doesn' t check return value.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Mar 13 07:56:14 CDT 2007


Module: wine
Branch: master
Commit: 2f7b91d7be888acc23abe6ac52fb91e3100b3c09
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2f7b91d7be888acc23abe6ac52fb91e3100b3c09

Author: Juan Lang <juan_lang at yahoo.com>
Date:   Mon Mar 12 21:13:21 2007 -0700

crypt32: Set ppSignerSig to NULL in case caller doesn't check return value.

---

 dlls/crypt32/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/main.c b/dlls/crypt32/main.c
index dd9e1fb..f5d68d5 100644
--- a/dlls/crypt32/main.c
+++ b/dlls/crypt32/main.c
@@ -238,5 +238,7 @@ BOOL WINAPI CryptVerifyMessageSignature(PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,
     FIXME("stub: %p, %d, %p, %d, %p, %p, %p\n",
         pVerifyPara, dwSignerIndex, pbSignedBlob, cbSignedBlob,
         pbDecoded, pcbDecoded, ppSignerCert);
+    if (ppSignerCert)
+        *ppSignerCert = NULL;
     return FALSE;
 }




More information about the wine-cvs mailing list