Opened 16 years ago
Closed 16 years ago
#5449 closed defect (fixed)
prevent overrun of _pid_status in MpegRecorder
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
_pid_status has 8191 values but there are 8192 possible PIDs. It is possible to overrun it with PID 8192 (the null PID).
The attached patch adds one more for _stream_id, _pid_status and _continuity_count.
Your mission if you choose to accept it is to refactor DVBRecorder and MpegRecorder? so that the code for the above arrays is shared between them instead of copied.
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | libs_libmythtv_mpegrecorder.h-prevent-overrun-of-_pid_status.patch added |
---|
comment:1 Changed 16 years ago by
Note: See
TracTickets for help on using
tickets.
Adds one more to the arrays _stream_id, _pid_status and _continuity_count