Windows: Fix crash during enumeration with >= 64 connected devices
authorDave Camarillo <dave.camarillo@gmail.com>
Fri, 23 Sep 2011 10:56:58 +0000 (11:56 +0100)
committerPeter Stuge <peter@stuge.se>
Wed, 8 Feb 2012 13:46:17 +0000 (14:46 +0100)
commitf6ef0fca4b36657c1a0885c18cc4c4afcb4f7339
treed8191988aa39b6ba231c2a24e55965ff214f40dd
parente280760331e8b39ad3530235653644654166b322
Windows: Fix crash during enumeration with >= 64 connected devices

* indexes were outgrowing the unref_list array before realloc,
  resulting in out of bound access and crash.
libusb/os/windows_usb.c