[Bug 21817] New: Sometimes crashes upon receiving an empty <nick/> update.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 19 18:40:09 CEST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=21817
Summary: Sometimes crashes upon receiving an empty <nick/>
update.
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: critical
Priority: medium
Component: telepathy-gabble
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: will.thompson at collabora.co.uk
I attempted to set my avatar, and for whatever reason Gabble sent a PEP
nickname update to the server. In response, I received a pubsub event with a
contentless <nick/> node:
<message from='jid redacted' to='jid redacted/Telepathy'><event
xmlns='http://jabber.org/protocol/pubsub#event'><items
node='http://jabber.org/protocol/nick'><item id='4DA4B02D620C9'> <nick
xmlns='http://jabber.org/protocol/nick'/>
</item></items></event></message>
Gabble crashed, because it assumes that if there is a <nick/> node, then
lm_message_node_get_value returns non-NULL, and passes NULL data with a
non-NULL destroy callback to tp_handle_set_qdata(). I infer that Gabble had
previously stored a non-NULL alias on the handle.
--
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