linux/drivers/media/common/siano
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
..
Kconfig [media] siano: split debugfs code into a separate file 2013-03-21 07:48:41 -03:00
Makefile [media] siano: split debugfs code into a separate file 2013-03-21 07:48:41 -03:00
sms-cards.c [media] siano: remove the remaining CamelCase compliants 2013-03-21 10:03:45 -03:00
sms-cards.h [media] siano: add new devices to the Siano Driver 2013-03-21 07:45:06 -03:00
smscoreapi.c [media] siano: Fix array boundary at smscore_translate_msg() 2013-04-04 14:35:40 -03:00
smscoreapi.h [media] siano: Fix the remaining checkpatch.pl compliants 2013-03-21 10:03:53 -03:00
smsdvb-debugfs.c [media] siano: make some functions static 2013-03-21 10:04:01 -03:00
smsdvb-main.c [media] siano: use do_div() for 64-bits division 2013-03-22 09:46:31 -03:00
smsdvb.h [media] siano: remove the remaining CamelCase compliants 2013-03-21 10:03:45 -03:00
smsendian.c [media] siano: remove the remaining CamelCase compliants 2013-03-21 10:03:45 -03:00
smsendian.h
smsir.c [media] rc-core: add separate defines for protocol bitmaps and numbers 2012-10-27 11:49:51 -02:00
smsir.h [media] siano: remove the ir protocol field 2013-03-22 09:46:46 -03:00