summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMikhail Zaslonko <zaslonko@linux.ibm.com>2026-09-16 18:06:26 +0200
committerHeiko Carstens <hca@linux.ibm.com>2026-09-22 12:38:01 +0200
commit012bfcd5a51082d5a65f096dfb9ca652b5267965 (patch)
treea63562184a49d822e540995712208e6bab171915 /tools/perf/scripts/python/task-analyzer.py
parent28e29992b034acffc9342df216c06097825ce610 (diff)
downloadlinux-next-012bfcd5a51082d5a65f096dfb9ca652b5267965.tar.gz
linux-next-012bfcd5a51082d5a65f096dfb9ca652b5267965.zip
s390/debug: Fix NULL pointer dereference in debug_info_copy()
When debug_register_static() fails, it clears areas, active_pages and active_entries but leaves the area bounds unchanged. Copying such an area, either by opening its view file or via debug_dump(), makes debug_info_copy() dereference the NULL pointers. Skip the copy loop when the source has no areas. Closes: https://lore.kernel.org/r/20260903132123.12F271F00A3F@smtp.kernel.org Fixes: d72541f94512 ("s390/debug: add early tracing support") Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions