From: Greg Kroah-Hartman Date: Fri, 6 Jan 2017 14:33:36 +0000 (+0100) Subject: HID: hid-cypress: validate length of report X-Git-Tag: v3.2.87~114 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4faec4a2ef5dd481682cc155cb9ea14ba2534b76;p=pandora-kernel.git HID: hid-cypress: validate length of report commit 1ebb71143758f45dc0fa76e2f48429e13b16d110 upstream. Make sure we have enough of a report structure to validate before looking at it. Reported-by: Benoit Camredon Tested-by: Benoit Camredon Signed-off-by: Greg Kroah-Hartman Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed