Commit fc179497 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

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

parent c41f6add
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment