[Bug 22326] New: Mishandles caps for bare JIDs, possibly causing crashes.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 16 23:33:43 CEST 2009


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

           Summary: Mishandles caps for bare JIDs, possibly causing crashes.
           Product: Telepathy
           Version: unspecified
          Platform: Other
               URL: http://git.collabora.co.uk/?p=user/wjt/telepathy-gabble-
                    wjt.git;a=shortlog;h=refs/heads/caps-from-bare-jid
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: telepathy-gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk


Gabble currently mishandles capabilities from bare JIDs. At best, it will look
them up and ignore the result, but it crashes on the following (admittedly
unlikely) scenario:

* Gets presence from a bare JID, including a caps hash;
* Discoes the bare JID to discover what the caps hash means;
* Gets presence from a qualified JID;
* Gets the disco response.

My branch 'caps-from-bare-jid' fixes this, and also tidies up some ugliness in
some of the caps tests I noticed.


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