[NTOSKRNL]

Don't crash when unmapping a kernel-space image section, due to dereferencing a NULL
Process.

svn path=/trunk/; revision=56701
This commit is contained in:
Art Yerkes
2012-06-06 21:22:19 +00:00
parent 93440e61fd
commit e39b696116
+1 -1
View File
@@ -4105,7 +4105,7 @@ MiRosUnmapViewOfSection(IN PEPROCESS Process,
ASSERT(Process);
AddressSpace = &Process->Vm;
AddressSpace = Process ? &Process->Vm : MmGetKernelAddressSpace();
MmLockAddressSpace(AddressSpace);
MemoryArea = MmLocateMemoryAreaByAddress(AddressSpace,