Re: [PATCH] media: technisat-usb2: break out of loop at end of buffer

2019-07-03 Thread Kees Cook
On Wed, Jul 03, 2019 at 03:52:39PM +0100, Sean Young wrote: > Ensure we do not access the buffer beyond the end if no 0xff byte > is encountered. > > Reported-by: syzbot+eaaaf38a95427be88...@syzkaller.appspotmail.com > Signed-off-by: Sean Young Both you and Phong Tran appear to be working on fix

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

2019-07-03 Thread Sean Young
Ensure we do not access the buffer beyond the end if no 0xff byte is encountered. Reported-by: syzbot+eaaaf38a95427be88...@syzkaller.appspotmail.com Signed-off-by: Sean Young --- drivers/media/usb/dvb-usb/technisat-usb2.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletion