Parent: 5d71be8de9eb2846e4a9d4b33d6d3fe62d1c128c
Author: ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-11-28 16:25:18
Tree: 1b12b920082975b7e85e8c180381858c1fe34686
obexd: Fix crash when canceling without agent When obexd is started with the option auto-accept or the agent is killed after starting to transfer a file, obexd crashes due to cancellation of the transfer from a client as below: Process terminating with default action of signal 11 (SIGSEGV) Access not within mapped region at address 0x0 at 0x158A40: transfer_cancel (manager.c:272) by 0x18A5D2: process_message.isra.4 (object.c:259) by 0x18AE44: generic_message (object.c:1079) by 0x5290FD2: ??? (in /lib/x86_64-linux-gnu/libdbus-1.so.3.14.13) by 0x5282623: dbus_connection_dispatch (in /lib/x86_64-linux-gnu/libdbus-1.so.3.14.13) by 0x184DBF: message_dispatch (mainloop.c:72) by 0x5505E24: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1) by 0x55061EF: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1) by 0x5506501: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.5400.1) by 0x137902: main (main.c:322)
Diffstat
| M | obexd/src/manager.c | | | 3 | +++ |
1 files changed, 3 insertions(+), 0 deletions(-)