diff options
| author | Haoxiang Li <haoxiang_li2024@163.com> | 2025-02-18 10:52:16 +0800 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2025-03-04 17:18:08 +0100 |
| commit | 3db42c75a921854a99db0a2775814fef97415bac (patch) | |
| tree | 591828e0ad9ff3953c61d9b70f2413ae085e936e /tools/perf/scripts/python/task-analyzer.py | |
| parent | s390/alternatives: Add debug functionality (diff) | |
| download | linux-3db42c75a921854a99db0a2775814fef97415bac.tar.gz linux-3db42c75a921854a99db0a2775814fef97415bac.zip | |
s390/sclp: Add check for get_zeroed_page()
Add check for the return value of get_zeroed_page() in
sclp_console_init() to prevent null pointer dereference.
Furthermore, to solve the memory leak caused by the loop
allocation, add a free helper to do the free job.
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/20250218025216.2421548-1-haoxiang_li2024@163.com
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
