[mythtv-commits] Ticket #5575: check pointer before dereferencing in mythphone
MythTV
mythtv at cvs.mythtv.org
Sat Jul 26 16:48:10 UTC 2008
#5575: check pointer before dereferencing in mythphone
---------------------------------------------+------------------------------
Reporter: Erik Hovland <erik at hovland.org> | Owner: ijr
Type: defect | Status: new
Priority: trivial | Milestone: unknown
Component: mythphone | Version: head
Severity: low | Mlocked: 0
---------------------------------------------+------------------------------
sipMsg is checked at the beginning of ::FSM() so it should be checked
throughout. My guess is that sipMsg is almost never null so maybe this
code could be reworked differently. But the attached patch assumes it can
be null and always checks it before dereferencing.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5575>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list