[NTOS:MM] Fix broken ASSERT

There is no guarantee that all pages in the requested range actually exist.
This commit is contained in:
Timo Kreuzer 2025-02-26 10:33:32 +02:00
parent 4d605ec26f
commit c6853581c5

View file

@ -318,7 +318,7 @@ MiAllocatePagesForMdl(IN PHYSICAL_ADDRESS LowAddress,
// Get the PFN entry for this page
//
Pfn1 = MiGetPfnEntry(Page);
ASSERT(Pfn1);
if (!Pfn1) continue;
//
// Make sure it's free and if this is our first pass, zeroed