kernel-fxtec-pro1x/drivers/staging/most
Gustavo A. R. Silva 472592bb5f staging: most: core: replace strcpy() by strscpy()
[ Upstream commit 3970d0d81816310175b6272e709ee09dd3e05171 ]

The strcpy() function is being deprecated. Replace it by the safer
strscpy() and fix the following Coverity warning:

"You might overrun the 80-character fixed-size string iface->p->name
by copying iface->description without checking the length."

Addresses-Coverity-ID: 1444760 ("Copy into fixed size buffer")
Fixes: 131ac62253db ("staging: most: core: use device description as name")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-05-27 17:37:39 +02:00
..
cdev staging: most: cdev: add missing check for cdev_add failure 2020-01-27 14:50:19 +01:00
dim2
Documentation
i2c
net staging: most: net: fix buffer overflow 2020-02-01 09:37:02 +00:00
sound
usb
video
core.c staging: most: core: replace strcpy() by strscpy() 2020-05-27 17:37:39 +02:00
core.h
Kconfig
Makefile
TODO