aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2018-09-07 10:24:55 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-09-19 13:25:08 +0000
commit53da12e013498c4eca592939bb18a5dbd1d228c9 (patch)
treed9aa254252a13e629f54dee1c24bd4f12e52ac0d /tools/perf/util/scripting-engines/trace-event-python.c
parentperf ordered_events: Add 'struct ordered_events_buffer' layer (diff)
downloadkernel-53da12e013498c4eca592939bb18a5dbd1d228c9.tar.gz
kernel-53da12e013498c4eca592939bb18a5dbd1d228c9.zip
perf ordered_events: Prevent crossing max_alloc_size
Stephane reported a possible issue in the ordered events code, which could lead to allocating more memory than guarded by max_alloc_size. He also suggested the fix to properly check that the new size is below the max_alloc_size limit. Reported-by: Stephane Eranian <[email protected]> Suggested-by: Stephane Eranian <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions