diff options
author | 2009-08-08 02:17:32 +0200 | |
---|---|---|
committer | 2009-08-08 02:17:32 +0200 | |
commit | 44cb2db10d05fc263c9fa44347d350d4f7f5890c (patch) | |
tree | 74fada50b6f2950279dbe8b771e3fc33d52f177c /lib/debugobjects.c | |
parent | Merge branch 'perf-counters-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-perf (diff) | |
download | wireguard-linux-44cb2db10d05fc263c9fa44347d350d4f7f5890c.tar.xz wireguard-linux-44cb2db10d05fc263c9fa44347d350d4f7f5890c.zip |
HID: fix overrun in quirks initialization
Check whether index is within bounds before testing the element.
declared in drivers/hid/usbhid/hid-core.c:62:
static char *quirks_param[MAX_USBHID_BOOT_QUIRKS] = ...
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions