From 0159262ee05b5a38a1a737b6741e016800a1e8bd Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Thu, 1 Jan 2026 20:59:31 +0100 Subject: [PATCH] Add explicit default initialization for MM::Colors::ModifiedPages list --- xtoskrnl/mm/data.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtoskrnl/mm/data.cc b/xtoskrnl/mm/data.cc index b1ca086..be3c853 100644 --- a/xtoskrnl/mm/data.cc +++ b/xtoskrnl/mm/data.cc @@ -13,7 +13,7 @@ PMMCOLOR_TABLES MM::Colors::FreePages[FreePageList + 1]; /* Array of modified pages segregated by cache color */ -MMPFNLIST MM::Colors::ModifiedPages[MM_PAGING_COLORS]; +MMPFNLIST MM::Colors::ModifiedPages[MM_PAGING_COLORS] = {{0, ModifiedPageList, MAXULONG_PTR, MAXULONG_PTR}}; /* Number of supported page colors */ ULONG MM::Colors::PagingColors;