Skip to content
Commit 0c4df39e authored by Sean Young's avatar Sean Young Committed by Mauro Carvalho Chehab
Browse files

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



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>
parent 5dd4b89d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment