Module: wine Branch: master Commit: 30336441275f052a2baf61f63c5227fd0202a96b URL: https://gitlab.winehq.org/wine/wine/-/commit/30336441275f052a2baf61f63c5227f... Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Wed Sep 7 13:49:19 2022 -0700 wow64: Don't re-enter cpu_simulate() from exception filter. Avoids an eventual stack overflow in exception-heavy applications. --- dlls/wow64/syscall.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/wow64/syscall.c b/dlls/wow64/syscall.c index eb48f066b92..6709a575afa 100644 --- a/dlls/wow64/syscall.c +++ b/dlls/wow64/syscall.c @@ -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 */ return EXCEPTION_EXECUTE_HANDLER; }