| 
      
      
      From: Dan E. <Dan...@ne...> - 2006-08-23 13:25:27
      
     | 
| Ok, the culprit is finally tracked down, it was nothing to do with lifetimes of struct usb_devices, but in usb_os_determine_children which was only fairly recently added. When the number of children is counted, the number is reset from the previous occasion, and eventually wraps resulting in a malloc of 0, but still an attempt to write something in the location allocated which causes heap corruption. This was not causing a problem until the memory leak of virtual hubs was fixed because the new virtual hubs were always zeroed. Dan |