diff options
author | Jiri Kosina <jkosina@suse.cz> | 2013-01-31 19:51:47 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-01-31 19:51:47 +0400 |
commit | 7e41576247b782a21c05f7ea8a78a6db119ba789 (patch) | |
tree | ae913df79a900dc357f6ffe6855d62feabde8bdb /drivers/hid/hid-roccat-pyra.h | |
parent | 090800c2a3f746572ef142e2d5404922a599e841 (diff) | |
download | linux-7e41576247b782a21c05f7ea8a78a6db119ba789.tar.xz |
HID: steelseries: fix out of bound array access
The last field of the driver_data->leds[] array is used to store the
special toggle for setting all leds simultaneously, so we need to allocate
appropriate number of led_classdev pointers.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-roccat-pyra.h')
0 files changed, 0 insertions, 0 deletions