Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master-2.6 45967eb: If a subdissector throws an exception, c

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

Commits:

45967eb 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/26898
    

Actions performed:

    from  a2b2504   NBSS: take into account snaplen when creating the TVB subset
    adds  45967eb   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(-)