From 68b1f10bef6958d49505e99a847d23ea2cadd677 Mon Sep 17 00:00:00 2001 From: Andrew Munger Date: Wed, 24 Sep 2008 07:52:19 +0000 Subject: [PATCH] Remove a overzealous check. MSDN says to avoid calling with NumberOfBytes == 0, but it is valid. Addresses bug 3715. svn path=/trunk/; revision=36449 --- reactos/ntoskrnl/mm/pool.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/pool.c b/reactos/ntoskrnl/mm/pool.c index 67d617279f4..44cc52dcc65 100644 --- a/reactos/ntoskrnl/mm/pool.c +++ b/reactos/ntoskrnl/mm/pool.c @@ -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))