From de83dfa5b8c8a2c6d0ceb1438f2f6e9066c9d5e9 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Fri, 1 Apr 2005 18:19:46 +0000 Subject: [PATCH] Raise the exception in MmProbeAndLockPages always with STATUS_ACCESS_VIOLATION. svn path=/trunk/; revision=14420 --- reactos/ntoskrnl/mm/mdl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/mdl.c b/reactos/ntoskrnl/mm/mdl.c index be8ff7294f5..7f24286de1c 100644 --- a/reactos/ntoskrnl/mm/mdl.c +++ b/reactos/ntoskrnl/mm/mdl.c @@ -437,7 +437,7 @@ VOID STDCALL MmProbeAndLockPages (PMDL Mdl, } } MmUnlockAddressSpace(AddressSpace); - ExRaiseStatus(Status); + ExRaiseStatus(STATUS_ACCESS_VIOLATION); } } else @@ -461,7 +461,7 @@ VOID STDCALL MmProbeAndLockPages (PMDL Mdl, } } MmUnlockAddressSpace(AddressSpace); - ExRaiseStatus(Status); + ExRaiseStatus(STATUS_ACCESS_VIOLATION); } } Page = MmGetPfnForProcess(NULL, Address);