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

Wireshark-dev: Re: [Wireshark-dev] Catching exceptions in dissector_try_heuristic?

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
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?