Author: fireball
Date: Wed Feb 25 15:50:41 2009
New Revision: 39747
URL:
http://svn.reactos.org/svn/reactos?rev=39747&view=rev
Log:
- Don't match tags if Tag is 0.
Modified:
trunk/reactos/ntoskrnl/mm/pool.c
Modified: trunk/reactos/ntoskrnl/mm/pool.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/pool.c?rev=397…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/pool.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/pool.c [iso-8859-1] Wed Feb 25 15:50:41 2009
@@ -261,7 +261,7 @@
else
BlockTag = EiGetNonPagedPoolTag(Block);
- if (BlockTag != Tag)
+ if (BlockTag != Tag && Tag != 0)
KeBugCheckEx(BAD_POOL_CALLER, 0x0a, (ULONG_PTR)Block, BlockTag, Tag);
ExFreePool(Block);