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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>
> 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(-)
>
Hi Andrew,

regarding the first patch, could you please resend the patch with a 
different
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 
list. Could
you please verify that it solves your problem?

Regards
              Georg



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux