[Bug 59757] New: const gchar ** arguments are inferred to be utf8, not array-of-utf8

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 23 12:40:54 CET 2013


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

          Priority: medium
            Bug ID: 59757
          Assignee: telepathy-bugs at lists.freedesktop.org
           Summary: const gchar ** arguments are inferred to be utf8, not
                    array-of-utf8
        QA Contact: telepathy-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: will.thompson at collabora.co.uk
               URL: http://cgit.collabora.com/git/user/wjt/telepathy-glib/
                    commit/?id=5ca4b844209dd4649bc93c485660f569e9ba87f4
          Hardware: Other
            Status: NEW
           Version: git master
         Component: tp-glib
           Product: Telepathy

kuuko on #telepathy discovered that tp_account_update_parameters_vardict_async,
when called from python, expects a string (not an array of strings) as its
const gchar **unset_parameters argument. Unsurprisingly it then crashes.

11:38         xclaesse | telepathy-glib$ grep "name=\"utf8\" c:type=\"const
gchar\*\*\"" TelepathyGLib-0.12.gir  | wc -l
11:38         xclaesse | 14

we should fix 'em all. this untested patch fixes one.

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