[Bug 45554] various modules' GAsyncResults cannot safely be reffed and kept around
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Feb 2 18:29:48 CET 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45554
--- Comment #5 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-02-02 09:29:48 PST ---
Created attachment 56545
--> https://bugs.freedesktop.org/attachment.cgi?id=56545
[5/7] tp_account_update_parameters_async: fix lifetime of result, and test it
Without this change to TpAccount, the test would fail with a
use-after-free while inspecting reconnect_required. The TpAccount code
assumed that _finish would always be called directly from the callback,
but it is perfectly valid not to do so.
In the test, also test Reconnect (which is currently unimplemented),
since UpdateParameters and Reconnect are so closely related.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the telepathy-bugs
mailing list