mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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:
parent
20756892b7
commit
e570b43842
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue