]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 4 Nov 2015 06:21:02 +0000 (07:21 +0100)
commitb69123be769e27e815eefe6443fd98191fe3d2ba
tree2d9a45c213efe5ce5fbb612ec48f2a9dd2982212
parent0076e53f7f55a8f5c39db88250628bfc24375c77
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