Wireshark-bugs: [Wireshark-bugs] [Bug 3227] Implement packet loss detection in for MPEG2 Transpo

Date: Wed, 28 Jan 2009 04:51:13 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3227


Jesper Dangaard Brouer <jdb@xxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2707|                            |review_for_checkin?
               Flag|                            |




--- Comment #1 from Jesper Dangaard Brouer <jdb@xxxxxxx>  2009-01-28 04:51:12 PDT ---
Created an attachment (id=2707)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2707)
Exception handling in packet-mp2t.c (MPEG2 Transport Stream)

Exception handling in packet-mp2t.c (MPEG2 Transport Stream).

Each MPEG2 packet contains a number of TS packets. An exception
during processing of TS packets causes processing to stop of the
remaining TS packets.

The call to call_dissector() is very likely to throw a BoundsError
as this protocol splits the media stream up into chunks of
MP2T_PACKET_SIZE.

This patch, catches BoundsError and ReportedBoundsError, to allow
processing of the remaining TS packets.

Signed-off-by: Jesper Dangaard Brouer <hawk@xxxxxxx>
Reviewed-by: Martin Philip Topholm <mph@xxxxxxx>


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.