Author: ion
Date: Mon Sep 10 15:00:16 2012
New Revision: 57262
URL:
http://svn.reactos.org/svn/reactos?rev=57262&view=rev
Log:
[NTOSKRNL]: CORE-6597 #resolve #time 5m #comment Fix incorrect double list increment
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/expool.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/expool.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/expool.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/expool.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/expool.c [iso-8859-1] Mon Sep 10 15:00:16 2012
@@ -1583,6 +1583,7 @@
//
i = (USHORT)((NumberOfBytes + sizeof(POOL_HEADER) + (POOL_BLOCK_SIZE - 1))
/ POOL_BLOCK_SIZE);
+ ASSERT(i < POOL_LISTS_PER_PAGE);
//
// Handle lookaside list optimization for both paged and nonpaged pool
@@ -1664,7 +1665,6 @@
// Try again!
//
ExUnlockPool(PoolDesc, OldIrql);
- ListHead++;
continue;
}