aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-07-07 16:09:26 -0700
committerArnaldo Carvalho de Melo <[email protected]>2023-07-11 16:44:12 -0300
commit4b96679170c63be361d1b0fdeb81bb0ef207dbcb (patch)
treecea23fa42d5b416e4f2c000625d36b3b21779d73 /tools/perf/scripts/python/export-to-postgresql.py
parentad07149f34dbb3e0f4e25e19ef80bdd3216ba1cf (diff)
libsubcmd: Avoid SEGV/use-after-free when commands aren't excluded
The array shortening may perform unnecessary array copies. Before commit 657a3efee43a ("lib subcmd: Avoid memory leak in exclude_cmds") this was benign, but afterwards this could lead to a SEGV. Fixes: 657a3efee43a29d1 ("lib subcmd: Avoid memory leak in exclude_cmds") Signed-off-by: Ian Rogers <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Chenyuan Mi <[email protected]> Cc: Ian Rogers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions