Re: [PATCH] media: usb: technisat-usb2: fix buffer overflow

2019-07-02 Thread Kees Cook
On Tue, Jul 02, 2019 at 09:02:11PM +0700, Phong Tran wrote: > The buffer will be overflow in case of the while loop can not break. > Add the checking buffer condition in while loop for avoiding > overlooping index. > > This issue was reported by syzbot > > Reported-by: syzbot+eaaaf38a95427be88...

Re: [PATCH] media: usb: technisat-usb2: fix buffer overflow

2019-07-02 Thread Alexander Potapenko
On Tue, Jul 2, 2019 at 4:02 PM Phong Tran wrote: > > The buffer will be overflow in case of the while loop can not break. > Add the checking buffer condition in while loop for avoiding > overlooping index. > > This issue was reported by syzbot > > Reported-by: syzbot+eaaaf38a95427be88...@syzkaller

[PATCH] media: usb: technisat-usb2: fix buffer overflow

2019-07-02 Thread Phong Tran
The buffer will be overflow in case of the while loop can not break. Add the checking buffer condition in while loop for avoiding overlooping index. This issue was reported by syzbot Reported-by: syzbot+eaaaf38a95427be88...@syzkaller.appspotmail.com Tested by: https://groups.google.com/d/msg/syz