Skip to content
Commit 7e415762 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

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: default avatarJiri Kosina <jkosina@suse.cz>
parent 090800c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment