diff --git a/reactos/lib/crt/except/seh.s b/reactos/lib/crt/except/seh.s index 5e8e7855cb4..8a2c984fc09 100755 --- a/reactos/lib/crt/except/seh.s +++ b/reactos/lib/crt/except/seh.s @@ -99,8 +99,10 @@ __local_unwind2: // If we have reached the end of the chain or we're asked to stop here // by the caller then exit - movl ER_TRYLEVEL(%ebx), %eax + test %ebx, %ebx + je .lu2_done + movl ER_TRYLEVEL(%ebx), %eax cmpl $-1, %eax je .lu2_done @@ -288,7 +290,6 @@ __except_handler3: // Perform local unwinding .eh3_unwind: - movl $ExceptionContinueSearch, %eax testl $EXCEPTION_TARGET_UNWIND, EREC_FLAGS(%eax) jnz .eh3_return