[pulseaudio-discuss] [PATCH 0/2] bluetooth: shutdown segmentation fault fixes

Andrew Hlynskyi ahlincq at gmail.com
Thu Apr 13 05:22:38 UTC 2017


Dear all,

I've tried to use my phone and a laptop earphones as a headset for it,
but faced out with segmentation faults duiring my attempts to tune PA
configurations. And here I would like to suggest two patches
that fixes the issues.

For oFono backend the problem is with attempt to delete
already deleted resource.

And the native backend has unnecesary call for the pa_bluetooth_transport_unlink
function because the next called pa_bluetooth_transport_free function uses previous
exactly for the same thing.

Affected version: v10.0-122-gab7d01a9

Best regards,
Andrew

Andrew Hlynskyi (2):
  bluetooth: fix possible segfault in bluetooth backend-native.c module
  bluetooth: shutdown segfault fix: remove unnecessary transport
    deletion statement

 src/modules/bluetooth/backend-native.c | 1 -
 src/modules/bluetooth/backend-ofono.c  | 3 ---
 2 files changed, 4 deletions(-)

-- 
2.11.0



More information about the pulseaudio-discuss mailing list