]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitebe29d48e564be647faf6bdb36c9d19ff9b3c394
treedfd43f08b52fd6b129c617d3094bdb8126f11e65
parent085edb244eefb36eebed90b3e9c6bed7ff122b4a
[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