Parent: 3954d81ae779d2ced33f681a3f520c2fb0ac4108
Author: Dmitriy Paliy <dmitriy.paliy@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:36
Tree: 91bf28b9f79e7056eaabcc8db8f446d063e9952d
obexd: Fix contacts data cleanup for new missed calls It is possible that phonebook_pull_read is invoked several times submitting multiple pull requests without closing PBAP object. E.g., when history is large enough and maxlistcount>VCARDS_PART_COUNT. The result is possibility of different data structures (GString and contact_data) to be mixed in a single GSlist that may lead to undefined behaviour.
Diffstat
| M | obexd/plugins/phonebook-tracker.c | | | 57 | ++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 32 insertions(+), 25 deletions(-)