[mythtv-commits] Ticket #5002: Missed one null check in cahgneset 16659

MythTV mythtv at cvs.mythtv.org
Wed Mar 19 18:22:39 UTC 2008


#5002: Missed one null check in cahgneset 16659
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr    
     Type:  defect                           |      Status:  new    
 Priority:  minor                            |   Milestone:  unknown
Component:  mythtv                           |     Version:  head   
 Severity:  low                              |     Mlocked:  0      
---------------------------------------------+------------------------------
 In [http://svn.mythtv.org/trac/changeset/16659 16659] there was a change
 to libavformat/utils.c where some null checks were added to help with
 segfaulting in the internal dvd player. These checks are good.

 But at line 884 there still needs to be a check for null of
 {{{st->codec}}} because it will be dereferenced in the next line in the
 call to av_parser_init().

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


More information about the mythtv-commits mailing list