From 0c9307742524eac2da02b9490a617ec13f7662fe Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 6 Nov 2016 11:49:19 +0000 Subject: [PATCH] [PSEH] - Correctly restore the old frame pointer when unwinding in _except_handler3. CORE-12283 #resolve svn path=/trunk/; revision=73149 --- reactos/sdk/lib/pseh/i386/seh.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/sdk/lib/pseh/i386/seh.s b/reactos/sdk/lib/pseh/i386/seh.s index 5827caa2543..cc81a1f71d7 100644 --- a/reactos/sdk/lib/pseh/i386/seh.s +++ b/reactos/sdk/lib/pseh/i386/seh.s @@ -426,7 +426,7 @@ except_dismiss3: /* Do local unwind */ except_unwind3: push ebp - mov ebp, [ebx-SEH_FRAME_PreviousRecord+SEH_FRAME_OriginalEbp] + lea ebp, [ebx-SEH_FRAME_PreviousRecord+SEH_FRAME_OriginalEbp] push -1 push ebx call __local_unwind2