]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: dvb-usb/dvb-usb-urb.c: initialize actlen to 0
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 12 Nov 2019 09:22:28 +0000 (10:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Feb 2020 18:18:02 +0000 (18:18 +0000)
commita5491f38c7299b4b27d83d88f208ec05e73e0e3d
tree9f5f1855b280f39e2e5a9de5241836a0eeccd368
parentd7c47ec04e3171c13df53bc88cf0bc364820f48d
media: dvb-usb/dvb-usb-urb.c: initialize actlen to 0

commit 569bc8d6a6a50acb5fcf07fb10b8d2d461fdbf93 upstream.

This fixes a syzbot failure since actlen could be uninitialized,
but it was still used.

Syzbot link:

https://syzkaller.appspot.com/bug?extid=6bf9606ee955b646c0e1

Reported-and-tested-by: syzbot+6bf9606ee955b646c0e1@syzkaller.appspotmail.com
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/usb/dvb-usb/dvb-usb-urb.c