Wireshark-commits: [Wireshark-commits] rev 45410: /trunk-1.8/epan/dissectors/ /trunk-1.8/epan/disse

Date: Mon, 08 Oct 2012 21:22:25 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45410

User: etxrab
Date: 2012/10/08 02:22 PM

Log:
 Copy over:
 Revision 45339 - Fix error caught by valgrind where we were running off the end of a
 variable because we were passing the address of a single guint8 as a
 char*. Work around it by making the guint8 an array and filling the last
 element with 0 as if it were a null-terminated string.
 
 
 --------------------------------------------------------------------------------
 Revision 45310 - 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-1.8/epan/dissectors/
  Changes    Path            Action
  +12 -11    packet-usb.c    Modified