summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/musb_gadget_ep0.c
diff options
context:
space:
mode:
authorAlyssa Milburn <amilburn@zall.org>2017-04-01 14:34:32 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-25 14:30:12 +0200
commit5cbfae4ad3604154efd9e14f3ceddf462b916d84 (patch)
tree65f59f116f7746d611164c45b48ea5cee9de9d4b /drivers/usb/musb/musb_gadget_ep0.c
parent9737909ff9d4ff421199e2c2238cadaacf2022cc (diff)
ttusb2: limit messages to buffer size
commit a12b8ab8c5ff7ccd7b107a564743507c850a441d upstream. Otherwise ttusb2_i2c_xfer can read or write beyond the end of static and heap buffers. Signed-off-by: Alyssa Milburn <amilburn@zall.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/musb_gadget_ep0.c')
0 files changed, 0 insertions, 0 deletions