diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-03-11 12:04:26 +0300 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2020-03-14 16:32:04 +0300 |
commit | 6d3fbe919b839bae9d8ed22b4ae5a17b05cb209e (patch) | |
tree | 979cca5bcec42f3039a78ee882bf3c91719f378b /tools/perf/scripts/python/stackcollapse.py | |
parent | 7c8c5673f6cf1f35d5ffb1df3095526d28e6730a (diff) | |
download | linux-6d3fbe919b839bae9d8ed22b4ae5a17b05cb209e.tar.xz |
pcmcia: 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: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions