The key array was not initialized to 0, leading to a syzbot failure. Syzbot link: https://syzkaller.appspot.com/bug?extid=6bf9606ee955b646c0e1 Signed-off-by: Hans Verkuil <hverkuil-cisco@xxxxxxxxx> Reported-by: syzbot+6bf9606ee955b646c0e1@xxxxxxxxxxxxxxxxxxxxxxxxx CC: Sean Young <sean@xxxxxxxx> --- drivers/media/usb/dvb-usb/digitv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/digitv.c b/drivers/media/usb/dvb-usb/digitv.c index dd5bb230cec1..72b22409880a 100644 --- a/drivers/media/usb/dvb-usb/digitv.c +++ b/drivers/media/usb/dvb-usb/digitv.c @@ -231,7 +231,7 @@ static struct rc_map_table rc_map_digitv_table[] = { static int digitv_rc_query(struct dvb_usb_device *d, u32 *event, int *state) { int i; - u8 key[5]; + u8 key[5] = { 0 }; u8 b[4] = { 0 }; *event = 0; -- 2.24.0