[NTOSKRNL] CcPurgeCacheSection: Check if SharedCacheMap is NULL. Change suggested by ThFabba. CORE-13115

svn path=/trunk/; revision=74392
This commit is contained in:
Giannis Adamopoulos 2017-04-23 11:12:48 +00:00
parent 1f03a83d50
commit 4414132a97

View file

@ -153,6 +153,8 @@ CcPurgeCacheSection (
}
SharedCacheMap = SectionObjectPointer->SharedCacheMap;
if (!SharedCacheMap)
return FALSE;
StartOffset = FileOffset != NULL ? FileOffset->QuadPart : 0;
if (Length == 0 || FileOffset == NULL)