[NTOSKRNL]: CORE-6597 #resolve #time 5m #comment Fix incorrect double list increment

svn path=/trunk/; revision=57262
This commit is contained in:
Alex Ionescu 2012-09-10 15:00:16 +00:00
parent fd222f669a
commit 6b74931d7c

View file

@ -1583,6 +1583,7 @@ ExAllocatePoolWithTag(IN POOL_TYPE PoolType,
//
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 @@ ExAllocatePoolWithTag(IN POOL_TYPE PoolType,
// Try again!
//
ExUnlockPool(PoolDesc, OldIrql);
ListHead++;
continue;
}