[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:
Sir Richard 2010-06-05 14:55:17 +00:00
parent a2a190f44b
commit 549eedeeb4

View file

@ -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++;
}
}