Wireshark-commits: [Wireshark-commits] rev 45310: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Thu, 04 Oct 2012 15:37:39 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45310

User: martink
Date: 2012/10/04 08:37 AM

Log:
 try to fix usb-related fuzz test crashes
 
 in dissect_usb_interface_descriptor() and
 dissect_usb_endpoint_descriptor, the offset should be incremented
 depending on the number of bytes we dissected, not based on the len
 field (len field==0 would then cause an endless loop)
 
 also fixed one occurrence of old_offset-offset, that's probably a typo,
 the values will always be negative...

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +1 -3      packet-usb.c    Modified