Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 788f0923 authored by Chan-yeol Park's avatar Chan-yeol Park Committed by Johan Hedberg
Browse files

Bluetooth: Fix possible NULL dereference in hci_uart_tty_receive



This patch adds a NULL check for the HCI UART ldisc driver because some
of HCI UART drivers allow hci_uart_tty_receive function to be called
even though the HCI device hasn't been registered yet.

Signed-off-by: default avatarChan-yeol Park <chanyeol.park@samsung.com>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent c2578202
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment