summaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-10-24 02:46:00 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-10-28 01:14:41 +0300
commita50829479f58416a013a4ccca791336af3c584c7 (patch)
tree74da0be0913dcd747df260a8432f2d8d8c708607 /include/linux/raid
parent57a95b41869b8f0d1949c24df2a9dac1ca7082ee (diff)
downloadlinux-a50829479f58416a013a4ccca791336af3c584c7.tar.xz
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 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions