Module: wine Branch: master Commit: fc179497bdb7cf852f2dfd3cd89e681b15511a7c URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc179497bdb7cf852f2dfd3cd8...
Author: Marcus Meissner marcus@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 {