aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2022-08-24 14:57:33 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-08-27 14:55:17 +0000
commitd72e5cf3cf69d4c68d3b54aea232451b0a8b69d3 (patch)
tree8e9361351a2af3014dfb2835395bb3e1d118fbf9 /drivers/usb/cdns3/cdns3-imx.c
parentperf record: Fix manpage formatting of description of support to hybrid systems (diff)
downloadkernel-d72e5cf3cf69d4c68d3b54aea232451b0a8b69d3.tar.gz
kernel-d72e5cf3cf69d4c68d3b54aea232451b0a8b69d3.zip
perf sched: Fix memory leaks in __cmd_record detected with -fsanitize=address
An array of strings is passed to cmd_record but not freed. As cmd_record modifies the array, add another array as a copy that can be mutated allowing the original array contents to all be freed. Detected with -fsanitize=address. Signed-off-by: Ian Rogers <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions