https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dd08ae2c0f55b98a28354…
commit dd08ae2c0f55b98a283544d71152322ce6a5147e
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sun May 23 13:25:59 2021 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Mon May 24 22:00:11 2021 +0200
[NTOS:CC] Fix use of unintialized variable (caught by RTC1)
---
ntoskrnl/cc/view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/cc/view.c b/ntoskrnl/cc/view.c
index cb99d809a5d..c59c103a46b 100644
--- a/ntoskrnl/cc/view.c
+++ b/ntoskrnl/cc/view.c
@@ -1045,7 +1045,7 @@ CcFlushCache (
{
if (vacb->Dirty)
{
- IO_STATUS_BLOCK VacbIosb;
+ IO_STATUS_BLOCK VacbIosb = { 0 };
Status = CcRosFlushVacb(vacb, &VacbIosb);
if (!NT_SUCCESS(Status))
{