linux/net/bluetooth
Szymon Janc 8020c16a6c Bluetooth: Fix possible NULL pointer dereference in cmd_complete
It is now possible to create command complete event without specific
reply data by passing NULL as reply with len 0. Check pointer before
calling memcpy to avoid undefined behaviour.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2011-03-01 22:18:17 -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: Use ERR_PTR as return error from hci_connect 2011-02-27 17:11:29 -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: Use ERR_PTR as return error from hci_connect 2011-02-27 17:11:29 -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: Fix possible NULL pointer dereference in cmd_complete 2011-03-01 22:18:17 -03:00
sco.c Bluetooth: Use ERR_PTR as return error from hci_connect 2011-02-27 17:11:29 -03:00