Daniel Lehman : vcruntime140_1: Unwind state 0.

Alexandre Julliard julliard at winehq.org
Wed Jun 3 16:40:56 CDT 2020


Module: wine
Branch: master
Commit: b33e1d4cb73cde216d00e15f041ffca3175162b7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b33e1d4cb73cde216d00e15f041ffca3175162b7

Author: Daniel Lehman <dlehman25 at gmail.com>
Date:   Wed Jun  3 11:09:40 2020 +0200

vcruntime140_1: Unwind state 0.

Signed-off-by: Daniel Lehman <dlehman25 at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/vcruntime140_1/except_x86_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/vcruntime140_1/except_x86_64.c b/dlls/vcruntime140_1/except_x86_64.c
index 627e9694ec..4203373294 100644
--- a/dlls/vcruntime140_1/except_x86_64.c
+++ b/dlls/vcruntime140_1/except_x86_64.c
@@ -435,7 +435,7 @@ static void cxx_local_unwind4(ULONG64 frame, DISPATCHER_CONTEXT *dispatch,
     if (trylevel <= last_level) return;
 
     unwind_data = rva_to_ptr(descr->unwind_map, dispatch->ImageBase);
-    last = unwind_data;
+    last = unwind_data - 1;
     for (i = 0; i < trylevel; i++)
     {
         BYTE *addr = unwind_data;




More information about the wine-cvs mailing list