[mythtv-commits] Ticket #5518: dereference before being checked defects in NuppelVideoPlayer.cpp and tv_play.cpp

MythTV mythtv at cvs.mythtv.org
Mon Jul 7 19:36:30 UTC 2008


#5518: dereference before being checked defects in NuppelVideoPlayer.cpp and
tv_play.cpp
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr    
     Type:  defect                           |      Status:  new    
 Priority:  trivial                          |   Milestone:  unknown
Component:  mythtv                           |     Version:  head   
 Severity:  low                              |     Mlocked:  0      
---------------------------------------------+------------------------------
 These defects are the instances where a pointer is dereferenced and then
 later checked for null. The fix is usually to check before that
 dereference, but sometimes the fix could be to get rid of the later check
 (very infrequently).

 Watch out, these patches are in heavily used code paths.

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


More information about the mythtv-commits mailing list