summaryrefslogtreecommitdiffstats
path: root/hci
diff options
context:
space:
mode:
authorScott Mertz <scott@cyngn.com>2016-07-18 15:04:28 -0700
committerScott Mertz <scott@cyngn.com>2016-07-18 15:07:35 -0700
commitab5b13b4251c04832c8f6c4ef38ad722866aaaf4 (patch)
tree1e5631b96ed17062632846678f83220063e6965a /hci
parentf1eada5b7e2bc10586381d5236e6abb814694d83 (diff)
downloadandroid_system_bt-ab5b13b4251c04832c8f6c4ef38ad722866aaaf4.tar.gz
android_system_bt-ab5b13b4251c04832c8f6c4ef38ad722866aaaf4.tar.bz2
android_system_bt-ab5b13b4251c04832c8f6c4ef38ad722866aaaf4.zip
bta: check if sdp db buffer exists before free
Fixes the following crash: Stack frame #00 pc 00030370 /system/lib/libc.so (dlfree+59) Stack frame #01 pc 0007ecd7 /system/lib/hw/bluetooth.default.so (bta_dm_sdp_result+942): Routine bta_dm_sdp_result at system/bt/bta/./dm/bta_dm_act.c:1859 Stack frame #02 pc 000816fd /system/lib/hw/bluetooth.default.so (bta_dm_search_sm_execute+92): Routine bta_dm_search_sm_execute at system/bt/bta/./dm/bta_dm_main.c:365 Stack frame #03 pc 000a7729 /system/lib/hw/bluetooth.default.so (bta_sys_event+56): Routine bta_sys_event at system/bt/bta/./sys/bta_sys_main.c:524 Stack frame #04 pc 0010f9ff /system/lib/hw/bluetooth.default.so: Routine run_reactor at system/bt/osi/./src/reactor.c:296 Stack frame #05 pc 0011095f /system/lib/hw/bluetooth.default.so: Routine run_thread at system/bt/osi/./src/thread.c:232 Stack frame #06 pc 000417fb /system/lib/libc.so (_ZL15__pthread_startPv+30) Stack frame #07 pc 00019325 /system/lib/libc.so (__start_thread+6) FEIJ-1578 Change-Id: I5706e4e5379168b24682347086c161e138c7f5cb
Diffstat (limited to 'hci')
0 files changed, 0 insertions, 0 deletions