summaryrefslogtreecommitdiffstats
path: root/osi/test/atomic_test.cpp
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:36:15 -0700
commit0e94bd5ac42a4621c873c8c2af4aa2aced3c6442 (patch)
tree6f5a4fe34d2e676251a7d52bfa9a731edd46615b /osi/test/atomic_test.cpp
parent8ad0cbc1b683c01a5dae9f68875f0aacb34137c8 (diff)
downloadandroid_system_bt-0e94bd5ac42a4621c873c8c2af4aa2aced3c6442.tar.gz
android_system_bt-0e94bd5ac42a4621c873c8c2af4aa2aced3c6442.tar.bz2
android_system_bt-0e94bd5ac42a4621c873c8c2af4aa2aced3c6442.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 (cherry picked from commit ab5b13b4251c04832c8f6c4ef38ad722866aaaf4)
Diffstat (limited to 'osi/test/atomic_test.cpp')
0 files changed, 0 insertions, 0 deletions