mirror of
https://github.com/reactos/reactos.git
synced 2025-05-20 17:45:06 +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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME: Raise an exception instead of bugchecking */
|
/* Throw exception */
|
||||||
KEBUGCHECK(0);
|
ExRaiseStatus(STATUS_ACCESS_VIOLATION);
|
||||||
|
ASSERT(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
Mdl->Process = CurrentProcess;
|
Mdl->Process = CurrentProcess;
|
||||||
|
|
Loading…
Reference in a new issue