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

Wireshark-commits: [Wireshark-commits] master-2.2 0416a3b: If a subdissector throws an exception, c

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 12 Apr 2018 00:47:19 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0416a3b581c649f8f8532a56744c3ab89f4897fd
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

0416a3b by Guy Harris (guy@xxxxxxxxxxxx):

    If a subdissector throws an exception, catch it and continue.
    
    That way, some exception thrown higher in the protocol stack doesn't
    stop us from dissecting the next TSP.
    
    Change-Id: Ib756e5d62806caf0edd4e4ded18bb94000653d39
    Reviewed-on: https://code.wireshark.org/review/26897
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 81f184bc00b938807cfdee72dc6f8d49412e26c6)
    Reviewed-on: https://code.wireshark.org/review/26900
    

Actions performed:

    from  c04d590   NBSS: take into account snaplen when creating the TVB subset
    adds  0416a3b   If a subdissector throws an exception, catch it and continue.


Summary of changes:
 epan/dissectors/packet-mp2t.c | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)