Skip to content
Commit e27f48b3 authored by Grant Ramsay's avatar Grant Ramsay Committed by Carles Cufí
Browse files

Bluetooth: Host: Fix crash if HCI send fails



bt_dev.sent_cmd is unreferenced and assigned NULL within hci_cmd_done().
Calling net_buf_unref() again causes a null pointer dereference

Signed-off-by: default avatarGrant Ramsay <grant.ramsay@hotmail.com>
parent 4c471914
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment