Author: sir_richard
Date: Tue Jun 29 19:23:16 2010
New Revision: 47907
URL:
http://svn.reactos.org/svn/reactos?rev=47907&view=rev
Log:
[RTL]: RangeList APIs should not be allocating pool with a tag of 0, since this makes the
checked kernel ASSERT. Good thing nobody used these APIs (I wonder if they even work), but
eVb's PCI driver now does.
Modified:
trunk/reactos/lib/rtl/rangelist.c
Modified: trunk/reactos/lib/rtl/rangelist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/rangelist.c?rev=47…
==============================================================================
--- trunk/reactos/lib/rtl/rangelist.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/rangelist.c [iso-8859-1] Tue Jun 29 19:23:16 2010
@@ -65,7 +65,7 @@
return STATUS_INVALID_PARAMETER;
/* Create new range entry */
- RangeEntry = RtlpAllocateMemory(sizeof(RTL_RANGE_ENTRY), 0);
+ RangeEntry = RtlpAllocateMemory(sizeof(RTL_RANGE_ENTRY), 'elRR');
if (RangeEntry == NULL)
return STATUS_INSUFFICIENT_RESOURCES;
@@ -157,7 +157,7 @@
{
Current = CONTAINING_RECORD (Entry, RTL_RANGE_ENTRY, Entry);
- NewEntry = RtlpAllocateMemory(sizeof(RTL_RANGE_ENTRY), 0);
+ NewEntry = RtlpAllocateMemory(sizeof(RTL_RANGE_ENTRY), 'elRR');
if (NewEntry == NULL)
return STATUS_INSUFFICIENT_RESOURCES;