aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-11 09:47:13 +0100
committerKalle Valo <kvalo@codeaurora.org>2020-03-12 15:43:41 +0200
commit1da740e08a2d48012803a381108e0e8062cbd683 (patch)
tree6094b7c7aa53eac28e96b1cdbf1bdfc4a0284ea6 /tools/perf/scripts/python/stackcollapse.py
parentipw2x00: Use scnprintf() for avoiding potential buffer overflow (diff)
downloadwireguard-linux-1da740e08a2d48012803a381108e0e8062cbd683.tar.xz
wireguard-linux-1da740e08a2d48012803a381108e0e8062cbd683.zip
prism54: 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(). Cc: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions