mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[NTOS:MM]
- Check for ROS section object before accessing the AllocationAttributes member in NtMapViewOfSection, since ARM3 sections use a different structure. CORE-13113 svn path=/trunk/; revision=74389
This commit is contained in:
@@ -3716,7 +3716,8 @@ NtMapViewOfSection(IN HANDLE SectionHandle,
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
/* Check if this is an image for the current process */
|
||||
if ((Section->AllocationAttributes & SEC_IMAGE) &&
|
||||
if (MiIsRosSectionObject(Section) &&
|
||||
(Section->AllocationAttributes & SEC_IMAGE) &&
|
||||
(Process == PsGetCurrentProcess()) &&
|
||||
(Status != STATUS_IMAGE_NOT_AT_BASE))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user