[mythtv-commits] Ticket #5129: pid can overrun _pid_status
MythTV
mythtv at cvs.mythtv.org
Thu Apr 3 03:07:23 UTC 2008
#5129: pid can overrun _pid_status
---------------------------------------------+------------------------------
Reporter: Erik Hovland <erik at hovland.org> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Mlocked: 0
---------------------------------------------+------------------------------
In DVBRecorder::ProcessAVTSPacket() the array _pid_status acts as a lookup
table of PIDs. It has 0x1fff entries (which means the last index is
0x1ffe). 0x1fff is a valid (if null) pid. So if a 0x1fff comes up
ProcessAVTSPacket() will try to shove it into _pid_status, which will
overrun that array. That function should treat the 0x1fff appropriately
instead of overrunning.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5129>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list