aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv
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/batman-adv
parent4e51eae9cdda4bf096e73a4ebe23f8f96a17596a (diff)
downloadkernel_samsung_crespo-bdce7bafb786701004b2055e15d6ff4b3be678f3.zip
kernel_samsung_crespo-bdce7bafb786701004b2055e15d6ff4b3be678f3.tar.gz
kernel_samsung_crespo-bdce7bafb786701004b2055e15d6ff4b3be678f3.tar.bz2
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/batman-adv')
0 files changed, 0 insertions, 0 deletions