mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 16:18:16 +00:00
[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.
svn path=/trunk/; revision=47907
This commit is contained in:
parent
c95cec3745
commit
ec783fe1df
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ RtlAddRange (IN OUT PRTL_RANGE_LIST RangeList,
|
|||
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 @@ RtlCopyRangeList (OUT PRTL_RANGE_LIST CopyRangeList,
|
|||
{
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue