media: digitv: don't continue if remote control state can't be read
authorSean Young <sean@mess.org>
Sun, 10 Nov 2019 10:04:40 +0000 (11:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2020 14:43:37 +0000 (14:43 +0000)
commit1246693820123c83eabc888b869bf15c1246bb65
treeff750e57768793f8f315f9dcff46617a6bec6038
parent1764dc15a6852b8e2b2d9ba412ef751f8a11c4b9
media: digitv: don't continue if remote control state can't be read

commit eecc70d22ae51225de1ef629c1159f7116476b2e upstream.

This results in an uninitialized variable read.

Reported-by: syzbot+6bf9606ee955b646c0e1@syzkaller.appspotmail.com
Signed-off-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/digitv.c