mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fix infinite loop (spotted by mifritscher)
svn path=/trunk/; revision=18838
This commit is contained in:
parent
689236b337
commit
c3bd1b9130
1 changed files with 1 additions and 0 deletions
|
@ -4044,6 +4044,7 @@ AddDriverToList(
|
||||||
InsertHeadList(PreviousEntry, &driverInfo->ListEntry);
|
InsertHeadList(PreviousEntry, &driverInfo->ListEntry);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
PreviousEntry = PreviousEntry->Flink;
|
||||||
}
|
}
|
||||||
if (PreviousEntry == DriverListHead)
|
if (PreviousEntry == DriverListHead)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue