Commit b841a9f5 authored by Sean Young's avatar Sean Young Committed by Greg Kroah-Hartman
Browse files

media: technisat-usb2: break out of loop at end of buffer



commit 0c4df39e upstream.

Ensure we do not access the buffer beyond the end if no 0xff byte
is encountered.

Reported-by: default avatar <syzbot+eaaaf38a95427be88f4b@syzkaller.appspotmail.com>
Signed-off-by: default avatarSean Young <sean@mess.org>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f35f5a99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment