aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-04-29 14:40:43 +0800
committerakpm <[email protected]>2022-05-27 09:33:43 -0700
commit7c61c35bbd6a888416e5a6de8ff8782a70d013d4 (patch)
treed062095fadf78cede1c32b05ceb42f05ad98d234 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent4c6bdb36408fbe4697eb9f1d95a3ddc1d2348448 (diff)
mm/z3fold: fix possible null pointer dereferencing
alloc_slots could fail to allocate memory under heavy memory pressure. So we should check zhdr->slots against NULL to avoid future null pointer dereferencing. Link: https://lkml.kernel.org/r/[email protected] Fixes: fc5488651c7d ("z3fold: simplify freeing slots") Signed-off-by: Miaohe Lin <[email protected]> Reviewed-by: Vitaly Wool <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions