[Bug 42503] Race in tp_channel_dispatch_operation_claim_with_async() and context_accept()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 7 13:57:56 CET 2011


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

--- Comment #6 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2011-11-07 04:57:56 PST ---
What happen if user calls tp_channel_dispatch_operation_claim_with_async() on
an unprepared object?   _tp_base_client_now_handling_channels (client,
self->priv->channels); will fail and leave/destroy variant won't work?

We should change documentation and add a g_return_if_fail() test checking if
the CDO is actually prepared.

Any reason why a user would want to use tp_channel_dispatch_operation_new()?
Shouldn't we deprecate it?

Did you double check that tp-glib is always preparing it itself?

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