From c3bd1b91300a817c8254051494802af1d8c6d12b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 29 Oct 2005 09:49:19 +0000 Subject: [PATCH] Fix infinite loop (spotted by mifritscher) svn path=/trunk/; revision=18838 --- reactos/lib/setupapi/devinst.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/lib/setupapi/devinst.c b/reactos/lib/setupapi/devinst.c index 97dcb84e31c..cc52445f3e6 100644 --- a/reactos/lib/setupapi/devinst.c +++ b/reactos/lib/setupapi/devinst.c @@ -4044,6 +4044,7 @@ AddDriverToList( InsertHeadList(PreviousEntry, &driverInfo->ListEntry); break; } + PreviousEntry = PreviousEntry->Flink; } if (PreviousEntry == DriverListHead) {