[Bug 38060] New: message-mixin: check we have >= 2 parts before accessing the second one

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 8 05:36:57 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=38060

           Summary: message-mixin: check we have >= 2 parts before
                    accessing the second one
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: danielle.madeley at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


tp-glib doesn't check there is actually a second message-part before accessing
it (telepathy-glib/message-mixin.c:654), if your CM is broken this will cause a
crash. It would be much better to generate a critical-warning that the CM is
broken and do something to recover.

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



More information about the telepathy-bugs mailing list