[PATCH] kernel32: use the correct pointer size in atl thunk (Coverity)
Marcus Meissner
marcus at jet.franken.de
Sat Feb 16 10:45:31 CST 2013
CID 981946
---
dlls/ntdll/signal_i386.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
{
--
1.7.10.4
More information about the wine-patches
mailing list