summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMikhail Zaslonko <zaslonko@linux.ibm.com>2026-09-16 18:53:30 +0200
committerHeiko Carstens <hca@linux.ibm.com>2026-09-22 12:24:22 +0200
commit4467df89dbca6a3e9dbc343a315324bb192603d6 (patch)
tree66ef63d5ec2244bca1330d1650832d59dd78c5df /tools/perf/scripts/python
parentf4d04425e66af2ecee9d1a49ae0484436f3c2fd1 (diff)
downloadlinux-next-4467df89dbca6a3e9dbc343a315324bb192603d6.tar.gz
linux-next-4467df89dbca6a3e9dbc343a315324bb192603d6.zip
s390/debug: Reject NULL debug info in debug_dump()
debug_dump() passes id on to debug_info_copy(), which dereferences in->name unchecked. debug_unregister(), debug_set_size() and debug_register_view() guard against a NULL id but debug_dump() does not. Nothing reaches this today, but add the check for consistency. Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://lore.kernel.org/all/20260910110147.96E851F000FF@smtp.kernel.org/ Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions