aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2019-10-25 20:56:44 -0700
committerArnaldo Carvalho de Melo <[email protected]>2019-11-07 08:30:18 -0300
commit5c65b1c0842f9daddc6aec4bdb4b5d898006be19 (patch)
tree5a2de128a1859ed7d05f983c1c96043323e8970c /tools/perf/util/trace-event-scripting.c
parent93730f85eb37d9cf592c18dad7e488abed09b461 (diff)
perf annotate: Fix heap overflow
Fix expand_tabs that copies the source lines '\0' and then appends another '\0' at a potentially out of bounds address. Signed-off-by: Ian Rogers <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jin Yao <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Song Liu <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions