2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/media/pci
Mauro Carvalho Chehab 09290cc885 [media] ivtv: avoid going past input/audio array
As reported by smatch:
	drivers/media/pci/ivtv/ivtv-driver.c:832 ivtv_init_struct2() error: buffer overflow 'itv->card->video_inputs' 6 <= 6

That happens because nof_inputs and nof_audio_inputs can be initialized
as IVTV_CARD_MAX_VIDEO_INPUTS, instead of IVTV_CARD_MAX_VIDEO_INPUTS - 1.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-04-30 13:36:15 -03:00
..
b2c2 [media] pci: flexcop: Remove redundant pci_set_drvdata 2013-10-17 05:56:55 -03:00
bt8xx Merge branch 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux into v4l_for_linus 2015-04-21 09:44:55 -03:00
cx18 [media] cx18: avoid going past input/audio array 2015-04-30 13:15:31 -03:00
cx88 [media] cx88: embed video_device 2015-04-08 06:43:16 -03:00
cx23885 Merge branch 'patchwork' into v4l_for_linus 2015-04-21 06:12:35 -03:00
cx25821 [media] cx25821: remove video output support 2014-12-23 10:22:00 -02:00
ddbridge [media] ddbridge: remove unneeded check before dvb_unregister_device() 2014-12-04 15:28:52 -02:00
dm1105 [media] dm1105: fix sparse warning 2014-09-03 10:32:59 -03:00
ivtv [media] ivtv: avoid going past input/audio array 2015-04-30 13:36:15 -03:00
mantis [media] media: pci: mantis: mantis_core.c: Remove unused function 2015-01-27 10:10:06 -02:00
meye [media] meye: embed video_device 2015-04-02 23:35:01 -03:00
ngene [media] ngene: preventing dereferencing a NULL pointer 2015-04-30 13:33:06 -03:00
pluto2 [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
pt1 [media] media: earthsoft: logging neatening 2014-11-03 11:00:41 -02:00
pt3 [media] media: earthsoft: logging neatening 2014-11-03 11:00:41 -02:00
saa7134 [media] saa7134: fix indent issues 2015-04-30 13:16:29 -03:00
saa7146 [media] saa7146: embed video_device 2015-04-02 23:29:01 -03:00
saa7164 [media] saa7164: Check if dev is NULL before dereferencing it 2015-04-30 13:34:08 -03:00
smipcie [media] smipcie: switch ts2022 to ts2020 driver 2015-04-02 22:25:14 -03:00
solo6x10 [media] solo6x10: s/uint8_t/u8/ 2015-01-27 10:03:19 -02:00
sta2x11 [media] sta2x11: embed video_device 2015-04-02 23:56:44 -03:00
ttpci [media] saa7146: embed video_device 2015-04-02 23:29:01 -03:00
tw68 [media] tw68: remove unnecessary version.h inclusion 2015-01-27 10:08:49 -02:00
zoran media updates for v3.19-rc1 2014-12-11 11:49:23 -08:00
Kconfig [media] smipcie: SMI pcie bridge driver for DVBSky S950 V3 dvb-s/s2 cards 2014-11-03 18:06:45 -02:00
Makefile [media] smipcie: SMI pcie bridge driver for DVBSky S950 V3 dvb-s/s2 cards 2014-11-03 18:06:45 -02:00