mirror of
https://github.com/reactos/reactos.git
synced 2024-09-16 07:39:32 +00:00
[NTOS]: In MiInitializePfnForOtherProcess, should increment the sharecount of the page table PFN entry, not the PFN entry of the PTE itself. Spotted by Stefan100.
svn path=/trunk/; revision=47588
This commit is contained in:
parent
a2a190f44b
commit
549eedeeb4
|
@ -791,7 +791,7 @@ MiInitializePfnForOtherProcess(IN PFN_NUMBER PageFrameIndex,
|
||||||
Pfn1->u4.PteFrame = PteFrame;
|
Pfn1->u4.PteFrame = PteFrame;
|
||||||
|
|
||||||
/* Increase its share count so we don't get rid of it */
|
/* Increase its share count so we don't get rid of it */
|
||||||
Pfn1 = MiGetPfnEntry(PageFrameIndex);
|
Pfn1 = MiGetPfnEntry(PteFrame);
|
||||||
Pfn1->u2.ShareCount++;
|
Pfn1->u2.ShareCount++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue