mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -791,7 +791,7 @@ MiInitializePfnForOtherProcess(IN PFN_NUMBER PageFrameIndex,
|
||||
Pfn1->u4.PteFrame = PteFrame;
|
||||
|
||||
/* Increase its share count so we don't get rid of it */
|
||||
Pfn1 = MiGetPfnEntry(PageFrameIndex);
|
||||
Pfn1 = MiGetPfnEntry(PteFrame);
|
||||
Pfn1->u2.ShareCount++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user