[mythtv-commits] Ticket #1456: fixed underflow protection in PESPacket constructor

MythTV mythtv at cvs.mythtv.org
Tue Mar 7 00:15:37 UTC 2006


#1456: fixed underflow protection in PESPacket constructor
--------------------------------------------+-------------------------------
 Reporter:  Janne <janne-mythtv at grunau.be>  |        Owner:  danielk
     Type:  defect                          |       Status:  new    
 Priority:  minor                           |    Milestone:  0.20   
Component:  dvb                             |      Version:  head   
 Severity:  medium                          |   Resolution:         
--------------------------------------------+-------------------------------
Comment (by Janne <janne-mythtv at grunau.be>):

 first segfault.

 I'm pretty sure that the packet with length 0 is the troublesome and has
 no CRC.
 It's _pesdataSize is 2^32-1 = ((uint32)0)-1 and it isn't segfaulting in
 the verifyCRC().

 I will update the patch to log all HasCRC() values.

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


More information about the mythtv-commits mailing list