[PATCH] ntdll: Fix unwinding from leaf function on x86_64.
Derek Lesho
dereklesho52 at gmail.com
Fri Mar 15 14:32:54 CDT 2019
Signed-off-by: Derek Lesho <dereklesho52 at Gmail.com>
On Fri, Mar 15, 2019 at 3:28 PM Derek Lesho <dereklesho52 at gmail.com> wrote:
>
> ---
> 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 54871b8302..21e7098876 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:
> --
> 2.20.1
>
More information about the wine-devel
mailing list