mbox series

[BlueZ,0/3] BAP fixes

Message ID 20240202141036.9797-1-iulia.tanasescu@nxp.com (mailing list archive)
Headers show
Series BAP fixes | expand

Message

Iulia Tanasescu Feb. 2, 2024, 2:10 p.m. UTC
This patch fixes crashes at Broadcast Sink cleanup.

I reproduced the crashes with the following setup:

[bluetooth]# endpoint.register 00001851-0000-1000-8000-00805f9b34fb 0x06

[bluetooth]# scan on
[NEW] Endpoint /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/ pac_bcast0

[bluetooth]# endpoint.config
/org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/pac_bcast0 /local/endpoint/ep0
16_2_1
[NEW] Transport /org/bluez/hci12/dev_XX_XX_XX_XX_XX_XX/pac_bcast0/fd0
...
[CHG] Transport /org/bluez/hci12/dev_XX_XX_XX_XX_XX_XX/pac_bcast0/fd0
State: active

[bluetooth]# scan off

Iulia Tanasescu (3):
  shared/bap: Properly cleanup bap remote endpoints
  bap: Fix incorrect parsing of caps and meta in parse_base
  bap: Remove incorrect assignment of listen io

 profiles/audio/bap.c | 41 +++++++++++++++++++++++++----------------
 src/shared/bap.c     | 12 +++++++++++-
 2 files changed, 36 insertions(+), 17 deletions(-)


base-commit: a692cc44dc8735b9303f8893f784306b4d2654fe

Comments

patchwork-bot+bluetooth@kernel.org Feb. 2, 2024, 3:20 p.m. UTC | #1
Hello:

This series was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Fri,  2 Feb 2024 16:10:33 +0200 you wrote:
> This patch fixes crashes at Broadcast Sink cleanup.
> 
> I reproduced the crashes with the following setup:
> 
> [bluetooth]# endpoint.register 00001851-0000-1000-8000-00805f9b34fb 0x06
> 
> [bluetooth]# scan on
> [NEW] Endpoint /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/ pac_bcast0
> 
> [...]

Here is the summary with links:
  - [BlueZ,1/3] shared/bap: Properly cleanup bap remote endpoints
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=29dee7b54303
  - [BlueZ,2/3] bap: Fix incorrect parsing of caps and meta in parse_base
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=35032a6075c5
  - [BlueZ,3/3] bap: Remove incorrect assignment of listen io
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=05efcccdcc5e

You are awesome, thank you!