diff options
author | Dmitry Torokhov | 2017-10-24 01:46:00 +0200 |
---|---|---|
committer | Dmitry Torokhov | 2017-10-28 00:14:41 +0200 |
commit | a50829479f58416a013a4ccca791336af3c584c7 (patch) | |
tree | 74da0be0913dcd747df260a8432f2d8d8c708607 /arch/arm/include/asm/mach/pci.h | |
parent | Input: elan_i2c - add ELAN0611 to the ACPI table (diff) | |
download | kernel-qcow2-linux-a50829479f58416a013a4ccca791336af3c584c7.tar.gz kernel-qcow2-linux-a50829479f58416a013a4ccca791336af3c584c7.tar.xz kernel-qcow2-linux-a50829479f58416a013a4ccca791336af3c584c7.zip |
Input: gtco - fix potential out-of-bound access
parse_hid_report_descriptor() has a while (i < length) loop, which
only guarantees that there's at least 1 byte in the buffer, but the
loop body can read multiple bytes which causes out-of-bounds access.
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Andrey Konovalov <andreyknvl@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/mach/pci.h')
0 files changed, 0 insertions, 0 deletions