[NTOS:IO]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 23 Jul 2016 18:18:11 +0000 (18:18 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 23 Jul 2016 18:18:11 +0000 (18:18 +0000)
- Avoid infinite loop in IopMountVolume. Brought to you by Vadim Galyant.
CORE-11663 #resolve

svn path=/trunk/; revision=71982

reactos/ntoskrnl/io/iomgr/volume.c

index 82bf52f..d5ab2ec 100644 (file)
@@ -554,6 +554,7 @@ IopMountVolume(IN PDEVICE_OBJECT DeviceObject,
                 (ListEntry->Flink != FsList))
             {
                 /* Then skip this entry */
                 (ListEntry->Flink != FsList))
             {
                 /* Then skip this entry */
+                ListEntry = ListEntry->Flink;
                 continue;
             }
 
                 continue;
             }