diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-05-28 06:46:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-12 10:20:54 -0400 |
commit | cb3b3152b2f5939d67005cff841a1ca748b19888 (patch) | |
tree | ae3d09c16bea2dc26496a1155cc08104321d46ae /include/net/secure_seq.h | |
parent | 22f2efed35e02a7c0b1ec73cfe790b1e3d207f4b (diff) |
Bluetooth: Fix missing length checks for L2CAP signalling PDUs
There has been code in place to check that the L2CAP length header
matches the amount of data received, but many PDU handlers have not been
checking that the data received actually matches that expected by the
specific PDU. This patch adds passing the length header to the specific
handler functions and ensures that those functions fail cleanly in the
case of an incorrect amount of data.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/secure_seq.h')
0 files changed, 0 insertions, 0 deletions