Added patch to fix check for end_frame in RtlUnwindEx on x86_64.

This commit is contained in:
Sebastian Lackner
2015-01-26 04:09:22 +01:00
parent a3813c45a0
commit a5566f1e8e
6 changed files with 51 additions and 3 deletions

View File

@@ -0,0 +1,25 @@
From 7dd7631b611976b237acc63386b26866e5b4b253 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sun, 25 Jan 2015 15:46:05 +0100
Subject: ntdll: Fix check for end_frame in RtlUnwindEx on x86_64.
---
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 05581c2..e739cdb 100644
--- a/dlls/ntdll/signal_x86_64.c
+++ b/dlls/ntdll/signal_x86_64.c
@@ -3178,7 +3178,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
dispatch.EstablisherFrame = new_context.Rsp;
}
- if (context->Rsp == (ULONG64)end_frame) break;
+ if (dispatch.EstablisherFrame == (ULONG64)end_frame) break;
*context = new_context;
}
--
2.2.1

View File

@@ -0,0 +1 @@
Fixes: [34254] Fix check for end_frame in RtlUnwindEx on x86_64.