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: v3.2.64~153 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=328538d74181a95fa26fa354314f6079945fd5ee;p=pandora-kernel.git HID: fix a couple of off-by-ones commit 4ab25786c87eb20857bbb715c3ae34ec8fd6a214 upstream. There are a few very theoretical off-by-one bugs in report descriptor size checking when performing a pre-parsing fixup. Fix those. Reported-by: Ben Hawkes Reviewed-by: Benjamin Tissoires Signed-off-by: Jiri Kosina [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed