summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2026-04-10 19:09:02 -0300
committerNamhyung Kim <namhyung@kernel.org>2026-04-13 23:21:53 -0700
commit47c68eb15ae90fa3953db9a67b4569089ff63cd0 (patch)
treeaa5c1564951baa7469b2b7d39af2f4e4f40785ac /rust/kernel
parent110a661708a6a90997442f02f261e2043624a1c8 (diff)
perf header: Sanity check HEADER_HYBRID_TOPOLOGY
Add upper bound check on nr_nodes in process_hybrid_topology() to harden against malformed perf.data files (reuses MAX_PMU_MAPPINGS, 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 'rust/kernel')
0 files changed, 0 insertions, 0 deletions