mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 04:14:53 +00:00
[NTOS/MM] Do not zero out the tail of the segment if the mapping is not an image
This commit is contained in:
parent
7d70af61e8
commit
f114209782
1 changed files with 1 additions and 1 deletions
|
@ -1205,7 +1205,7 @@ MiReadPage(PMEMORY_AREA MemoryArea,
|
||||||
Status = STATUS_SUCCESS;
|
Status = STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((SegOffset + PAGE_SIZE) > MemoryArea->SectionData.Segment->RawLength.QuadPart)
|
if ((MemoryArea->VadNode.u.VadFlags.VadType == VadImageMap) && ((SegOffset + PAGE_SIZE) > MemoryArea->SectionData.Segment->RawLength.QuadPart))
|
||||||
{
|
{
|
||||||
KIRQL OldIrql;
|
KIRQL OldIrql;
|
||||||
PUCHAR PageMap;
|
PUCHAR PageMap;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue