Author: fireball
Date: Thu Feb 26 16:14:46 2009
New Revision: 39770
URL:
http://svn.reactos.org/svn/reactos?rev=39770&view=rev
Log:
- Actually advance current item pointer to the next one when traversing a linked list.
Fixes an infinite loop when building USB interface.
Modified:
trunk/reactos/drivers/usb/nt4compat/usbdriver/devmgr.c
Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/devmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/devmgr.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/devmgr.c [iso-8859-1] Thu Feb 26
16:14:46 2009
@@ -1246,6 +1246,7 @@
pthis_if = (PUSB_INTERFACE) (((PBYTE) pthis) - offsetof(USB_INTERFACE,
altif_list));
pthis_if->altif_count = pif->altif_count;
ListNext(&pif->altif_list, pthis, pnext);
+ pthis = pnext;
}
}