diff options
author | Ian Rogers <irogers@google.com> | 2021-02-26 14:14:31 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-03-06 16:54:26 -0300 |
commit | 137a5258939aca56558f3a23eb229b9c4b293917 (patch) | |
tree | dc4f8f724b8c8b3221b7571a4995174db3f55875 /security | |
parent | 394e4306b093d037bddcee7e1f0e8e6c53a558fc (diff) |
perf traceevent: Ensure read cmdlines are null terminated.
Issue detected by address sanitizer.
Fixes: cd4ceb63438e9e28 ("perf util: Save pid-cmdline mapping into tracing header")
Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20210226221431.1985458-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions