]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: L2CAP: Add missing checks for invalid LE DCID
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 2 Nov 2015 12:39:17 +0000 (14:39 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Nov 2015 03:04:15 +0000 (04:04 +0100)
commit4d0a042cea1b6aa411d1c95ecac84faf7604feae
tree251b553ddf069d4494ed3840c6f8306ad3143533
parent6dce139a31aa1b6877040fc5a72a13fdcac52275
Bluetooth: L2CAP: Add missing checks for invalid LE DCID

When receiving a connect response we should make sure that the DCID is
within the valid range and that we don't already have another channel
allocated for the same DCID.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c