Thread (5 messages) 5 messages, 3 authors, 2012-05-24

Re: [PATCH] Bluetooth: Fix null pointer dereference in l2cap_chan_send

flat view

From: Gustavo Padovan <hidden>
Date: 2012-05-21 16:17:16
Also in: linux-bluetooth, lkml

Hi Minho,

* Minho Ban [off-list ref] [2012-05-21 09:58:19 +0900]:
If l2cap_chan_send is called will null conn it will cause kernel Oops.
This patch checks if conn is valid before entering l2cap_chan_send.
chan->conn should be always valid, and if not we have a bug somewhere else in
the code and not in l2cap_chan_send(). It could be a locking problem maybe.
Also check if you can reproduce this with latest bluetooth-next.

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