[mythtv-commits] Ticket #4735: mythfrontend needs to make sure that container pointer is valid

MythTV mythtv at cvs.mythtv.org
Fri Feb 22 03:01:26 UTC 2008


#4735: mythfrontend needs to make sure that container pointer is valid
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr 
     Type:  defect                           |      Status:  new 
 Priority:  minor                            |   Milestone:  0.21
Component:  mythtv                           |     Version:  head
 Severity:  low                              |     Mlocked:  0   
---------------------------------------------+------------------------------
 mythfrontend often gets the background object pointer from calling:
 theme->GetSet("background");

 This can return null. But probably rarely does. It is still good practice
 to check for null before dereferencing the pointer.

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


More information about the mythtv-commits mailing list