Opened 16 years ago
Closed 16 years ago
#5129 closed defect (fixed)
pid can overrun _pid_status
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (2)
Changed 16 years ago by
comment:1 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
check pid for 0x1fff before putting it into _pid_status