]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 13 Dec 2019 08:17:42 +0000 (09:17 +0100)
commit569bc8d6a6a50acb5fcf07fb10b8d2d461fdbf93
tree4bfbc869b3612d889776714dc8990adf12cb1085
parentde89d0864f66c2a1b75becfdd6bf3793c07ce870
media: dvb-usb/dvb-usb-urb.c: initialize actlen to 0

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>
drivers/media/usb/dvb-usb/dvb-usb-urb.c