[mythtv-commits] Ticket #19: nvp can be null
MythTV
mythtv at cvs.mythtv.org
Sun Jun 26 19:49:43 UTC 2005
#19: nvp can be null
--------------------+-------------------------------------------------------
Id: 19 | Status: new
Component: mythtv | Modified: Sun Jun 26 19:49:43 2005
Severity: medium | Milestone:
Priority: minor | Version: head
Owner: ijr | Reporter: Anduin Withers <awithers at anduin.com>
--------------------+-------------------------------------------------------
The 6712 changes to tv_play.cpp assume nvp is valid for longer than it is.
(Basically now the potential to get an AV while tearing down the player
exists (and happens)).
Around line 1313 (not exact, the line is "if (GetOSD() && (oset =
GetOSD()->GetSet("status"))"), the problem is that nvp could be gone (due
to a state change to kState_None several lines up, which could have
already destroyed nvp (the old code would set osd to NULL while tearing it
down)).
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/19>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list