[Bug 31857] New: TpDebugSender should fix invalid UTF-8 strings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 23 11:08:43 CET 2010


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

           Summary: TpDebugSender should fix invalid UTF-8 strings
           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: jonny.lamb at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


A CM can call tp_debug_sender_add_message with an invalid UTF-8 string and,
assuming the debugger is disabled, the string will sit in the debugger until
GetMessages() is called, when it will make the CM be disconnected from the bus.

We should:

... in the short term, only allow valid UTF-8 strings to be added to the
debugger.

... in the long term, have some function (ideally in GLib, but yeah) to fix up
bad strings munging the badness out of them. Apparently pidgin has a good
function for task.

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