]> Git Repo - linux.git/commit
HID: fix overrun in quirks initialization
authorRoel Kluin <[email protected]>
Sat, 8 Aug 2009 00:17:32 +0000 (02:17 +0200)
committerJiri Kosina <[email protected]>
Sat, 8 Aug 2009 00:17:32 +0000 (02:17 +0200)
commit44cb2db10d05fc263c9fa44347d350d4f7f5890c
tree74fada50b6f2950279dbe8b771e3fc33d52f177c
parent3c3301083e3bea4d14c597106c7b20b4b85fc03d
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 <[email protected]>
Cc: Jiri Kosina <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
drivers/hid/usbhid/hid-quirks.c
This page took 0.070913 seconds and 4 git commands to generate.