diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-09-23 15:57:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 07:21:03 -0700 |
commit | dc80df567dd04738ee8b3922feacf099ae81645e (patch) | |
tree | 709c209b063b72ed2c152ebfe3240210f1b2937e /drivers/hid | |
parent | dd5d81f326da8d151939b833993b799c0d0d1d6e (diff) |
mwave: fix read buffer overflow
Check whether index is within bounds before grabbing the element.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions