[pulseaudio-discuss] [PATCH 0/2] bluetooth: shutdown segmentation fault fixes
georg at chini.tk
Sun Apr 16 11:34:25 UTC 2017
On 13.04.2017 07:22, Andrew Hlynskyi wrote:
> 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 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(-)
regarding the first patch, could you please resend the patch with a
commit message? As already said, the patch looks OK but it does not prevent
any segfaults in backend-native. The pa_bluetooth_transport_unlink() call is
just not necessary.
For the issue with the ofono backend I sent a different patch to the
you please verify that it solves your problem?
More information about the pulseaudio-discuss