linux/net/bluetooth
Jaganath Kanakkassery ee79b622f4 Bluetooth: Fix potential NULL dereference in RFCOMM bind callback
[ Upstream commit 951b6a0717 ]

addr can be NULL and it should not be dereferenced before NULL checking.

Signed-off-by: Jaganath Kanakkassery <jaganath.k@samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
History 2016-12-23 10:39:29 -05:00
..
bnep net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
cmtp Bluetooth: cmtp: Remove unnecessary null test 2014-07-14 23:00:13 +02:00
hidp Bluetooth: Improve *_get() functions to return the object type 2014-09-08 19:07:52 +02:00
rfcomm Bluetooth: Fix potential NULL dereference in RFCOMM bind callback 2016-12-23 10:39:29 -05:00
6lowpan.c Bluetooth: 6lowpan: fix skb_unshare behaviour 2015-01-16 06:59:47 -08:00
a2mp.c Bluetooth: Provide L2CAP ops callback for memcpy_fromiovec 2014-07-03 17:42:43 +02:00
a2mp.h Bluetooth: Move a2mp.h header file into net/bluetooth/ 2013-10-11 00:10:05 +02:00
af_bluetooth.c Bluetooth: Add BUILD_BUG_ON check for SKB control buffer size 2014-09-15 07:15:41 +03:00
amp.c Bluetooth: LLVMLinux: Remove VLAIS from bluetooth/amp.c 2014-09-08 19:07:56 +02:00
amp.h Bluetooth: Move amp.h header file into net/bluetooth/ 2013-10-11 00:10:03 +02:00
hci_conn.c Bluetooth: Fix check for direct advertising 2015-01-16 06:59:47 -08:00
hci_core.c Bluetooth: Remove exported hci_recv_fragment function 2014-09-17 10:23:03 +03:00
hci_event.c Bluetooth: Fix accepting connections when not using mgmt 2015-01-16 06:59:47 -08:00
hci_sock.c Bluetooth: Move struct hci_pinfo into net/bluetooth/hci_sock.c 2014-07-11 13:55:14 +03:00
hci_sysfs.c Bluetooth: Convert to use ATTRIBUTE_GROUPS macro 2014-02-13 09:51:34 +02:00
Kconfig 6lowpan: introduce new net/6lowpan directory 2014-07-12 01:53:30 +02:00
l2cap_core.c Bluetooth: Fix lockdep warning with l2cap_chan_connect 2014-10-02 10:37:07 +02:00
l2cap_sock.c Bluetooth: Fix l2cap_sock_setsockopt() with optname BT_RCVMTU 2016-08-22 12:23:12 -04:00
lib.c Bluetooth: Convert bt_<level> logging functions to return void 2014-09-24 09:40:08 +02:00
Makefile Bluetooth: 6LoWPAN: Create a kernel module 2014-07-03 17:42:44 +02:00
mgmt.c Bluetooth: Fix mgmt pairing failure when authentication fails 2014-09-09 03:12:15 +02:00
sco.c bluetooth: Validate socket address length in sco_sock_bind(). 2016-01-15 18:41:51 -05:00
smp.c Bluetooth: Fix valid Identity Address check 2015-03-06 14:52:44 -08:00
smp.h Bluetooth: Add smp_ltk_sec_level() helper function 2014-09-11 02:45:24 +02:00