aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHongbo Yao <[email protected]>2020-06-05 17:17:40 +0800
committerArnaldo Carvalho de Melo <[email protected]>2020-06-09 12:40:04 -0300
commitc0c652fc705de75f4ba52e93053acc1ed3933e74 (patch)
tree2a02fe882746ae1d97a1c72e84989e9a38ef4407 /tools/perf/scripts/python/export-to-sqlite.py
parent11b6e5482e178055ec1f2444b55f2518713809d1 (diff)
perf stat: Fix NULL pointer dereference
If config->aggr_map is NULL and config->aggr_get_id is not NULL, the function print_aggr() will still calling arrg_update_shadow(), which can result in accessing the invalid pointer. Fixes: 088519f318be ("perf stat: Move the display functions to stat-display.c") Signed-off-by: Hongbo Yao <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wei Li <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions