[PSEH]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 6 Nov 2016 11:49:19 +0000 (11:49 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 6 Nov 2016 11:49:19 +0000 (11:49 +0000)
- 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

index 5827caa..cc81a1f 100644 (file)
@@ -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