mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:42:57 +00:00
Fix infinite loop during generic table lookups. Patch by Alex Ionescu
svn path=/trunk/; revision=35487
This commit is contained in:
parent
46ba64139f
commit
fca286cbda
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ RtlpFindGenericTableNodeOrParent(IN PRTL_GENERIC_TABLE Table,
|
||||||
if ((ChildNode = RtlLeftChild(CurrentNode)))
|
if ((ChildNode = RtlLeftChild(CurrentNode)))
|
||||||
{
|
{
|
||||||
/* Continue searching from this node */
|
/* Continue searching from this node */
|
||||||
ChildNode = CurrentNode;
|
CurrentNode = ChildNode;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -72,7 +72,7 @@ RtlpFindGenericTableNodeOrParent(IN PRTL_GENERIC_TABLE Table,
|
||||||
if ((ChildNode = RtlRightChild(CurrentNode)))
|
if ((ChildNode = RtlRightChild(CurrentNode)))
|
||||||
{
|
{
|
||||||
/* Continue searching from this node */
|
/* Continue searching from this node */
|
||||||
ChildNode = CurrentNode;
|
CurrentNode = ChildNode;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue