Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
901c8b90
Commit
901c8b90
authored
May 16, 2023
by
Paul Gofman
Committed by
Alexandre Julliard
May 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Handle context overlap in call_user_exception_dispatcher() on x64.
parent
a79d27c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
signal_x86_64.c
dlls/ntdll/unix/signal_x86_64.c
+3
-3
No files found.
dlls/ntdll/unix/signal_x86_64.c
View file @
901c8b90
...
...
@@ -1554,15 +1554,15 @@ NTSTATUS call_user_exception_dispatcher( EXCEPTION_RECORD *rec, CONTEXT *context
rsp
=
(
rsp
-
sizeof
(
XSTATE
))
&
~
63
;
stack
=
(
struct
stack_layout
*
)
rsp
-
1
;
assert
(
!
((
ULONG_PTR
)
stack
->
xstate
&
63
)
);
memmove
(
&
stack
->
context
,
context
,
sizeof
(
*
context
)
);
context_init_xstate
(
&
stack
->
context
,
stack
->
xstate
);
memcpy
(
stack
->
xstate
,
&
frame
->
xstate
,
sizeof
(
frame
->
xstate
)
);
}
memmove
(
&
stack
->
context
,
context
,
sizeof
(
*
context
)
);
else
memmove
(
&
stack
->
context
,
context
,
sizeof
(
*
context
)
);
stack
->
rec
=
*
rec
;
/* fix up instruction pointer in context for EXCEPTION_BREAKPOINT */
if
(
stack
->
rec
.
ExceptionCode
==
EXCEPTION_BREAKPOINT
)
stack
->
context
.
Rip
--
;
frame
->
rbp
=
context
->
Rbp
;
frame
->
rbp
=
stack
->
context
.
Rbp
;
frame
->
rsp
=
(
ULONG64
)
stack
;
frame
->
rip
=
(
ULONG64
)
pKiUserExceptionDispatcher
;
frame
->
restore_flags
|=
CONTEXT_CONTROL
;
...
...
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