OSDN Git Service

media: af9005: uninitialized variable printked
authorSean Young <sean@mess.org>
Sun, 10 Nov 2019 10:15:37 +0000 (11:15 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 3 Jan 2020 15:13:30 +0000 (16:13 +0100)
commit51d0c99b391f0cac61ad7b827c26f549ee55672c
tree10d9f548b5827574e3a229e1d433b04396ed58ac
parenteecc70d22ae51225de1ef629c1159f7116476b2e
media: af9005: uninitialized variable printked

If usb_bulk_msg() fails, actual_length can be uninitialized.

Reported-by: syzbot+9d42b7773d2fecd983ab@syzkaller.appspotmail.com
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/dvb-usb/af9005.c