[Telepathy] [Bug 19101] New: tp_connection_get_contacts_by_id() oversteps the array, crashing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 15 09:30:36 PST 2008


           Summary: tp_connection_get_contacts_by_id() oversteps the array,
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-glib
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: murrayc at murrayc.com

Created an attachment (id=21179)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=21179)

tp_connection_get_contacts_by_id() crashes for me because of a call to
g_hash_table_lookup() with a NULL string for index 2 (though I only supplied 1

This patch fixes the crash, but I think there is something else fundamentally
wrong with the latest code in git because I am seeing these GErrors which seem
suspiciously related:

Connection manager :1.447 is broken: contact #2 in the GetContactAttributes
result has no contact-id

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