[mythtv-commits] Ticket #4744: null pointer check comes too late in MediaMonitorUnix::AddDevice

MythTV mythtv at cvs.mythtv.org
Fri Feb 22 22:27:55 UTC 2008


#4744: null pointer check comes too late in MediaMonitorUnix::AddDevice
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |        Owner:  ijr   
     Type:  defect                           |       Status:  closed
 Priority:  minor                            |    Milestone:  0.21  
Component:  mythtv                           |      Version:  head  
 Severity:  low                              |   Resolution:  fixed 
  Mlocked:  0                                |  
---------------------------------------------+------------------------------
Changes (by danielk):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [16208]) Fixes #4744. Moves a null pointer check to a slightly earlier
 point in MediaMonitorUnix::AddDevice() so we don't try to dereference it
 before NULL check (looks like it was moved to a bad location for a now
 commented out debug statement..)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4744#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list