[mythtv-commits] Ticket #4918: can overrun fixed sized array _tsdata

MythTV mythtv at cvs.mythtv.org
Mon Mar 10 23:16:46 UTC 2008


#4918: can overrun fixed sized array _tsdata
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |        Owner:  janne   
     Type:  defect                           |       Status:  accepted
 Priority:  trivial                          |    Milestone:  0.22    
Component:  mythtv                           |      Version:  head    
 Severity:  low                              |   Resolution:          
  Mlocked:  0                                |  
---------------------------------------------+------------------------------
Changes (by janne):

  * owner:  ijr => janne
  * priority:  minor => trivial
  * status:  new => accepted
  * milestone:  unknown => 0.22


Comment:

 No, it's not an typo. It's correct to read the first byte after header
 which contains the adpation field length if the packet has one.

 The function should be moved from TSHeader to TSPacket.

 It won't cause problems since our TSPackets are continuous memory and the
 over read will give the correct value.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4918#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list