[mythtv-commits] Ticket #5563: rev 17858 introduces a potential segfault in xmlparsebase.cpp
MythTV
mythtv at cvs.mythtv.org
Mon Jul 21 18:31:48 UTC 2008
#5563: rev 17858 introduces a potential segfault in xmlparsebase.cpp
---------------------------------------------+------------------------------
Reporter: Erik Hovland <erik at hovland.org> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Mlocked: 0
---------------------------------------------+------------------------------
The code inserted by commit of svn rev 17858 introduces a potential
segfault. The added if clause includes a dereference of the parent
pointer. That pointer might be null. If it is, this code will cause a
segfault.
The patch changes the if clause to the not version and wraps the other if
clauses in it, but the {{{parent &&}}} is the only part required.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5563>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list