Summary: | _tp_account_check_features can use uninitialized variables | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Simon McVittie <smcv> |
Component: | tp-glib | Assignee: | David Laban <alsuren> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | blocker | ||
Priority: | high | CC: | guillaume.desmottes |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 24209 |
Description
Simon McVittie
2009-10-21 05:19:41 UTC
*** Bug 24869 has been marked as a duplicate of this bug. *** The duplicate bug might also be a good source of information. tp_account_prepare_async does not copy its @features argument. It should; this would probably fix this bug? It does indeed seem to fix the bug. Initial efforts are to be found in [1], but the fix should probably also be applied to TpAccountManager and rebased to master (where there is another place it might need to be freed). I really don't like copy-pasted code, but most of my code in AccountManager recently seems to be copy-pasted from Account. Should I be refactoring out the features code now, or waiting until someone has an implementation of the non-trivial case? [1] http://git.collabora.co.uk/?p=user/alsuren/telepathy-glib.git;a=shortlog;h=refs/heads/fix-24654 Fix merged to master. |
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.