summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.kasan
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-11 10:30:03 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-12 09:49:28 +0100
commit0de005d0e4270f2dad5289d6dea8db041fba6199 (patch)
tree1c3e5129ea2f453291fedcea1b947a29be3d56dd /scripts/Makefile.kasan
parentMerge 5.6-rc5 into usb-next (diff)
downloadlinux-0de005d0e4270f2dad5289d6dea8db041fba6199.tar.xz
linux-0de005d0e4270f2dad5289d6dea8db041fba6199.zip
USB: mon: 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/20200311093003.24604-1-tiwai@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.kasan')
0 files changed, 0 insertions, 0 deletions