summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/tegra
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-11 12:06:44 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-03-27 13:30:24 +0300
commit7eb42f9855909cc10f5ba809c500ac0032fd60b8 (patch)
tree69d43a7e710d065ccac00031ff7fd78259326dc9 /drivers/pinctrl/tegra
parent492464cd464da92242b9e9fc5aec879033bc3df6 (diff)
downloadlinux-7eb42f9855909cc10f5ba809c500ac0032fd60b8.tar.xz
pinctrl: mediatek: 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/20200311090644.20287-1-tiwai@suse.de Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/tegra')
0 files changed, 0 insertions, 0 deletions