Skip to content
Commit 1ebb49ee authored by Szymon Janc's avatar Szymon Janc Committed by Carles Cufí
Browse files

bluetooth: ascs: Fix NULL pointer dereference in ascs_ase_read



"The (ATT attribute read) callback can also be used locally to
read the contents of the attribute in which case no connection
will be set."

This means that callback may be called with NULL conn. Since
for ascs_ase_read NULL conn object have no meaning just return
error.

Signed-off-by: default avatarSzymon Janc <szymon.janc@codecoup.pl>
parent 0f2a352c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment