Juan Lang : crypt32: Set return value on exception.
Module: wine Branch: master Commit: 714a3731eb92261735900e245ae1c91d7bd4c232 URL: http://source.winehq.org/git/wine.git/?a=commit;h=714a3731eb92261735900e245a... Author: Juan Lang <juan.lang(a)gmail.com> Date: Tue Aug 14 11:32:33 2007 -0700 crypt32: Set return value on exception. Spotted by Paul Vriens. --- dlls/crypt32/msg.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c index 70527bd..a68bf52 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; }
participants (1)
-
Alexandre Julliard