From 2d3b9351b54f0466241c3a470957ea8eda13a84d Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Fri, 19 Sep 2014 13:59:13 +0000 Subject: [PATCH] [PSEH3] - Don't clobber ebx in __SEH3$_RegisterTryLevelWithNonVolatiles (addendum to r64132) svn path=/trunk/; revision=64194 --- reactos/lib/pseh/i386/pseh3.c | 2 +- reactos/lib/pseh/i386/pseh3_i386.S | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/lib/pseh/i386/pseh3.c b/reactos/lib/pseh/i386/pseh3.c index 2395dfe3a18..ed7e0f43ad9 100644 --- a/reactos/lib/pseh/i386/pseh3.c +++ b/reactos/lib/pseh/i386/pseh3.c @@ -153,7 +153,7 @@ _SEH3$_AutoCleanup( /* Check for __finally frames */ if (Frame->ScopeTable->Target == NULL) { - _SEH3$_InvokeFilter(Frame, Frame->ScopeTable->Filter); + _SEH3$_InvokeFilter(Frame, Frame->ScopeTable->Filter); } } diff --git a/reactos/lib/pseh/i386/pseh3_i386.S b/reactos/lib/pseh/i386/pseh3_i386.S index ad8da19180f..c4d9b3962b5 100644 --- a/reactos/lib/pseh/i386/pseh3_i386.S +++ b/reactos/lib/pseh/i386/pseh3_i386.S @@ -87,6 +87,7 @@ __SEH3$_RegisterTryLevelWithNonVolatiles: /* Safe the return address */ mov ebx, [esp] mov [eax + SEH3_REGISTRATION_FRAME_ReturnAddress], ebx + mov ebx, [eax + SEH3_REGISTRATION_FRAME_Ebx] .global __SEH3$_RegisterTryLevelWithStackLayout __SEH3$_RegisterTryLevelWithStackLayout: