Wireshark-bugs: [Wireshark-bugs] [Bug 3816] TShark and fuzz-test do not detect dissector asserts
Date: Fri, 7 Aug 2009 11:16:14 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3816





--- Comment #6 from Bill Meier <wmeier@xxxxxxxxxxx>  2009-08-07 11:16:12 PDT ---
(In reply to comment #5)
> 1. Is there a good reason why the log function in tshark just discards the
> message rather than sending it to the standard error?
> 

Slight correction on my part: tshark sets the handlers for the WARNING,
MESSAGE, INFO and DEBUG levels to "ignore". ERROR log messages go the the
default handler which outputs a message to stderr before aborting.

I don't know why tshark discards WARNING, etc messages.

A thought would be to have tshark use the console_log_level preference to
determine which messages are sent to stderr.

The default is  G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_ERROR.


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