summaryrefslogtreecommitdiff
path: root/drivers/media/common/tuners/qt1010.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-14V4L/DVB (12341): zl10353 and qt1010: fix stack corruption bugJan Nikitenko1-7/+5
Fixes stack corruption bug present in dump_regs function of zl10353 and qt1010 drivers: the buffer buf was one byte smaller than required - there are 4 chars for address prefix, 16 * 3 chars for dump of 16 eeprom bytes per line and 1 byte for zero ending the string required, i.e. 53 bytes, but only 52 were provided. The one byte missing in stack based buffer buf can cause stack corruption possibly leading to kernel oops, as discovered originally with af9015 driver (af9015: fix stack corruption bug). Signed-off-by: Jan Nikitenko <jan.nikitenko@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-04-30V4L/DVB (7769): Move other terrestrial tuners to common/tunersMauro Carvalho Chehab1-0/+485
Those tuners are currently used only under media/dvb. However, they can support also analog TV. Better to move them to the same place as the other hybrid tuners. This would make easier to use those tuners also by analog drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>