Commit: 698ef6bbd9324dbd044903ed0f79020e31d70527
Parent: d565cc8dda58f86cbe266f6d1fb5803b8fac46db
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-06-02 19:59:25
Tree: 39a4a7dab5b155eedac7dd3059f604e76dc1cdae

a2dp: Fix crash on transport_cb There have been reports of crashes on transport_cb where the setup would most likely already have been freed but transport_cb would still be called, so instead of assuming the setup pointer would be valid try to lookup the list of active setups and log a warning when it happens.

Diffstat

M profiles/audio/a2dp.c | 8 +++++++-

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

View Full Diff | Patch