linux-kernel-test/drivers/media/common
Mauro Carvalho Chehab 53faa685fa [media] siano: Fix array boundary at smscore_translate_msg()
As reported by Dan Carpenter:
	FYI, there are new smatch warnings show up in

	tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next master
	head:   da17d7bda957ae4697b6abc0793f74fb9b50b58f
	commit: 4c3bdb5e2f [media] siano: better debug send/receive messages

	drivers/media/common/siano/smscoreapi.c:396 smscore_translate_msg() error: buffer overflow 'siano_msgs' 401 <= 401

While it is almost impossible for this error to happen in
practice, as it would require the siano's firmware to return
an special invalid answer to a message request, fixing it
is trivial. So, let's do it.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-04-04 14:35:40 -03:00
..
b2c2 [media] common/*/Kconfig: Remove unused helps 2012-10-17 16:59:13 -03:00
saa7146 [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
siano [media] siano: Fix array boundary at smscore_translate_msg() 2013-04-04 14:35:40 -03:00
btcx-risc.c [media] btcx-risc: move from media/i2c to media/common 2013-02-08 16:11:25 -02:00
btcx-risc.h [media] btcx-risc: move from media/i2c to media/common 2013-02-08 16:11:25 -02:00
cx2341x.c [media] cx2341x: move from media/i2c to media/common 2013-02-08 16:09:55 -02:00
cypress_firmware.c [media] media: move dvb-usb-v2/cypress_firmware.c to media/common 2013-03-29 11:35:06 -03:00
cypress_firmware.h [media] media: move dvb-usb-v2/cypress_firmware.c to media/common 2013-03-29 11:35:06 -03:00
Kconfig [media] media: move dvb-usb-v2/cypress_firmware.c to media/common 2013-03-29 11:35:06 -03:00
Makefile [media] media: move dvb-usb-v2/cypress_firmware.c to media/common 2013-03-29 11:35:06 -03:00
tveeprom.c [media] tveeprom: Fix lots of bad whitespace 2013-02-08 16:19:22 -02:00