mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user