ad30469a84
uniq() will write one command name over another causing the overwritten string to be leaked. Fix by doing a pass that removes duplicates and a second that removes the holes. Signed-off-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Chenyuan Mi <cymi20@fudan.edu.cn> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20231208000515.1693746-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
---|---|---|
.. | ||
Build | ||
exec-cmd.c | ||
exec-cmd.h | ||
help.c | ||
help.h | ||
Makefile | ||
pager.c | ||
pager.h | ||
parse-options.c | ||
parse-options.h | ||
run-command.c | ||
run-command.h | ||
sigchain.c | ||
sigchain.h | ||
subcmd-config.c | ||
subcmd-config.h | ||
subcmd-util.h |