linux_dsm_epyc7002/drivers/media/common/siano
Takashi Iwai af72bc8cd6 media: siano: Use scnprintf() for avoiding potential buffer overflow
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit.  Fix it by replacing with scnprintf().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-20 16:28:07 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
sms-cards.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 185 2019-05-30 11:29:20 -07:00
sms-cards.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 185 2019-05-30 11:29:20 -07:00
smscoreapi.c media: siano: fix spelling mistake "ENBALE" -> "ENABLE" 2019-11-08 07:31:40 +01:00
smscoreapi.h media: siano: fix spelling mistake "ENBALE" -> "ENABLE" 2019-11-08 07:31:40 +01:00
smsdvb-debugfs.c media: siano: Use scnprintf() for avoiding potential buffer overflow 2020-03-20 16:28:07 +01:00
smsdvb-main.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smsdvb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smsendian.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smsendian.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smsir.c media: rc: Remove init_ir_raw_event and DEFINE_IR_RAW_EVENT macros 2018-10-04 14:22:27 -04:00
smsir.h media: siano: Use the correct style for SPDX License Identifier 2019-11-10 17:46:45 +01:00