aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-11 08:47:06 +0100
committerMauro Carvalho Chehab <[email protected]>2020-03-20 16:27:42 +0100
commit4345e2e5c75895232a17e6783e6233beadc650c4 (patch)
tree195cdb7ccccb597417d5aa447bb3e2fbe3575d4e /tools/perf/util/trace-event-scripting.c
parent4b508ed16acac15f4a762d5e10ed8d64a7ac3fb1 (diff)
media: rc: 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 <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions