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

MythTV mythtv at cvs.mythtv.org
Sun Mar 5 12:39: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:         
Component:  dvb                             |      Version:         
 Severity:  medium                          |   Resolution:         
--------------------------------------------+-------------------------------
Comment (by Janne <janne-mythtv at grunau.be>):

 the updated patch fixes other uint underlows in pespacket.h

 i think the length in the failing packet is bogus, but mythtv shluldn't
 fail.

 two bogus buffer SIParser::ParseTable() is called with
 {{{
 buffer =
 "\"\000\000`\032É0ø\t\001!\0240Q(\235Ò'\030\000\000\002\000\000\000)M\023deu\016\005Lost
 in music\000i\003ò\234À\202\r19:0005.03#00(\236Ò'
 \000\000\002\000\000\000.M\030deu\023\005Sterne und
 Zeichen\000i\003ò\235@\202\r21:0005.03#00\212¥hWt\21220:25-20:40 Uhr
 (Wdh.)\212Vorteil Verbraucher - Der Ratgeber\21220:45-21:00"...

 buffer =
 "OðÙn0Û\000\001\0041\000\001\001O½¶Ò$\b\000\000\003\000\000\200¾M\031deu\024\005FIGARO
 AM VORMITTAG\000P\fò\003\002deustereoNy\000deu\000s\00509:05
 Fundbüro\21209:35  Musik und Information\21210:15  CD-Tipp\21210:45
 Film-Tipp\21211:15  Das Thema\21211:45
 Kalenderblatti\003ñ\032 at _\004\000\000\000"...
 }}}

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


More information about the mythtv-commits mailing list