[Bug 26271] New: Crashes if you send it disco requests with no id=''

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 27 15:58:53 CET 2010


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

           Summary: Crashes if you send it disco requests with no id=''
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk


It's illegal to send <iq/> stanzas without an id='' (per the first rule of IQ
Semantics in XMPP Core
<http://xmpp.org/rfcs/rfc3920.html#stanzas-semantics-iq>), but neither ejabberd
nor Loudmouth filters them out before they reach Gabble. If passed an IQ with
no id='', lm_iq_message_make_result() returns NULL; connection_iq_disco_cb()
assumed that it returned a valid message, and hence crashes.

Patch to follow...


-- 
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