linux/drivers/media/platform/sti/c8sectpfe
Mauro Carvalho Chehab 7612cf97ec [media] c8sectpfe: don't go past channel_data array
As reported by smatch:
	drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c:365 find_channel() error: buffer overflow 'fei->channel_data' 8 <= 63

It seems that a cut-and-paste type of error occurred here:
the channel_data array size is C8SECTPFE_MAX_TSIN_CHAN, and not
C8SECTPFE_MAXCHANNEL.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-08-11 16:16:55 -03:00
..
c8sectpfe-common.c
c8sectpfe-common.h
c8sectpfe-core.c [media] c8sectpfe: don't go past channel_data array 2015-08-11 16:16:55 -03:00
c8sectpfe-core.h
c8sectpfe-debugfs.c [media] c8sectpfe: Add c8sectpfe debugfs support 2015-08-11 16:07:22 -03:00
c8sectpfe-debugfs.h [media] c8sectpfe: Add c8sectpfe debugfs support 2015-08-11 16:07:22 -03:00
c8sectpfe-dvb.c [media] c8sectpfe: Add support for various ST NIM cards 2015-08-11 16:06:49 -03:00
c8sectpfe-dvb.h [media] c8sectpfe: Add support for various ST NIM cards 2015-08-11 16:06:49 -03:00
Kconfig [media] c8sectpfe: Allow compiling it with COMPILE_TEST 2015-08-11 16:16:50 -03:00
Makefile [media] c8sectpfe: Add Kconfig and Makefile for the driver 2015-08-11 16:08:29 -03:00