From 714a3731eb92261735900e245ae1c91d7bd4c232 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Tue, 14 Aug 2007 11:32:33 -0700 Subject: [PATCH] crypt32: Set return value on exception. Spotted by Paul Vriens. --- dlls/crypt32/msg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c index 70527bd627c..a68bf52a4f4 100644 --- a/dlls/crypt32/msg.c +++ b/dlls/crypt32/msg.c @@ -209,6 +209,7 @@ static BOOL CDataEncodeMsg_Update(HCRYPTMSG hCryptMsg, const BYTE *pbData, __EXCEPT_PAGE_FAULT { SetLastError(STATUS_ACCESS_VIOLATION); + ret = FALSE; } __ENDTRY; }