Searched hist:ac3c9a94094b515ab135886eb4547bb889d5b31a (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hid/ |
H A D | hid-sony.c | diff ac3c9a94094b515ab135886eb4547bb889d5b31a Thu Feb 20 17:36:02 CET 2014 Frank Praznik <frank.praznik@oh.rr.com> HID: sony: Perform a boundry check on the sixaxis battery level index.
Make sure that an out-of-bounds read doesn't occur in the Sixaxis battery level lookup table in the event that the controller sends an invalid battery status value in the report.
Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|