pulseaudio/src
Frédéric Danis f89d64b98e bluetooth: Fix crash when disabling Bluetooth adapter
This crash occurs when PA is connected to a phone through the oFono
backend.
When disabling the Bluetooth adapter, pa_bluetooth_device is removed before
hf_audio_card. Both keep refs on pa_bluetooth_transport. Those removal will
call pa_bluetooth_transport_free() from device_free() (bluez5-util.c) and
hf_audio_card_free() (backend-ofono.c).
In the end, the call to pa_bluetooth_transport_free() calls
pa_hasmap_remove() through pa_bluetooth_transport_unlink(), but since
memory has already been freed, the second try results in a segfault.

Triggering hf_audio_card removal during pa_bluetooth_device removal allows
hf_audio_card to be freed at the right time.
2019-07-02 06:06:07 +00:00
..
daemon main: Log more information when executing default.pa fails 2019-06-22 10:13:58 +00:00
modules bluetooth: Fix crash when disabling Bluetooth adapter 2019-07-02 06:06:07 +00:00
pulse mainloop: fix timeout assignment in pa_mainloop_prepare 2019-06-09 13:40:14 +00:00
pulsecore core-util: Use /proc/fd on Solaris as well in pa_close_all 2019-07-01 01:37:04 +00:00
tests atomic: fix load and store for armv7 and higher 2019-06-11 19:04:46 +03:00
utils meson: Install utils symlinks, install qpaeq 2019-06-08 11:57:00 +02:00
.gitignore .gitignore: add atomic-test 2019-06-15 11:14:33 +03:00
depmod.py update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
Makefile.am atomic: fix load and store for armv7 and higher 2019-06-11 19:04:46 +03:00
map-file thread-mainloop: Add API for running a callback unlocked 2019-03-31 09:18:37 +00:00
meson.build meson: Add systemduserunitdir option 2019-06-08 11:57:00 +02:00