diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-03-11 10:04:26 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2020-03-14 14:32:04 +0100 |
commit | 6d3fbe919b839bae9d8ed22b4ae5a17b05cb209e (patch) | |
tree | 979cca5bcec42f3039a78ee882bf3c91719f378b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7c8c5673f6cf1f35d5ffb1df3095526d28e6730a (diff) | |
download | linux-6d3fbe919b839bae9d8ed22b4ae5a17b05cb209e.tar.gz linux-6d3fbe919b839bae9d8ed22b4ae5a17b05cb209e.tar.bz2 linux-6d3fbe919b839bae9d8ed22b4ae5a17b05cb209e.zip |
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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions