ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 6950] openSAFETY - Malformed packets disable the dissector

Date: Thu, 15 Mar 2012 11:57:35 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6950

--- Comment #6 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2012-03-15 11:57:34 PDT ---
I was kind of in a hurry last night, but I did think about the problem after my
last reply.  A good way to solve this (probably simpler and more reliable than
what you've got in the latest patch) is to use an "end of frame" callback (see
register_frame_end_routine());  I used that for a similar problem in the MTP3
dissector not too long ago.  Just use the end-of-frame routine to set the
(global) variable back to FALSE.  It does require making the variable global,
but...

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.