Wireshark mailing list archives

Re: Handling malformed packet exceptions from within ASN.1 dissectors


From: Richard Sharpe <realrichardsharpe () gmail com>
Date: Tue, 3 Nov 2020 08:13:56 -0800

On Mon, Nov 2, 2020 at 11:57 PM Anders Broman via Wireshark-dev
<wireshark-dev () wireshark org> wrote:

Hi,
I think a TRY CATCH block is the thing to use. Grep for CTACH and I think you will find a bunch of examples.

Yeah, I found them. But then I found that the ASN.1 dissectors already
handle the situation and my problem was elsewhere :-)

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: