Commit: 36f057d7f66c62fd01e0cf27cfe816bfd5be5d21
Parent: 60d60166e4bfae8555fb671e5a99952586cc6b56
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-01-04 17:45:28
Tree: ae32a2889053c21f113db72097bc438ba2c1fc15

audio: transport: Fix crash on A2DP suspend Commit 052534ae07b8 ("transport: Update transport release flow for bcast src") introduced a crash where it assumes transport->data always refers to struct bap_transport which causes a crash when the transport is in fact A2DP. Fixes: https://github.com/bluez/bluez/issues/701

Diffstat

M profiles/audio/transport.c | 16 +++++++++- - - - - - -

1 files changed, 9 insertions(+), 7 deletions(-)

View Full Diff | Patch