mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 13:00:15 +02:00
Windows: Validate any user handle permissions for syscall callbacks
In the terminate case, if we don't return early then we will delete the FEX thread object but the actual terminate call that follows will fail, leaving the thread in a bad state.
This commit is contained in:
1 parent
6f5d4fbf30
commit
b2b5ccf69c
4 files changed
+31
-1
No files matched your search
@@ -537,7 +537,7 @@ NTSTATUS WINAPI RtlWow64GetThreadContext(HANDLE, WOW64_CONTEXT*);
|
||||
NTSTATUS WINAPI RtlWow64SetThreadContext(HANDLE, const WOW64_CONTEXT*);
|
||||
void WINAPI Wow64ProcessPendingCrossProcessItems(void);
|
||||
NTSTATUS WINAPI Wow64SystemServiceEx(UINT, UINT*);
|
||||
NTSTATUS WINAPI RtlWow64SuspendThread(HANDLE,ULONG*);
|
||||
NTSTATUS WINAPI RtlWow64SuspendThread(HANDLE, ULONG*);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user