commit | fd82d2b47cb0c268e97e8463744ac7ee2af9d41e | [log] [tgz] |
---|---|---|
author | Johann Fischer <j.fischer@phytec.de> | Sat Nov 09 11:42:09 2019 +0100 |
committer | Johan Hedberg <johan.hedberg@gmail.com> | Sun Nov 10 19:18:53 2019 +0200 |
tree | 5204411ff0c5fe67417d75a2a972ff1cc26deffc | |
parent | 53f30bc3ac244417384b62e23e577a04a9687926 [diff] |
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: Johann Fischer <j.fischer@phytec.de>