Bug 19688 - Assertion failure in tp_connection_get_contacts_by_id with no good IDs
Summary: Assertion failure in tp_connection_get_contacts_by_id with no good IDs
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Simon McVittie
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-22 07:22 UTC by Simon McVittie
Modified: 2009-01-29 07:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Simon McVittie 2009-01-22 07:22:09 UTC
As reported on IRC:

smcv: if tp_connection_get_contacts_by_id is used with invalid 
ids only, than tp_connection_get_contact_attributes fails on 
n_handles>=1 check. probably, contacts_get_attributes should 
check handles->len before calling 
tp_connection_get_contact_attributes?

I'll fix this tomorrow.
Comment 1 Simon McVittie 2009-01-29 07:35:09 UTC
Fixed in a branch.
Comment 2 Simon McVittie 2009-01-29 07:58:31 UTC
Fixed in git, will be in 0.7.25.


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.