OpenCloudOS-Kernel/drivers/media/usb/go7007
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
..
Kconfig [media] go7007: add MEDIA_CAMERA_SUPPORT dependency 2016-11-23 13:15:02 -02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
go7007-driver.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
go7007-fw.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
go7007-i2c.c [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
go7007-loader.c
go7007-priv.h [media] go7007: constify go7007_hpi_ops structures 2016-02-01 07:34:07 -02:00
go7007-usb.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
go7007-v4l2.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
s2250-board.c [media] Drop owner assignment from i2c_driver 2015-08-11 13:01:57 -03:00
snd-go7007.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00