android_kernel_xiaomi_sdm845/drivers/media/common/tuners
Jan Nikitenko 458f9aa391 V4L/DVB (12341): zl10353 and qt1010: fix stack corruption bug
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>
2009-08-13 20:39:02 -03:00
..
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-04-03 15:24:35 -07:00
Makefile V4L/DVB (10452): Add Freescale MC44S803 tuner driver 2009-03-30 12:42:39 -03:00
mc44s803_priv.h V4L/DVB (10452): Add Freescale MC44S803 tuner driver 2009-03-30 12:42:39 -03:00
mc44s803.c V4L/DVB (10452): Add Freescale MC44S803 tuner driver 2009-03-30 12:42:39 -03:00
mc44s803.h V4L/DVB (10452): Add Freescale MC44S803 tuner driver 2009-03-30 12:42:39 -03:00
mt20xx.c V4L/DVB (10730): v4l-dvb: cleanup obsolete references to v4l1 headers. 2009-03-30 12:42:59 -03:00
mt20xx.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
mt2060_priv.h
mt2060.c V4L/DVB: calibration still successful at 10 2009-03-30 12:42:49 -03:00
mt2060.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
mt2131_priv.h V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
mt2131.c V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
mt2131.h V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
mt2266.c
mt2266.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
mxl5005s.c V4L/DVB (11233): mxl5005s: Switch in mxl5005s_set_params should operate on correct values 2009-03-30 12:43:42 -03:00
mxl5005s.h V4L/DVB (8805): Steven Toth email address change 2008-09-03 18:37:21 -03:00
mxl5007t.c V4L/DVB (10784): mxl5007t: update driver for MxL 5007T V4 2009-03-30 12:43:03 -03:00
mxl5007t.h V4L/DVB (8549): mxl5007: Fix an error at include file 2008-07-27 19:36:08 -03:00
qt1010_priv.h
qt1010.c V4L/DVB (12341): zl10353 and qt1010: fix stack corruption bug 2009-08-13 20:39:02 -03:00
qt1010.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tda827x.c V4L/DVB (11236): tda827x: fix locking issues with DVB-C 2009-03-30 12:43:42 -03:00
tda827x.h V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
tda8290.c V4L/DVB (10876): tda18271: add support for AGC configuration via tuner callback 2009-03-30 12:43:11 -03:00
tda8290.h V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback 2008-10-12 09:37:09 -02:00
tda9887.c V4L/DVB (9497): tda9887/cx88: Adds SECAM/BGH standards 2008-12-29 17:53:25 -02:00
tda9887.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tda18271-common.c V4L/DVB (10657): [PATCH] V4L: missing parentheses? 2009-03-30 12:42:51 -03:00
tda18271-fe.c V4L/DVB (10876): tda18271: add support for AGC configuration via tuner callback 2009-03-30 12:43:11 -03:00
tda18271-maps.c V4L/DVB (7984): tda18271: update filename in comments 2008-07-20 07:08:05 -03:00
tda18271-priv.h V4L/DVB (10876): tda18271: add support for AGC configuration via tuner callback 2009-03-30 12:43:11 -03:00
tda18271.h V4L/DVB (10876): tda18271: add support for AGC configuration via tuner callback 2009-03-30 12:43:11 -03:00
tea5761.c V4L/DVB (10730): v4l-dvb: cleanup obsolete references to v4l1 headers. 2009-03-30 12:42:59 -03:00
tea5761.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tea5767.c V4L/DVB (10730): v4l-dvb: cleanup obsolete references to v4l1 headers. 2009-03-30 12:42:59 -03:00
tea5767.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tuner-i2c.h V4L/DVB (7943): tuner: add macro, hybrid_tuner_report_instance_count 2008-06-05 06:35:46 -03:00
tuner-simple.c V4L/DVB (11934): Change order for FM tune 2009-06-16 19:07:25 -03:00
tuner-simple.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tuner-types.c V4L/DVB (11933): tuner-simple, tveeprom: Add Philips FQ1216LME MK3 analog tuner 2009-06-16 19:07:25 -03:00
tuner-xc2028-types.h
tuner-xc2028.c V4L/DVB (12167): tuner-xc2028: Fix 7 MHz DVB-T 2009-07-05 14:29:57 -03:00
tuner-xc2028.h V4L/DVB (9055): tuner-xc2028: Do a better job selecting firmware type 2008-10-12 09:37:09 -02:00
xc5000.c V4L/DVB (11806): xc5000: add copyright line 2009-06-16 18:21:08 -03:00
xc5000.h V4L/DVB (9261): xc5000: Checkpatch compliance 2008-10-17 17:27:59 -03:00