From 31456c578a2674189dfb26641721eddd5ef2c3c2 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 4 Jul 2004 02:01:02 +0000 Subject: [PATCH] - Don't continue execution if there is no exception handler. It's common that continuing such execution would result in the same exception again and thus creating infinite loop. svn path=/trunk/; revision=9990 --- reactos/lib/rtl/i386/exception.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/lib/rtl/i386/exception.c b/reactos/lib/rtl/i386/exception.c index ea80bc90a4a..961b1376c5d 100644 --- a/reactos/lib/rtl/i386/exception.c +++ b/reactos/lib/rtl/i386/exception.c @@ -1,4 +1,4 @@ -/* $Id: exception.c,v 1.1 2004/06/25 01:41:20 hyperion Exp $ +/* $Id: exception.c,v 1.2 2004/07/04 02:01:02 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -231,6 +231,8 @@ RtlpDispatchException(IN PEXCEPTION_RECORD ExceptionRecord, DPRINT("RtlpDispatchException(): Return ExceptionContinueExecution\n"); + ExceptionRecord->ExceptionFlags = EXCEPTION_NONCONTINUABLE; + return ExceptionContinueExecution; }