Raise the exception in MmProbeAndLockPages always with STATUS_ACCESS_VIOLATION.

svn path=/trunk/; revision=14420
This commit is contained in:
Hartmut Birr 2005-04-01 18:19:46 +00:00
parent 4ea628ccaa
commit de83dfa5b8

View file

@ -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);