diff options
| author | 2026-04-10 19:09:03 -0300 | |
|---|---|---|
| committer | 2026-04-13 23:21:53 -0700 | |
| commit | f5722a6b6a443fd56ce0a71b4be4c75d7a857dbe (patch) | |
| tree | b2fa8e9985663e0bb6a5e9dab009aeb1294b1240 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | perf header: Sanity check HEADER_HYBRID_TOPOLOGY (diff) | |
perf header: Sanity check HEADER_PMU_CAPS
Add upper bound checks in PMU capabilities processing to harden against
malformed perf.data files:
- nr_pmu bounded to MAX_PMU_MAPPINGS (4096) in process_pmu_caps()
- nr_pmu_caps bounded to MAX_PMU_CAPS (512) in __process_pmu_caps()
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
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/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
