[mythtv-commits] Ticket #6926: mythfrontend crashes on startup for nvidia if any modeline has name like FOO-1080

MythTV mythtv at cvs.mythtv.org
Thu Aug 27 13:52:23 UTC 2009


#6926: mythfrontend crashes on startup for nvidia if any modeline has name like
FOO-1080
---------------------------------------------+------------------------------
 Reporter:  gavin at ytz.ca                     |       Owner:  stuartm
     Type:  defect                           |      Status:  new    
 Priority:  minor                            |   Milestone:  unknown
Component:  MythTV - User Interface Library  |     Version:  head   
 Severity:  medium                           |     Mlocked:  0      
---------------------------------------------+------------------------------
 If you have modelines of the form FOO-1080, then you'll segfault in the
 strstr() call in modeline_is_interlaced.

 It's apparently caused by a bug in parse_mode_string, which finds the
 wrong modestring in this case, causing find_modeline to error out, causing
 pain.  See the for loop in parse_mode_string and the checks with isdigit.

 I was having segfaults on every startup; I can reproduce this (and
 hopefully almost anyone else can) if you want more information.

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


More information about the mythtv-commits mailing list