]> git.karo-electronics.de Git - karo-tx-linux.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, 13 Jul 2011 21:28:58 +0000 (18:28 -0300)
commita3e4adf274f86b2363fedaa964297cb38526cef0
tree023071e274b9181d0bece1c3ea9b4b9d8a0b06a0
parentef34f94900908da51a3988be4f60905da466f75b
[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