mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:53:07 +00:00
[FASTFAT]
- Avoid use after free in vfatDestroyFCB svn path=/trunk/; revision=74051
This commit is contained in:
parent
81b072cc64
commit
bf594249dd
1 changed files with 1 additions and 1 deletions
|
@ -273,8 +273,8 @@ vfatDestroyFCB(
|
||||||
ExFreePool(pFCB->PathNameBuffer);
|
ExFreePool(pFCB->PathNameBuffer);
|
||||||
ExDeleteResourceLite(&pFCB->PagingIoResource);
|
ExDeleteResourceLite(&pFCB->PagingIoResource);
|
||||||
ExDeleteResourceLite(&pFCB->MainResource);
|
ExDeleteResourceLite(&pFCB->MainResource);
|
||||||
ExFreeToNPagedLookasideList(&VfatGlobalData->FcbLookasideList, pFCB);
|
|
||||||
ASSERT(IsListEmpty(&pFCB->ParentListHead));
|
ASSERT(IsListEmpty(&pFCB->ParentListHead));
|
||||||
|
ExFreeToNPagedLookasideList(&VfatGlobalData->FcbLookasideList, pFCB);
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue