[Bug 20992] Dispatcher: null pointer dereference if ObserveChannels times out

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 1 15:14:45 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=20992





--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2009-04-01 06:14:44 PST ---
The reason for the crash appears to be that
mcd_dispatcher_context_get_protocol_name copies the protocol name lazily, by
obtaining the account from the context's connection, then copying the protocol
from the account; however, when it is first called in this test, the connection
has been set to NULL already. It seems to be necessary to either copy the
protocol name eagerly, or ref the connection and/or account in the "dispatcher
context".

(What is a dispatcher context, anyway? Answers on a postcard.)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list