Parent: cb377fa61d52588a8b1514a265c4e64104da55c6
Author: Syam Sidhardhan <s.syam@samsung.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2013-01-22 13:30:30
Tree: cce048ea51968f4de3c93ec6460f1ce95b591d22
a2dp: Fix invalid memory access during abort_ind() There is an invalid memory access w.r.t to the callback during the Abort_Ind finalize_setup_errno(). We should terminate the variable arguments with NULL. Log: bluetoothd[3353]: audio/avdtp.c:avdtp_parse_cmd() Received ABORT_CMD bluetoothd[3353]: audio/a2dp.c:abort_ind() Source 0xb6f5ecc8: Abort_Ind bluetoothd[3353]: audio/a2dp.c:setup_ref() 0xb6f63200: ref=2 bluetoothd[3353]: audio/transport.c:media_transport_remove() Transport /org/bluez/3353/hci0/dev_BC_47_60_F5_88_89/fd1 Owner :1.0 bluetoothd[3353]: audio/transport.c:media_transport_release() Transport /org/bluez/3353/hci0/dev_BC_47_60_F5_88_89/fd1: read lock released bluetoothd[3353]: audio/transport.c:media_transport_release() Transport /org/bluez/3353/hci0/dev_BC_47_60_F5_88_89/fd1: write lock released bluetoothd[3353]: audio/transport.c:media_request_reply() Request Acquire Reply Input/output error bluetoothd[3353]: audio/transport.c:media_owner_free() Owner :1.0 bluetoothd[3353]: audio/transport.c:media_owner_remove() Owner :1.0 Request Acquire bluetoothd[3353]: audio/a2dp.c:a2dp_sep_unlock() SEP 0xb6f5ecc8 unlocked bluetoothd[3353]: audio/a2dp.c:setup_unref() 0xb6f63200: ref=1 [sys_assert]START of sighandler [sys-assert]exepath = bluetoothd [sys-assert]processname = bluetoothd [sys_assert]this thread is main thread. pid=3353 [sys-assert]cs timestr 1358524835 bluetoothd[3353]: crashed [1358524835] processname=bluetoothd, pid=3353, tid=3353, signal=11 [sys-assert]start print_node_to_file sighandler = 0xb6e8cfc9, g_sig_oldact[i] = (nil) [sys_assert]END of sighandler Segmentation fault (core dumped)
Diffstat
| M | profiles/audio/a2dp.c | | | 2 | +- |
1 files changed, 1 insertions(+), 1 deletions(-)