Parent: 024d077664c3ea27c52ab052364d7dd949526fb0
Author: Pali Rohár <pali@kernel.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-05-05 01:01:18
Tree: f60bbc487e47313bf4dbf76d5f682120bc6c4e4c
a2dp: Check for valid SEP in a2dp_reconfigure a2dp_reconfigure() is called as callback when local and remote SEP does not have to be valid anymore, sep->lsep can be NULL. This change fixes bluetoothd daemon crash (dereferencing NULL sep->lsep) when audio agent disconnect in the middle of the reconfigure call.
Diffstat
| M | profiles/audio/a2dp.c | | | 12 | ++++++++++++ |
1 files changed, 12 insertions(+), 0 deletions(-)