[ros-diffs] [amunger] 36449: Remove a overzealous check. MSDN says to avoid calling with NumberOfBytes == 0, but it is valid. Addresses bug 3715.
amunger at svn.reactos.org
amunger at svn.reactos.org
Wed Sep 24 09:52:19 CEST 2008
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=36449&r1=36448&r2=36449&view=diff
==============================================================================
--- 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))
More information about the Ros-diffs
mailing list