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
21a3690a
Commit
21a3690a
authored
Jul 30, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Preserve TEB exception frame in Wow64KiUserCallbackDispatcher.
parent
de5f640a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
syscall.c
dlls/wow64/syscall.c
+3
-0
No files found.
dlls/wow64/syscall.c
View file @
21a3690a
...
...
@@ -850,6 +850,8 @@ void WINAPI Wow64ApcRoutine( ULONG_PTR arg1, ULONG_PTR arg2, ULONG_PTR arg3, CON
NTSTATUS
WINAPI
Wow64KiUserCallbackDispatcher
(
ULONG
id
,
void
*
args
,
ULONG
len
,
void
**
ret_ptr
,
ULONG
*
ret_len
)
{
TEB32
*
teb32
=
(
TEB32
*
)((
char
*
)
NtCurrentTeb
()
+
NtCurrentTeb
()
->
WowTebOffset
);
ULONG
teb_frame
=
teb32
->
Tib
.
ExceptionList
;
struct
user_callback_frame
frame
;
frame
.
prev_frame
=
NtCurrentTeb
()
->
TlsSlots
[
WOW64_TLS_USERCALLBACKDATA
];
...
...
@@ -916,6 +918,7 @@ NTSTATUS WINAPI Wow64KiUserCallbackDispatcher( ULONG id, void *args, ULONG len,
break
;
}
teb32
->
Tib
.
ExceptionList
=
teb_frame
;
NtCurrentTeb
()
->
TlsSlots
[
WOW64_TLS_USERCALLBACKDATA
]
=
frame
.
prev_frame
;
NtCurrentTeb
()
->
TlsSlots
[
WOW64_TLS_TEMPLIST
]
=
frame
.
temp_list
;
return
frame
.
status
;
...
...
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