kernel32: Use the correct pointer size in atl thunk (Coverity).

This commit is contained in:
Marcus Meissner 2013-02-16 17:45:31 +01:00 committed by Alexandre Julliard
parent c41f6add05
commit fc179497bd

View file

@ -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
{