diff options
author | Takashi Iwai <[email protected]> | 2020-03-20 09:44:29 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2020-04-02 20:42:29 +0200 |
commit | dbdd24eaac4ecc482e2d433175c0e82b9f107bef (patch) | |
tree | 6acbf0163b9acb1f88994fee0e9dec92960d2fd1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ca707b3f00b4f31a6e1eb37e8ae99f15f2bb1fe5 (diff) |
edd: 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().
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions