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)
commit48b532b9d2a2f27920878a0faea7fac05ec2ebc0
tree23d1b54bec8c756b1fcfbeed0c81c024e2ffc9b2
parentbaf768cf29f8fb1529e160e3ee481746ae78f6c7
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