mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +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);
|
||||
break;
|
||||
}
|
||||
PreviousEntry = PreviousEntry->Flink;
|
||||
}
|
||||
if (PreviousEntry == DriverListHead)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue