mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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->DeleteInProgress)
|
||||
{
|
||||
ASSERT(MemoryArea->Type != MEMORY_AREA_OWNED_BY_ARM3);
|
||||
if (MemoryArea) NT_ASSERT(MemoryArea->Type != MEMORY_AREA_OWNED_BY_ARM3);
|
||||
MmUnlockAddressSpace(AddressSpace);
|
||||
return STATUS_NOT_MAPPED_VIEW;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue