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 18869: /trunk/epan/ /trunk/epan/: packet.c

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


From: jmayer@xxxxxxxxxxxxx
Date: Thu, 10 Aug 2006 10:09:31 GMT

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=18869

User: jmayer
Date: 2006/08/10 10:09 AM

Log:
 Neil Piercy:
 
 I've just had a bug in one of our private dissectors which meant
 that the handle passed to call_dissector was null. This seemed to give
 varying behavior - on some Windows installations it hit wireshark's
 in-built exception handling, and displayed that the dissector had an
 error (correct), but on some installations it just crashed wireshark
 (not helpful). I _think_ the difference was whether MSVC was installed
 or not, but on a sample of only 3 machines.
 
 Should call_dissector include explicit null handle checks, and if so,
 should it:-
 
 a) g_assert - the simple patch attached
 b) fallback to doing a data decode (as disabled protocols do)
 c) try to invoke the wireshark exception handling for the packet
 
 Or is the correct answer none of the above - the exception handler
 should already cope ?

Directory: /trunk/epan/
  Changes    Path          Action
  +1 -0      packet.c      Modified


  • Prev by Date: [Wireshark-commits] rev 18868: /trunk/asn1/
  • Next by Date: [Wireshark-commits] rev 18870: /trunk/doc/ /trunk/doc/: README.developer
  • Previous by thread: [Wireshark-commits] rev 18868: /trunk/asn1/
  • Next by thread: [Wireshark-commits] rev 18870: /trunk/doc/ /trunk/doc/: README.developer
  • Index(es):
    • Date
    • Thread

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