[media] DVB: dvb_frontend: off by one in dtv_property_dump()
authorDan Carpenter <error27@gmail.com>
Thu, 26 May 2011 08:44:52 +0000 (05:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:55:55 +0000 (17:55 -0300)
commitbca3ba7904426bb94ee1a91e6e88831483fb5d53
treedfd43f08b52fd6b129c617d3094bdb8126f11e65
parent0cf8af57f1865148efcb40a43ddd04d5a709820e
[media] DVB: dvb_frontend: off by one in dtv_property_dump()

If the tvp->cmd == DTV_MAX_COMMAND then we read past the end of the
array.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_frontend.c