[FASTFAT]

- Avoid use after free in vfatDestroyFCB

svn path=/trunk/; revision=74051
This commit is contained in:
Thomas Faber 2017-03-04 14:48:05 +00:00
parent 81b072cc64
commit bf594249dd

View file

@ -273,8 +273,8 @@ vfatDestroyFCB(
ExFreePool(pFCB->PathNameBuffer);
ExDeleteResourceLite(&pFCB->PagingIoResource);
ExDeleteResourceLite(&pFCB->MainResource);
ExFreeToNPagedLookasideList(&VfatGlobalData->FcbLookasideList, pFCB);
ASSERT(IsListEmpty(&pFCB->ParentListHead));
ExFreeToNPagedLookasideList(&VfatGlobalData->FcbLookasideList, pFCB);
}
BOOLEAN