[mythtv-commits] Ticket #5449: prevent overrun of _pid_status in MpegRecorder

MythTV mythtv at cvs.mythtv.org
Fri Jun 20 00:03:59 UTC 2008

#5449: prevent overrun of _pid_status in MpegRecorder
 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      
 _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

 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.

Ticket URL: <http://svn.mythtv.org/trac/ticket/5449>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list