commit | 120d5674a14f5d641970bc4287a752e60415b17c | [log] [tgz] |
---|---|---|
author | Sean Young <sean@mess.org> | Wed Jul 03 10:52:39 2019 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Sep 21 07:15:48 2019 +0200 |
tree | 8def9c386cd0868e7f215cf8c5e421dd904aff94 | |
parent | ba2ddb43f270e6492ccce4fc42fc32c611de8f68 [diff] |
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>