From: Frank Praznik Date: Thu, 20 Feb 2014 16:36:02 +0000 (-0500) Subject: HID: sony: Perform a boundry check on the sixaxis battery level index. X-Git-Tag: v3.15-rc1~114^2~1^3~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac3c9a94094b515ab135886eb4547bb889d5b31a;p=pandora-kernel.git 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 Reviewed-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed