media: vp7045: do not read uninitialized values if usb transfer fails
authorSean Young <sean@mess.org>
Sun, 10 Nov 2019 10:25:13 +0000 (11:25 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 3 Jan 2020 15:18:10 +0000 (16:18 +0100)
commit26cff637121d8bb866ebd6515c430ac890e6ec80
tree5be42333e3277441ead55f4328279a5d21041425
parent51d0c99b391f0cac61ad7b827c26f549ee55672c
media: vp7045: do not read uninitialized values if usb transfer fails

It is not a fatal error if reading the mac address or the remote control
decoder state fails.

Reported-by: syzbot+ec869945d3dde5f33b43@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/vp7045.c