Wireshark mailing list archives

Re: Catching exceptions in dissector_try_heuristic?


From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Wed, 23 May 2012 17:18:15 -0400

Jakub Zawadzki wrote:
Hi,

Should we catch BoundsError, ReportedBoundsError exceptions in dissector_try_heuristic()?
It'll fix once for ever bugs like #7277.

I've always tried to /avoid/ too many TRY/CATCH sequences, though I don't recall exactly why at the moment. Performance? Just Bad Practice?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: