summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/sco.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2011-02-25 19:05:49 +0100
committerGustavo F. Padovan <padovan@profusion.mobi>2011-02-27 16:57:07 -0300
commitbdce7bafb786701004b2055e15d6ff4b3be678f3 (patch)
tree8293fd5214b73b1398ce0cd7386645f736b9b01e /net/bluetooth/sco.c
parent4e51eae9cdda4bf096e73a4ebe23f8f96a17596a (diff)
downloadop-kernel-dev-bdce7bafb786701004b2055e15d6ff4b3be678f3.zip
op-kernel-dev-bdce7bafb786701004b2055e15d6ff4b3be678f3.tar.gz
Bluetooth: Validate data size before accessing mgmt commands
Crafted (too small) data buffer could result in reading data outside of buffer. Validate buffer size and return EINVAL if size is wrong. Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Acked-by: Johan Hedberg <johan.hedberg@nokia.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/sco.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud