Commit 30336441 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard
Browse files

wow64: Don't re-enter cpu_simulate() from exception filter.

Avoids an eventual stack overflow in exception-heavy applications.
parent 25dce613
Pipeline #1903 skipped
......@@ -721,15 +721,12 @@ NTSTATUS WINAPI Wow64SystemServiceEx( UINT num, UINT *args )
static void cpu_simulate(void);
* simulate_filter
static LONG CALLBACK simulate_filter( EXCEPTION_POINTERS *ptrs )
Wow64PassExceptionToGuest( ptrs );
cpu_simulate(); /* re-enter simulation to run the exception dispatcher */
Supports Markdown
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