Skip to content
Commit fd82d2b4 authored by Johann Fischer's avatar Johann Fischer Committed by Johan Hedberg
Browse files

Bluetooth: l2cap: fix null pointer dereference



bt_conn_create_pdu_timeout() may return NULL if no buffer
is available, l2cap_chan_create_seg() does not check the
subsequent return value.
Fix possible null pointer dereference in l2cap_chan_create_seg()
and l2cap_chan_le_send().

Signed-off-by: default avatarJohann Fischer <j.fischer@phytec.de>
parent 53f30bc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment