Thread (3 messages) 3 messages, 3 authors, 2021-06-14

Re: [PATCH v2] Bluetooth: SMP: Fix crash when receiving new connection when debug is enabled

flat view

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-06-14 20:22:46

Hi Luiz,
When receiving a new connection pchan->conn won't be initialized so the
code cannot use bt_dev_dbg as the pointer to hci_dev won't be
accessible.

Fixes: 2e1614f7d61e4 ("Bluetooth: SMP: Convert BT_ERR/BT_DBG to bt_dev_err/bt_dev_dbg")
Signed-off-by: Luiz Augusto von Dentz <redacted>
---
net/bluetooth/smp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
patch has been applied to bluetooth-stable tree.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help