acrn-kernel/drivers/staging/most
Colin Ian King a86028f8e3 staging: most: sound: replace snprintf with strscpy
Using snprintf without a format specifier is potentially risky if
the string device_name contains format specifiers. Replace this with
the safer and more efficient strscpy.

Cleans up clang warning:
drivers/staging/most/sound/sound.c:673:41: warning: format string is not
a string literal (potentially insecure) [-Wformat-security]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-19 08:28:22 +01:00
..
Documentation staging: most: Documentation: add information to driver_usage file 2018-12-17 16:10:20 +01:00
cdev staging: most: fix label names 2018-09-25 21:09:56 +02:00
dim2
i2c
net
sound staging: most: sound: replace snprintf with strscpy 2018-12-19 08:28:22 +01:00
usb staging: most: usb: add release function for DCI device 2018-10-02 15:18:36 -07:00
video staging: most: video: fix registration of an empty comp core_component 2018-09-10 11:17:47 +02:00
Kconfig
Makefile
TODO
core.c staging: most: use format specifier "%s" in snprintf 2018-11-09 04:34:12 -08:00
core.h