[IPHLPAPI]
authorPierre Schweitzer <pierre@reactos.org>
Sat, 14 Feb 2015 08:02:08 +0000 (08:02 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 14 Feb 2015 08:02:08 +0000 (08:02 +0000)
Add the missing loop iterator in GetAdaptersAddresses().
This fixes infinite loop, and fixes Firefox 3.6 boot.

CORE-9051 #resolve #comment Fixed in r66253

svn path=/trunk/; revision=66253

reactos/dll/win32/iphlpapi/address.c

index 2571536..9cf3af3 100644 (file)
@@ -529,6 +529,8 @@ GetAdaptersAddresses(
                     {
                         if (CurrentAA->IfIndex == AddrEntries[j].iae_index)
                             break;
                     {
                         if (CurrentAA->IfIndex == AddrEntries[j].iae_index)
                             break;
+
+                        CurrentAA = CurrentAA->Next;
                     }
 
                     if (!CurrentAA)
                     }
 
                     if (!CurrentAA)