| Summary: |
connection-contact-list::prepare_contact_groups_cb crashes if a CM lacks Groups |
| Product: |
Telepathy
|
Reporter: |
Simon McVittie <smcv> |
| Component: |
tp-glib | Assignee: |
Simon McVittie <smcv> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
Telepathy bugs list <telepathy-bugs> |
| Severity: |
normal
|
|
|
| Priority: |
medium
|
Keywords: |
patch |
| Version: |
unspecified | |
|
| Hardware: |
Other | |
|
| OS: |
All | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Attachments: |
TpConnection: don't crash if a broken CM has no Groups property
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
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).