OpenCloudOS-Kernel/drivers/media
Mauro Carvalho Chehab c0decac19d media: use strscpy() instead of strlcpy()
The implementation of strscpy() is more robust and safer.

That's now the recommended way to copy NUL terminated strings.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-11 13:32:17 -04:00
..
cec media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
common media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
dvb-core media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
dvb-frontends media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
firewire media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
i2c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
platform media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
radio media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
rc media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
spi media: cxd2880-spi: Modified how to declare structure 2018-05-05 10:37:12 -04:00
tuners media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
usb media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
v4l2-core media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
Kconfig media: cec: Kconfig coding style issue 2018-05-09 16:26:50 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
media-devnode.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00