commit | bdce7bafb786701004b2055e15d6ff4b3be678f3 | [log] [tgz] |
---|---|---|
author | Szymon Janc <szymon.janc@tieto.com> | Fri Feb 25 19:05:49 2011 +0100 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Sun Feb 27 16:57:07 2011 -0300 |
tree | 8293fd5214b73b1398ce0cd7386645f736b9b01e | |
parent | 4e51eae9cdda4bf096e73a4ebe23f8f96a17596a [diff] |
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>