[mythtv-commits] Ticket #4840: title_devs has only 9 entries. It will be overrun if for loop goes to i=8

MythTV mythtv at cvs.mythtv.org
Mon Mar 3 21:12:25 UTC 2008


#4840: title_devs has only 9 entries. It will be overrun if for loop goes to i=8
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr       
     Type:  defect                           |      Status:  new       
 Priority:  minor                            |   Milestone:  0.21      
Component:  mythtv                           |     Version:  0.21-fixes
 Severity:  low                              |     Mlocked:  0         
---------------------------------------------+------------------------------
 In the function DVDReadBlocksPath a for loop goes through all 9 entries in
 the title_devs array. But it will index i+1, which will be 9 and out of
 range of the array if the for loop increments to i=8. Which it can do.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4840>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list