mirror of
https://github.com/reactos/reactos.git
synced 2025-07-02 22:11:23 +00:00
[NTOSKRNL] Properly reset VACB on free
CID 1434271
This commit is contained in:
parent
953dc72dad
commit
fd3a6c1089
1 changed files with 1 additions and 1 deletions
|
@ -978,7 +978,7 @@ CcRosInternalFreeVacb (
|
||||||
ASSERT(IsListEmpty(&Vacb->CacheMapVacbListEntry));
|
ASSERT(IsListEmpty(&Vacb->CacheMapVacbListEntry));
|
||||||
ASSERT(IsListEmpty(&Vacb->DirtyVacbListEntry));
|
ASSERT(IsListEmpty(&Vacb->DirtyVacbListEntry));
|
||||||
ASSERT(IsListEmpty(&Vacb->VacbLruListEntry));
|
ASSERT(IsListEmpty(&Vacb->VacbLruListEntry));
|
||||||
RtlFillMemory(Vacb, sizeof(Vacb), 0xfd);
|
RtlFillMemory(Vacb, sizeof(*Vacb), 0xfd);
|
||||||
ExFreeToNPagedLookasideList(&VacbLookasideList, Vacb);
|
ExFreeToNPagedLookasideList(&VacbLookasideList, Vacb);
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue