mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[NTOSKRNL] CcPurgeCacheSection: Check if SharedCacheMap is NULL. Change suggested by ThFabba. CORE-13115
svn path=/trunk/; revision=74392
This commit is contained in:
parent
1f03a83d50
commit
4414132a97
1 changed files with 2 additions and 0 deletions
|
@ -153,6 +153,8 @@ CcPurgeCacheSection (
|
|||
}
|
||||
|
||||
SharedCacheMap = SectionObjectPointer->SharedCacheMap;
|
||||
if (!SharedCacheMap)
|
||||
return FALSE;
|
||||
|
||||
StartOffset = FileOffset != NULL ? FileOffset->QuadPart : 0;
|
||||
if (Length == 0 || FileOffset == NULL)
|
||||
|
|
Loading…
Reference in a new issue