diff options
author | Soenke Huster <soenke.huster@eknoes.de> | 2022-01-14 19:44:02 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-01-14 23:20:49 +0300 |
commit | 3afee2118132e93e5f6fa636dfde86201a860ab3 (patch) | |
tree | b3cd93800092b97a485f96f39576dbb2f13b913a /net/bluetooth/hci_core.c | |
parent | c07ba878ca199a6089cdb323bf526adbeeb4201f (diff) | |
download | linux-3afee2118132e93e5f6fa636dfde86201a860ab3.tar.xz |
Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt
This event is just specified for SCO and eSCO link types.
On the reception of a HCI_Synchronous_Connection_Complete for a BDADDR
of an existing LE connection, LE link type and a status that triggers the
second case of the packet processing a NULL pointer dereference happens,
as conn->link is NULL.
Signed-off-by: Soenke Huster <soenke.huster@eknoes.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/hci_core.c')
0 files changed, 0 insertions, 0 deletions