mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
MmMapLockedPagesSpecifyCache: Raise STATUS_ACCESS_VIOLATION instead of bugchecking when mapping into usermode.
svn path=/trunk/; revision=13036
This commit is contained in:
parent
b91bb39ed6
commit
e3345e4f7e
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue