Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-commits: [Wireshark-commits] rev 24046: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-ber.c

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: morriss@xxxxxxxxxxxxx
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


  • Prev by Date: [Wireshark-commits] rev 24045: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-rtcp.c packet-rtp.c
  • Next by Date: [Wireshark-commits] rev 24047: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-3g-a11.c
  • Previous by thread: [Wireshark-commits] rev 24045: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-rtcp.c packet-rtp.c
  • Next by thread: [Wireshark-commits] rev 24047: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-3g-a11.c
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation