Parent: 16102009366f25a7ba3531c235d65461b5012372
Author: Marek Kasik <mkasik@redhat.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2016-07-04 14:33:16
Tree: 80263f83437f49f33461d7dcee5ca2a38066b853
obexd: Return dummy_data instead of int in phonebook-dummy There are two functions in phonebook-dummy that were returning 'int's instead of 'struct dummy_data' phonebook_create_cache phonebook_get_entry As a result, when an obex-client sends the GetSize command, the obexd on the server segfaults. Fix this by storing the id and returning the dummy_data struct. The GetSize test now passes correctly.
Diffstat
| M | obexd/plugins/phonebook-dummy.c | | | 15 | ++++++++- - - - - - - |
1 files changed, 8 insertions(+), 7 deletions(-)