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

2019-07-02 Thread Kees Cook
On Wed, Jul 03, 2019 at 09:14:44AM +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...

[PATCH V2] 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