[media] tvp5150: don't go past decoder->input_ent array
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 19 Feb 2016 17:02:30 +0000 (15:02 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Feb 2016 10:15:29 +0000 (07:15 -0300)
commit60ad768933ec16e784087f6d07aeeb0e91149221
tree483445e71574eceada18c2fcb19cd9921d3f3705
parent8e9a8b1212da7a68eb57beec6e16f80ff4f27e6f
[media] tvp5150: don't go past decoder->input_ent array

drivers/media/i2c/tvp5150.c:1394 tvp5150_parse_dt() warn: buffer overflow 'decoder->input_ent' 3 <= 3

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/tvp5150.c