[mythtv-commits] Ticket #4744: null pointer check comes too late in MediaMonitorUnix::AddDevice
MythTV
mythtv at cvs.mythtv.org
Fri Feb 22 21:51:53 UTC 2008
#4744: null pointer check comes too late in MediaMonitorUnix::AddDevice
---------------------------------------------+------------------------------
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
---------------------------------------------+------------------------------
In MediaMonitorUnix::AddDevice in libs/libmyth/mediamonitor-unix.cpp there
is a check to make sure that the fstab struct pointer it was handed is not
null. But the check comes after the pointer was dereferenced.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4744>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list