MmMapLockedPagesSpecifyCache: Raise STATUS_ACCESS_VIOLATION instead of bugchecking when mapping into usermode.

svn path=/trunk/; revision=13036
This commit is contained in:
Gregor Anich 2005-01-13 23:47:10 +00:00
parent b91bb39ed6
commit e3345e4f7e

View file

@ -788,8 +788,9 @@ MmMapLockedPagesSpecifyCache ( IN PMDL Mdl,
return NULL;
}
/* FIXME: Raise an exception instead of bugchecking */
KEBUGCHECK(0);
/* Throw exception */
ExRaiseStatus(STATUS_ACCESS_VIOLATION);
ASSERT(0);
}
Mdl->Process = CurrentProcess;