linux/net/bluetooth
Johan Hedberg 88d9077c27 Bluetooth: Fix potential NULL dereference
The bnep_get_device function may be triggered by an ioctl just after a
connection has gone down. In such a case the respective L2CAP chan->conn
pointer will get set to NULL (by l2cap_chan_del). This patch adds a
missing NULL check for this case in the bnep_get_device() function.

Reported-by: Patrik Flykt <patrik.flykt@linux.intel.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-02-03 09:02:12 +01:00
..
2015-01-14 11:16:17 +02:00
2015-01-23 20:29:42 +02:00
2014-11-11 00:07:29 +01:00
2015-01-16 13:06:38 +02:00
2015-01-23 20:29:42 +02:00
2015-01-23 20:29:42 +02:00