linux/drivers/staging/most
Colin Ian King 13c45007e0 staging: most: use format specifier "%s" in snprintf
Passing string ch_data_type[i].name as the format specifier is
potentially hazardous because it could (although very unlikely to)
have a format specifier embedded in it causing issues when parsing
the non-existent arguments to these.  Follow best practice by using
the "%s" format string for the string.

Cleans up clang warning:
format string is not a string literal (potentially insecure) [-Wformat-security]

Fixes: e7f2b70fd3 ("staging: most: replace multiple if..else with table lookup")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-09 04:34:12 -08:00
..
Documentation staging: most: add ABI documentation 2017-11-27 09:20:37 +01:00
cdev staging: most: fix label names 2018-09-25 21:09:56 +02:00
dim2 staging: most: fix sparse warning Using plain integer as NULL pointer 2018-06-28 22:08:51 +09:00
i2c staging: most: i2c: reduce parameters inconsistency 2018-05-08 13:41:49 +02:00
net staging: most: net: make array 'broadcast' static, shrinks object size 2018-09-10 11:17:47 +02:00
sound ALSA: pcm: Nuke snd_pcm_lib_mmap_vmalloc() 2018-07-18 08:24:29 +02: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 staging: most: video: rename module 2017-11-27 09:20:34 +01:00
Makefile staging: most: fix Makefile 2017-11-28 13:34:59 +01:00
TODO
core.c staging: most: use format specifier "%s" in snprintf 2018-11-09 04:34:12 -08:00
core.h staging: most: sound: call snd_card_new with struct device 2018-05-08 13:41:50 +02:00