ntdll: Correctly jump to the modified context after an exception on x86_64.
This commit is contained in:
parent
c1a1f0cfb4
commit
70c39c4456
|
@ -1685,6 +1685,7 @@ static void raise_segv_exception( EXCEPTION_RECORD *rec, CONTEXT *context )
|
||||||
}
|
}
|
||||||
status = raise_exception( rec, context, TRUE );
|
status = raise_exception( rec, context, TRUE );
|
||||||
if (status) raise_status( status, rec );
|
if (status) raise_status( status, rec );
|
||||||
|
set_cpu_context( context );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1697,6 +1698,7 @@ static void raise_generic_exception( EXCEPTION_RECORD *rec, CONTEXT *context )
|
||||||
{
|
{
|
||||||
NTSTATUS status = raise_exception( rec, context, TRUE );
|
NTSTATUS status = raise_exception( rec, context, TRUE );
|
||||||
if (status) raise_status( status, rec );
|
if (status) raise_status( status, rec );
|
||||||
|
set_cpu_context( context );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue