aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2023-08-04 16:18:38 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-08-07 19:40:29 +0000
commita612bbf8b8fdd29136a1ac8b2afca3780278d344 (patch)
tree20073dc2602f7d2a9aa54637e8513afc4105cf68 /tools/perf/builtin-script.c
parentperf probe: Free string returned by synthesize_perf_probe_point() on failure ... (diff)
downloadkernel-a612bbf8b8fdd29136a1ac8b2afca3780278d344.tar.gz
kernel-a612bbf8b8fdd29136a1ac8b2afca3780278d344.zip
perf probe: Free string returned by synthesize_perf_probe_point() on failure in synthesize_perf_probe_command()
Building perf with EXTRA_CFLAGS="-fsanitize=address" a leak was detected elsewhere and lead to an audit, where we found that synthesize_perf_probe_command() may leak synthesize_perf_probe_point() return on failure, fix it. Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions