[mythtv-commits] Ticket #4825: check readlink for errors

MythTV mythtv at cvs.mythtv.org
Mon Mar 3 16:43:56 UTC 2008


#4825: check readlink for errors
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr       
     Type:  defect                           |      Status:  new       
 Priority:  minor                            |   Milestone:  0.21      
Component:  mythtv                           |     Version:  0.21-fixes
 Severity:  low                              |     Mlocked:  0         
---------------------------------------------+------------------------------
 The libc call readlink() is a bit tricky. It should be checked to make
 sure that nothing strange happened. In the member function
 MediaMonitorUnix::AddDevice() it is checked to see if anything was written
 to it. But it is not checked for errors.

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


More information about the mythtv-commits mailing list