]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf header: Validate nr_domains when reading HEADER_CPU_DOMAIN_INFO
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 10 Apr 2026 22:08:53 +0000 (19:08 -0300)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 14 Apr 2026 06:21:52 +0000 (23:21 -0700)
commitf823d7efb81cd2a799dc386da4f9292fdc2c1dbe
tree3ca68a3c560412a8d044aa4a072daaad96cb6bc7
parentfab205e49286ab01cbc6fa8debd65a5a6e6cca71
perf header: Validate nr_domains when reading HEADER_CPU_DOMAIN_INFO

Further validate the HEADER_CPU_DOMAIN_INFO fields, this time checking
the nr_domains field.

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>
tools/perf/util/header.c