Raise the exception in MmProbeAndLockPages always with
STATUS_ACCESS_VIOLATION.
Modified: trunk/reactos/ntoskrnl/mm/mdl.c
_____
Modified: trunk/reactos/ntoskrnl/mm/mdl.c
--- trunk/reactos/ntoskrnl/mm/mdl.c 2005-04-01 18:18:18 UTC (rev
14419)
+++ trunk/reactos/ntoskrnl/mm/mdl.c 2005-04-01 18:19:46 UTC (rev
14420)
@@ -437,7 +437,7 @@
}
}
MmUnlockAddressSpace(AddressSpace);
- ExRaiseStatus(Status);
+ ExRaiseStatus(STATUS_ACCESS_VIOLATION);
}
}
else
@@ -461,7 +461,7 @@
}
}
MmUnlockAddressSpace(AddressSpace);
- ExRaiseStatus(Status);
+ ExRaiseStatus(STATUS_ACCESS_VIOLATION);
}
}
Page = MmGetPfnForProcess(NULL, Address);