Derek Lesho : ntdll: Fix unwinding from leaf function on x86_64.
Alexandre Julliard
julliard at winehq.org
Wed Mar 20 17:09:13 CDT 2019
Module: wine
Branch: master
Commit: 3d0cf846f9a2cef078c7c28c60e83334b9bf5f12
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3d0cf846f9a2cef078c7c28c60e83334b9bf5f12
Author: Derek Lesho <dereklesho52 at gmail.com>
Date: Fri Mar 15 15:27:59 2019 -0400
ntdll: Fix unwinding from leaf function on x86_64.
Signed-off-by: Derek Lesho <dereklesho52 at Gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/signal_x86_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
index 54871b8..21e7098 100644
--- a/dlls/ntdll/signal_x86_64.c
+++ b/dlls/ntdll/signal_x86_64.c
@@ -4232,7 +4232,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
new_context.Rip = *(ULONG64 *)context->Rsp;
new_context.Rsp = context->Rsp + sizeof(ULONG64);
- dispatch.EstablisherFrame = new_context.Rsp;
+ dispatch.EstablisherFrame = context->Rsp;
dispatch.LanguageHandler = NULL;
unwind_done:
More information about the wine-cvs
mailing list