From cd86b37abba8c1d6576c9bfe2e255caa3f4c4995 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Tue, 26 Aug 2014 12:47:02 +0000 Subject: [PATCH] [NTOS:MM] - Assert correct pool entry alignment in ExFreePoolWithTag svn path=/trunk/; revision=63952 --- reactos/ntoskrnl/mm/ARM3/expool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/ntoskrnl/mm/ARM3/expool.c b/reactos/ntoskrnl/mm/ARM3/expool.c index 4558bfa97e6..68063b2b679 100644 --- a/reactos/ntoskrnl/mm/ARM3/expool.c +++ b/reactos/ntoskrnl/mm/ARM3/expool.c @@ -2220,6 +2220,7 @@ ExFreePoolWithTag(IN PVOID P, // Entry = P; Entry--; + ASSERT((ULONG_PTR)Entry % POOL_BLOCK_SIZE == 0); // // Get the size of the entry, and it's pool type, then load the descriptor