From: Jiri Kosina Date: Thu, 21 Aug 2014 14:57:48 +0000 (-0500) Subject: HID: fix a couple of off-by-ones X-Git-Tag: omap-for-v3.17/fixes-against-rc2~28^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ab25786c87eb20857bbb715c3ae34ec8fd6a214;p=pandora-kernel.git HID: fix a couple of off-by-ones There are a few very theoretical off-by-one bugs in report descriptor size checking when performing a pre-parsing fixup. Fix those. Cc: stable@vger.kernel.org Reported-by: Ben Hawkes Reviewed-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed