Marcus Meissner : kernel32: Use the correct pointer size in atl thunk ( Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Feb 18 13:27:05 CST 2013
Module: wine
Branch: master
Commit: fc179497bdb7cf852f2dfd3cd89e681b15511a7c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc179497bdb7cf852f2dfd3cd89e681b15511a7c
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Sat Feb 16 17:45:31 2013 +0100
kernel32: Use the correct pointer size in atl thunk (Coverity).
---
dlls/ntdll/signal_i386.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index 05ede34..0344a29 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -1569,7 +1569,7 @@ static BOOL check_atl_thunk( EXCEPTION_RECORD *rec, CONTEXT *context )
const struct atl_thunk *thunk = (const struct atl_thunk *)rec->ExceptionInformation[1];
BOOL ret = FALSE;
- if (!virtual_is_valid_code_address( thunk, sizeof(thunk) )) return FALSE;
+ if (!virtual_is_valid_code_address( thunk, sizeof(*thunk) )) return FALSE;
__TRY
{
More information about the wine-cvs
mailing list