Summary: | Crash when sending a message in a MUC | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Guillaume Desmottes <guillaume.desmottes> |
Component: | tp-glib | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | _tp_channel_contacts_queue_prepare_finish: don't assume item->contacts is not NULL |
Description
Guillaume Desmottes
2011-10-18 05:59:29 UTC
Created attachment 52474 [details] [review] _tp_channel_contacts_queue_prepare_finish: don't assume item->contacts is not NULL For example, when receiving a MUC delivery report we end up with a message having no sender and so no contact to prepare. Comment on attachment 52474 [details] [review] _tp_channel_contacts_queue_prepare_finish: don't assume item->contacts is not NULL Review of attachment 52474 [details] [review]: ----------------------------------------------------------------- Looks good, with one trivial change: ::: tests/dbus/text-channel.c @@ +923,4 @@ > g_ptr_array_unref (parts); > } > > +/* regression test for fdo #41929 */ g_test_bug ("41929") please? Comment on attachment 52474 [details] [review] _tp_channel_contacts_queue_prepare_finish: don't assume item->contacts is not NULL Review of attachment 52474 [details] [review]: ----------------------------------------------------------------- Looks good, please commit to the stable branch and to master. Merged to 0.16; will be in 0.16.1 (In reply to comment #2) > Comment on attachment 52474 [details] [review] [review] > _tp_channel_contacts_queue_prepare_finish: don't assume item->contacts is not > NULL > > Review of attachment 52474 [details] [review] [review]: > ----------------------------------------------------------------- > > Looks good, with one trivial change: > > ::: tests/dbus/text-channel.c > @@ +923,4 @@ > > g_ptr_array_unref (parts); > > } > > > > +/* regression test for fdo #41929 */ > > g_test_bug ("41929") please? Oh I missed this comment; I just added this in an extra commit. |
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.