Wireshark-commits: [Wireshark-commits] rev 48796: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Tue, 09 Apr 2013 02:05:40 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48796

User: morriss
Date: 2013/04/08 07:05 PM

Log:
 Fix the fuzz failure reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8539 :
 
 Bail out of the item length we get (which we use to increment the offset) is 0.
 Otherwise the offset does not advance and we loop forever.
 
 While we're in there: get the item length just once (there's no need to call
 tvb_get_guint8() a half dozen times when one will do).

Directory: /trunk/epan/dissectors/
  Changes    Path                Action
  +14 -14    packet-assa_r3.c    Modified