[mythtv-commits] Ticket #1705: RunTableMonitorTS overwrites occasionally a tspacket with uninitialized data
MythTV
mythtv at cvs.mythtv.org
Tue Apr 18 16:01:14 UTC 2006
#1705: RunTableMonitorTS overwrites occasionally a tspacket with uninitialized
data
--------------------------------------------+-------------------------------
Reporter: Janne <janne-mythtv at grunau.be> | Owner: danielk
Type: patch | Status: new
Priority: minor | Milestone:
Component: dvb | Version:
Severity: medium |
--------------------------------------------+-------------------------------
If the read in RunTableMonitorTS reads 188 bytes not starting with a sync
byte, ProcessData cant process it and returns 188 as remainding bytes.
An error in the memmove overwrites this packet with garbage from the end
of the uninitialized buffer. Tuning works only if the read returns more
than 188 bytes.
Attached patch fixes this.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1705>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list