Opened 14 years ago

Closed 14 years ago

#1062 closed patch (fixed)

CRC-errors when handling PAT/PMT-tables.

Reported by: jyrki.n@… Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If PMT-data section length exceeds TS-packet size with less than 5 bytes, the TS-packet will be handled as a complete PMT-table and generate CRC-error.

Attachments (2)

patch-pmt-partial.diff (622 bytes) - added by jyrki.n@… 14 years ago.
Patch for PAT/PMT tables
problem-pmt.log (5.3 KB) - added by jyrki.n@… 14 years ago.
Here is a dvbsnoop of TS-packets with PMT-tables. These packets will generate CRC-errors in current myth.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by jyrki.n@…

Attachment: patch-pmt-partial.diff added

Patch for PAT/PMT tables

comment:1 Changed 14 years ago by danielk

Milestone: 0.19unknown
Priority: majorminor

Shouldn't you check if the table has a CRC before adding 4 to the length?

comment:2 Changed 14 years ago by jyrki.n@…

Those 4 bytes are for pointerfield,table id and section length. CRC bytes are included in section length.

Changed 14 years ago by jyrki.n@…

Attachment: problem-pmt.log added

Here is a dvbsnoop of TS-packets with PMT-tables. These packets will generate CRC-errors in current myth.

comment:3 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [8654]) Fixes #1062, by applying modified patch. Thanks jyrki.

Note: See TracTickets for help on using tickets.