]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: use strscpy() instead of less secure variants
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 3 Jun 2020 06:12:14 +0000 (08:12 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 17:13:10 +0000 (19:13 +0200)
commitd4f4673f7d010f2a1adeb575026486d5407350f9
tree23d1b54bec8c756b1fcfbeed0c81c024e2ffc9b2
parenta8d39270ec113f441a0383f55953fcc857365292
media: atomisp: use strscpy() instead of less secure variants

Replace usages of strcpy(), strlcpy() and strncpy() in favor
of strscpy().

Suggested-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_file.c
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
drivers/staging/media/atomisp/pci/atomisp_tpg.c
drivers/staging/media/atomisp/pci/atomisp_trace_event.h
drivers/staging/media/atomisp/pci/atomisp_v4l2.c
drivers/staging/media/atomisp/pci/sh_css_sp.c
drivers/staging/media/atomisp/pci/sh_css_version.c