diff options
author | Soenke Huster <soenke.huster@eknoes.de> | 2022-01-14 17:44:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-13 19:27:07 +0200 |
commit | f61c23e73dc653b957781066abfa8105c3fa3f5b (patch) | |
tree | a498159d202327c0196b4b8c1fab91a2e91ed3c3 /net/dcb | |
parent | cbd96d6cad6625feba9c8d101ed4977d53e82f8e (diff) |
Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt
[ Upstream commit 3afee2118132e93e5f6fa636dfde86201a860ab3 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions