diff options
author | Sean Young <sean@mess.org> | 2019-07-03 17:52:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-21 08:17:15 +0300 |
commit | b841a9f58d9c778d8c2c5f636dc06a53b9a47fa1 (patch) | |
tree | 00883de032c3b15d2eb61cb43cbebc24af526d8b /drivers/usb/chipidea/ci.h | |
parent | f35f5a990a07133b29a9d92ec06b7ccdf4fd5067 (diff) | |
download | linux-b841a9f58d9c778d8c2c5f636dc06a53b9a47fa1.tar.xz |
media: technisat-usb2: break out of loop at end of buffer
commit 0c4df39e504bf925ab666132ac3c98d6cbbe380b upstream.
Ensure we do not access the buffer beyond the end if no 0xff byte
is encountered.
Reported-by: syzbot+eaaaf38a95427be88f4b@syzkaller.appspotmail.com
Signed-off-by: Sean Young <sean@mess.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/ci.h')
0 files changed, 0 insertions, 0 deletions