Author: amunger
Date: Wed Sep 24 02:52:19 2008
New Revision: 36449
URL:
http://svn.reactos.org/svn/reactos?rev=36449&view=rev
Log:
Remove a overzealous check. MSDN says to avoid calling with NumberOfBytes == 0, but it is
valid.
Addresses bug 3715.
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=364…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/pool.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/pool.c [iso-8859-1] Wed Sep 24 02:52:19 2008
@@ -36,8 +36,6 @@
PVOID Block;
PCHAR TagChars = (PCHAR)&Tag;
- if (NumberOfBytes == 0)
- KeBugCheckEx(BAD_POOL_CALLER, 0x00, 0, PoolType, Tag);
if (Tag == 0)
KeBugCheckEx(BAD_POOL_CALLER, 0x9b, PoolType, NumberOfBytes, (ULONG_PTR)Caller);
if (Tag == TAG('B','I','G',0))