kernel32: Use the correct pointer size in atl thunk (Coverity).
This commit is contained in:
parent
c41f6add05
commit
fc179497bd
@ -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];
|
const struct atl_thunk *thunk = (const struct atl_thunk *)rec->ExceptionInformation[1];
|
||||||
BOOL ret = FALSE;
|
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
|
__TRY
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user