mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
[NTOSKRNL]
* Fix a potential null pointer dereference. CID 701145. * Change the ASSERT to NT_ASSERT. CORE-6681 svn path=/trunk/; revision=60624
This commit is contained in:
parent
073f1929a8
commit
3648f77525
1 changed files with 1 additions and 1 deletions
|
@ -4137,7 +4137,7 @@ MiRosUnmapViewOfSection(IN PEPROCESS Process,
|
||||||
MemoryArea->Type != MEMORY_AREA_SECTION_VIEW ||
|
MemoryArea->Type != MEMORY_AREA_SECTION_VIEW ||
|
||||||
MemoryArea->DeleteInProgress)
|
MemoryArea->DeleteInProgress)
|
||||||
{
|
{
|
||||||
ASSERT(MemoryArea->Type != MEMORY_AREA_OWNED_BY_ARM3);
|
if (MemoryArea) NT_ASSERT(MemoryArea->Type != MEMORY_AREA_OWNED_BY_ARM3);
|
||||||
MmUnlockAddressSpace(AddressSpace);
|
MmUnlockAddressSpace(AddressSpace);
|
||||||
return STATUS_NOT_MAPPED_VIEW;
|
return STATUS_NOT_MAPPED_VIEW;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue