From 911fc42a9fe2faa2ad244e0d3db574a6e6d2bc81 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Sun, 29 Jun 2008 08:10:18 +0000 Subject: [PATCH] - Fix exception handling in MiDoMapped/PoolCopy by fixing a typo in SEH_YIELD usage. See issue #3408 for more details. svn path=/trunk/; revision=34172 --- reactos/ntoskrnl/mm/virtual.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/virtual.c b/reactos/ntoskrnl/mm/virtual.c index b00a9c61f15..ba0a2eb1967 100644 --- a/reactos/ntoskrnl/mm/virtual.c +++ b/reactos/ntoskrnl/mm/virtual.c @@ -172,7 +172,7 @@ MiDoMappedCopy(IN PEPROCESS SourceProcess, { /* Exit */ Status = _SEH_GetExceptionCode(); - _SEH_YIELD(); + _SEH_YIELD(return Status); } /* Otherwise, we failed probably during the move */ @@ -319,7 +319,7 @@ MiDoPoolCopy(IN PEPROCESS SourceProcess, { /* Exit */ Status = _SEH_GetExceptionCode(); - _SEH_YIELD(); + _SEH_YIELD(return Status); } /* Otherwise, we failed probably during the move */