linux/drivers/media
Mauro Carvalho Chehab 5ef76cb7c1 media: siano: be sure to not override devpath size
Right now, at siano driver, all places where devpath is
defined has sizeof(devpath) == 32. So, there's no practical
risc of going past devpath array anywhere.

Still, code changes might cause troubles. It also confuses
Coverity:
	CID 139059 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW)
	9. fixed_size_dest: You might overrun the 32-character
	   fixed-size string entry->devpath by copying devpath
	   without checking the length.
	10. parameter_as_source: Note: This defect has an
	    elevated risk because the source argument
	    is a parameter of the current function.

So, explicitly limit strcmp() and strcpy() to ensure that the
devpath size (32) will be respected.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-05-04 08:55:36 -04:00
..
cec media: rc: per-protocol repeat period and minimum keyup timer 2018-04-20 09:16:55 -04:00
common media: siano: be sure to not override devpath size 2018-05-04 08:55:36 -04:00
dvb-core media: dvb_frontend: fix locking issues at dvb_frontend_get_event() 2018-04-17 05:49:58 -04:00
dvb-frontends media: sp887x: fix a warning 2018-03-23 06:54:32 -04:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: rc: probe zilog transmitter when zilog receiver is found 2018-05-04 08:22:36 -04:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: cx88: enable IR transmitter on HVR-1300 2018-04-20 09:22:39 -04:00
platform media: v4l: vsp1: Rename BRU to BRx 2018-05-04 08:06:29 -04:00
radio media: sound, media: allow building ISA drivers it with COMPILE_TEST 2018-04-20 10:53:21 -04:00
rc media: rc: imon decoder: support the stick 2018-05-04 08:22:09 -04:00
spi media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver 2018-03-07 05:02:57 -05:00
tuners media: r820t: don't crash if attach fails 2018-04-04 05:36:20 -04:00
usb media: usbtv: Use the constant for supported standards 2018-05-04 06:53:11 -04:00
v4l2-core media: v4l2-compat-ioctl32: better document the code 2018-04-20 08:24:13 -04:00
Kconfig media updates for v4.17-rc1 2018-04-03 17:16:59 -07:00
Makefile
media-device.c media: zero reservedX fields in media_v2_topology 2018-02-26 09:47:53 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00