Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3816] TShark and fuzz-test do not detect dissector asserts

Date: Fri, 7 Aug 2009 10:37:34 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3816


Bill Meier <wmeier@xxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wmeier@xxxxxxxxxxx




--- Comment #3 from Bill Meier <wmeier@xxxxxxxxxxx>  2009-08-07 10:37:32 PDT ---
1. It's certainly the case that the grep ... of tshark stderr is useless.
   tshark has it's g_log handlers set to "ignore ....".

2. Looks like the ABORT.... env variable is not working (at least on Windows).

   Looking at fuzz-test.sh it I think that WIRESHARK_ABORT_ON_DISSECTOR_BUG
needs to be exported to be set in the environment (as I somewhat dimly remember
my BASH details).

2. DISSECTOR_ASSERT does not appear to check WIRESHARK_ABORT_ON_DISSECTOR_BUG


So: I'll fix the fuzz-test.sh, change DISSECTOR_ASSERT to look at the env
variable and verify that everything works as desired.


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