Remove a overzealous check. MSDN says to avoid calling with NumberOfBytes == 0, but it is valid.

Addresses bug 3715.

svn path=/trunk/; revision=36449
This commit is contained in:
Andrew Munger
2008-09-24 07:52:19 +00:00
parent 9185bead4e
commit 68b1f10bef
-2
View File
@@ -36,8 +36,6 @@ EiAllocatePool(POOL_TYPE PoolType,
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))