mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:56:05 +00:00
[NTOS]: Fix a bug in the MDL Code which would dereference a completely bogus page frame index.
svn path=/trunk/; revision=49440
This commit is contained in:
parent
c7b69d59e3
commit
dae4714960
1 changed files with 1 additions and 1 deletions
|
@ -1343,7 +1343,7 @@ MmUnlockPages(IN PMDL Mdl)
|
||||||
InterlockedExchangeAddSizeT(&MmSystemLockPagesCount, -1);
|
InterlockedExchangeAddSizeT(&MmSystemLockPagesCount, -1);
|
||||||
|
|
||||||
/* Do the last dereference, we're done here */
|
/* Do the last dereference, we're done here */
|
||||||
MiDecrementReferenceCount(Pfn1, *MdlPages);
|
MiDecrementReferenceCount(Pfn1, MiGetPfnEntryIndex(Pfn1));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue