[Bug 38060] message-mixin: check we have >= 2 parts before accessing the second one

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 8 18:10:24 CEST 2011


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

--- Comment #4 from Will Thompson <will.thompson at collabora.co.uk> 2011-06-08 09:10:23 PDT ---
Good catch.

I echo comment 2, and comment 3. It's an error to include an echo with no
parts. It's hard to do, since tp_cm_message_new() requires initial_parts to be
≥1. So a warning wouldn't hurt, but I don't think it's absolutely essential,
because the CM developer would have to go out of their way to get into this
situation.

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