Author: tfaber Date: Sun Apr 23 07:24:44 2017 New Revision: 74389
URL: http://svn.reactos.org/svn/reactos?rev=74389&view=rev Log: [NTOS:MM] - Check for ROS section object before accessing the AllocationAttributes member in NtMapViewOfSection, since ARM3 sections use a different structure. CORE-13113
Modified: trunk/reactos/ntoskrnl/mm/ARM3/section.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/section.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/section.c?... ============================================================================== --- trunk/reactos/ntoskrnl/mm/ARM3/section.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/mm/ARM3/section.c [iso-8859-1] Sun Apr 23 07:24:44 2017 @@ -3716,7 +3716,8 @@ 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)) {