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
aa4ad6d7
Commit
aa4ad6d7
authored
Jan 27, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Capture the context inside RtlUnwindEx instead of assuming it's already initialized.
parent
2e81ba5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+5
-4
No files found.
dlls/ntdll/signal_x86_64.c
View file @
aa4ad6d7
...
...
@@ -2783,6 +2783,8 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
NTSTATUS
status
;
DWORD
size
;
RtlCaptureContext
(
orig_context
);
/* build an exception record, if we do not have one */
if
(
!
rec
)
{
...
...
@@ -2931,12 +2933,11 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
/*******************************************************************
* RtlUnwind (NTDLL.@)
*/
void
WINAPI
__regs_RtlUnwind
(
void
*
frame
,
void
*
target_ip
,
EXCEPTION_RECORD
*
rec
,
void
*
retval
,
CONTEXT
*
context
)
void
WINAPI
RtlUnwind
(
void
*
frame
,
void
*
target_ip
,
EXCEPTION_RECORD
*
rec
,
void
*
retval
)
{
RtlUnwindEx
(
frame
,
target_ip
,
rec
,
retval
,
context
,
NULL
);
CONTEXT
context
;
RtlUnwindEx
(
frame
,
target_ip
,
rec
,
retval
,
&
context
,
NULL
);
}
DEFINE_REGS_ENTRYPOINT
(
RtlUnwind
,
4
)
/*******************************************************************
...
...
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