commit | 0c9fdd4c5af24ea49424903296cb1f7420505e9e | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Thu Aug 21 09:57:48 2014 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Sep 05 16:28:34 2014 -0700 |
tree | ad56e7873051497fd871a0971de68138bfb45a59 | |
parent | 4292001d4de0681e2f1eb59d13511012369324e0 [diff] |
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 <hawkes@google.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>