mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
Fix infinite loop during generic table lookups. Patch by Alex Ionescu
svn path=/trunk/; revision=35487
This commit is contained in:
@@ -57,7 +57,7 @@ RtlpFindGenericTableNodeOrParent(IN PRTL_GENERIC_TABLE Table,
|
||||
if ((ChildNode = RtlLeftChild(CurrentNode)))
|
||||
{
|
||||
/* Continue searching from this node */
|
||||
ChildNode = CurrentNode;
|
||||
CurrentNode = ChildNode;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -72,7 +72,7 @@ RtlpFindGenericTableNodeOrParent(IN PRTL_GENERIC_TABLE Table,
|
||||
if ((ChildNode = RtlRightChild(CurrentNode)))
|
||||
{
|
||||
/* Continue searching from this node */
|
||||
ChildNode = CurrentNode;
|
||||
CurrentNode = ChildNode;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user