diff options
| author | Takashi Iwai <[email protected]> | 2020-03-11 10:32:29 +0100 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-03-20 14:29:05 +0100 |
| commit | 42f21e5452a24d205dcc029be4075b8be07f2ac0 (patch) | |
| tree | 74437326b2c3f093aada2c356515280738a9c0ec /tools/perf/scripts/python/check-perf-trace.py | |
| parent | bf1b615ad97e6ce915b0f510c031803da71b02b8 (diff) | |
video: omap2: 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: Bartlomiej Zolnierkiewicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions