Parent: 0a1d0e8968d4c41aecf8f50956fb19dd725c3c78
Author: Sagar Nageshmurthy <s.nageshmurt@samsung.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-11-26 15:43:58
Tree: 240708efb97d7566870c2cd8048076bb5762f51f
audio/a2dp: Fix Access session device only when its valid session will be NULL if A2DP connection fails because of NO REPLY from endpoint or if the configuration is aborted. Accessing session device in such a scenario leads to bluetoothd crash. (gdb) bt full 0 avdtp_get_device (session=0x0) at profiles/audio/avdtp.c:3987 No locals. 1 0xb6f0e352 in auto_config (data=<value optimized out>) at profiles/audio/a2dp.c:382 setup = 0xb7a4f230 dev = <value optimized out> 2 0xb6f132f6 in config_cb (endpoint=<value optimized out>, ret=<value optimized out>, size=<value optimized out>, user_data=<value optimized out>) at profiles/audio/media.c:534 data = <value optimized out> 3 0xb6f1398a in media_endpoint_cancel (endpoint=0xb7a43e78) at profiles/audio/media.c:136 endpoint = 0xb7a43e78 4 media_endpoint_cancel_all (endpoint=0xb7a43e78) at profiles/audio/media.c:144 No locals. 5 0xb6f13e04 in clear_endpoint (endpoint=0xb7a43e78) at profiles/audio/media.c:245 No locals. 6 0xb6f13f68 in endpoint_reply (call=<value optimized out>, user_data=0xb7a4e538) at profiles/audio/media.c:275 request = 0xb7a4e538 endpoint = 0xb7a43e78 reply = 0xb7a3f560 err = {name = 0xb7a5de70 "org.freedesktop.DBus.Error.NoReply"
Diffstat
| M | profiles/audio/a2dp.c | | | 4 | +++- |
1 files changed, 3 insertions(+), 1 deletions(-)