Wireshark-commits: [Wireshark-commits] rev 24046: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Wed, 09 Jan 2008 17:06:32 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=24046

User: morriss
Date: 2008/01/09 05:06 PM

Log:
 When searching for EOC (because we have an indefinite length) don't stop searching just because we ran out of TVB (thus assuming that the EOC is just beyond the end of the message).  Instead, try to keep going which will throw an exception (ReportedBoundsError).  I had a packet which was missing the EOC (probably programmer error) and Wirshark was reporting BoundsError (Packet size limited during capture) instead of ReportedBoundsError (Malformed Packet); this patch fixes that.

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