[Telepathy] [PATCH] fix segfault in got_contact_list_attributes_cb

Maksim Melnikau maxposedon at gmail.com
Sun Jan 6 04:06:26 PST 2013


On Sun, Jan 6, 2013 at 12:44 PM, Xavier Claessens <xclaesse at gmail.com> wrote:
> Le dimanche 06 janvier 2013 à 02:01 +0300, Maksim Melnikau a écrit :
> telepathy-python is dead and all CM based on it as well. Lots of newer
> client-side API in telepathy-glib assume that the CM implements newer
> spec than what tp-python does. I don't think there is any point in
> trying to avoid that.

I think its a bug, which should be fixed, because:
1. Right now, specs says, that it should be avoidable:
http://telepathy.freedesktop.org/spec/Connection.html :
HasImmortalHandles — b : This SHOULD be the case in all connection
managers, but clients ***MUST*** interoperate with older connection
managers (which reference-count handles).
2. if program segfaults - it has a bug, always, there is now excuse
for it, programs shouldn't segfault on non-correct data
3. any user program, which uses telepathy-glib, will segfault here, if
user will have some(one) broken CM, among others non broken.


More information about the telepathy mailing list