[Bug 54500] New: connection-contact-list::prepare_contact_groups_cb crashes if a CM lacks Groups
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Sep 4 19:28:58 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=54500
Bug #: 54500
Summary: connection-contact-list::prepare_contact_groups_cb
crashes if a CM lacks Groups
Classification: Unclassified
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: tp-glib
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: simon.mcvittie at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
Starting at line 606 in telepathy-glib-0.18:
groups = tp_asv_get_boxed (properties, "Groups", G_TYPE_STRV);
for (iter = groups; *iter != NULL; iter++)
{
DEBUG (" %s", *iter);
g_ptr_array_add (self->priv->contact_groups, g_strdup (*iter));
}
The second quoted line will crash if tp_asv_get_boxed() returns NULL, which
will happen if the CM has no Groups property at all (i.e. is broken).
--
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