mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- MmMapViewOfSection: Segment size must be a multiple of page size, so round ViewSize up to next page size.
OllyDbg now shows loaded dll's in memory and can step into dlls. svn path=/trunk/; revision=40838
This commit is contained in:
@@ -4690,6 +4690,8 @@ MmMapViewOfSection(IN PVOID SectionObject,
|
||||
(*ViewSize) = Section->MaximumSize.u.LowPart - ViewOffset;
|
||||
}
|
||||
|
||||
*ViewSize = PAGE_ROUND_UP(*ViewSize);
|
||||
|
||||
MmLockSectionSegment(Section->Segment);
|
||||
Status = MmMapViewOfSegment(AddressSpace,
|
||||
Section,
|
||||
|
||||
Reference in New Issue
Block a user