diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-03 01:23:08 -0700 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-03 13:06:41 +0300 |
commit | 92381f5cd72b3fb415efe2406ad9fa462a223151 (patch) | |
tree | 9ff3ad9e3d7b2d746baab526e02385a031a7caf8 /net/bluetooth/l2cap_core.c | |
parent | b99707d7ee887f9df8b3f7cf75e1e9dbf3206df3 (diff) | |
download | lwn-92381f5cd72b3fb415efe2406ad9fa462a223151.tar.gz lwn-92381f5cd72b3fb415efe2406ad9fa462a223151.zip |
Bluetooth: Check minimum length of SMP packets
When SMP packets are received, make sure they contain at least 1 byte
header for the opcode. If not, drop the packet and disconnect the link.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
0 files changed, 0 insertions, 0 deletions