diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-04-10 19:08:59 -0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-04-13 23:21:53 -0700 |
| commit | f613a6d694aa499edb2a291ab2c2d906619585f2 (patch) | |
| tree | 04071765e4f0fc05d313202fe85514a9103cd7d8 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a881fc56038a7baa5cb5074cdd52315d9ad9ee63 (diff) | |
perf header: Sanity check HEADER_PMU_MAPPINGS
Add upper bound check on pmu_num in process_pmu_mappings() to harden
against malformed perf.data files (max 4096).
Cc: Ian Rogers <irogers@google.com>
Assisted-by: Claude Code:claude-opus-4-6
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
