summaryrefslogtreecommitdiff
path: root/net/bluetooth/smp.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-02-18 10:19:29 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-02-18 00:47:01 -0800
commitc46b98bea5691c0ed99da85cf0cb87bc146468e9 (patch)
tree5f494bdab63e96708e19835353cae906d7e0d2c7 /net/bluetooth/smp.h
parentc6beca0e0dc70c439894337e82609ec3b79ed900 (diff)
Bluetooth: Fix missing PDU length checks for SMP
For each received SMP PDU we need to check that we have enough data to fit the specified size of the PDU. This patch adds the necessary checks for each SMP PDU handler and ensures that buffer overflows do not occur if to little data has been received. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/smp.h')
0 files changed, 0 insertions, 0 deletions