linux/net/bluetooth
Szymon Janc bdce7bafb7 Bluetooth: Validate data size before accessing mgmt commands
Crafted (too small) data buffer could result in reading data outside of buffer.
Validate buffer size and return EINVAL if size is wrong.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Acked-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2011-02-27 16:57:07 -03:00
..
bnep Bluetooth: remove l2cap_load() hack 2011-02-15 09:45:52 -03:00
cmtp Bluetooth: remove l2cap_load() hack 2011-02-15 09:45:52 -03:00
hidp Bluetooth: remove l2cap_load() hack 2011-02-15 09:45:52 -03:00
rfcomm Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-02-18 17:03:41 -05:00
af_bluetooth.c Bluetooth: remove unnecessary call to hci_sock_cleanup 2011-02-25 22:36:58 -03:00
hci_conn.c Bluetooth: Fix LE conn creation 2011-02-21 17:57:41 -03:00
hci_core.c Bluetooth: Fix some code style issues in hci_core.c 2011-02-17 13:31:32 -03:00
hci_event.c Bluetooth: Add mgmt_auth_failed event 2011-02-21 17:22:44 -03:00
hci_sock.c Bluetooth: fix build break on hci_sock.c 2011-02-22 08:43:52 -03:00
hci_sysfs.c Bluetooth: Fix errors reported by checkpatch.pl 2011-02-17 19:22:19 -03:00
Kconfig Bluetooth: Merge L2CAP and SCO modules into bluetooth.ko 2011-02-14 17:27:36 -03:00
l2cap_core.c Bluetooth: Remove duplicated BT_INFO() from L2CAP 2011-02-25 22:37:10 -03:00
l2cap_sock.c Bluetooth: fix errors reported by checkpatch.pl 2011-02-17 19:16:55 -03:00
lib.c Bluetooth: make batostr() print in the right order 2010-10-12 12:44:52 -03:00
Makefile Bluetooth: Merge L2CAP and SCO modules into bluetooth.ko 2011-02-14 17:27:36 -03:00
mgmt.c Bluetooth: Validate data size before accessing mgmt commands 2011-02-27 16:57:07 -03:00
sco.c Bluetooth: Merge L2CAP and SCO modules into bluetooth.ko 2011-02-14 17:27:36 -03:00