[mythtv-commits] Ticket #7766: Segfault when skipping ahead with EIA-708 closed captions enabled

MythTV mythtv at cvs.mythtv.org
Fri Dec 18 00:20:32 UTC 2009


#7766: Segfault when skipping ahead with EIA-708 closed captions enabled
----------------------------------------------+-----------------------------
 Reporter:  Clayton Smith <argilo@…>          |       Owner:  danielk
     Type:  patch                             |      Status:  new    
 Priority:  minor                             |   Milestone:  unknown
Component:  MythTV - ATSC                     |     Version:  head   
 Severity:  medium                            |     Mlocked:  0      
----------------------------------------------+-----------------------------
 A segfault occasionally occurs when skipping ahead (with the right arrow
 key) while EIA-708 (ATSC) closed captions are turned on.  I did some
 debugging with gdb, and discovered that the crash occurs in
 CC708Window::Scroll, which accesses the "text" variable even though it may
 be null.  I've attached a patch which adds a null check to prevent this
 crash from occurring.

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


More information about the mythtv-commits mailing list