Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
30336441
Commit
30336441
authored
Sep 07, 2022
by
Brendan Shanks
Committed by
Alexandre Julliard
Sep 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Don't re-enter cpu_simulate() from exception filter.
Avoids an eventual stack overflow in exception-heavy applications.
parent
25dce613
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
syscall.c
dlls/wow64/syscall.c
+0
-3
No files found.
dlls/wow64/syscall.c
View file @
30336441
...
@@ -721,15 +721,12 @@ NTSTATUS WINAPI Wow64SystemServiceEx( UINT num, UINT *args )
...
@@ -721,15 +721,12 @@ NTSTATUS WINAPI Wow64SystemServiceEx( UINT num, UINT *args )
}
}
static
void
cpu_simulate
(
void
);
/**********************************************************************
/**********************************************************************
* simulate_filter
* simulate_filter
*/
*/
static
LONG
CALLBACK
simulate_filter
(
EXCEPTION_POINTERS
*
ptrs
)
static
LONG
CALLBACK
simulate_filter
(
EXCEPTION_POINTERS
*
ptrs
)
{
{
Wow64PassExceptionToGuest
(
ptrs
);
Wow64PassExceptionToGuest
(
ptrs
);
cpu_simulate
();
/* re-enter simulation to run the exception dispatcher */
return
EXCEPTION_EXECUTE_HANDLER
;
return
EXCEPTION_EXECUTE_HANDLER
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment