aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-11 08:45:13 +0100
committerJassi Brar <jaswinder.singh@linaro.org>2020-03-19 23:00:32 -0500
commit38a5456a6dc3ccf3864d5341a2e7753350273922 (patch)
treeaaaaef521f64a7292792070dd58dcbfb89af678a /tools/perf/scripts/python/stackcollapse.py
parent223a83bdcc56effed63661ac9ae209fea0223078 (diff)
mailbox: bcm-pdc: 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: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions