aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-11 10:24:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-12 09:23:59 +0100
commit72e7375cafc12eaac17f774872fd24f4de1a5c07 (patch)
tree96282f9c3fccca694e435ab6cdcd55a132a470d7 /tools/perf/scripts/python/bin
parentstaging: most: core: Use scnprintf() for avoiding potential buffer overflow (diff)
downloadlinux-72e7375cafc12eaac17f774872fd24f4de1a5c07.tar.gz
linux-72e7375cafc12eaac17f774872fd24f4de1a5c07.zip
staging: rtl8188eu: 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> Link: https://lore.kernel.org/r/20200311092451.23933-2-tiwai@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions