aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2025-06-12 15:11:00 -0700
committerAlexei Starovoitov <ast@kernel.org>2025-06-12 16:53:40 -0700
commitfa6932577c073497379a1f5901ea5b208a38da10 (patch)
tree01df58e007c7b2d496ab460921b4927838da50c0 /tools/perf/scripts/python/task-analyzer.py
parentdocs/bpf: Default cpu version changed from v1 to v3 in llvm 20 (diff)
downloadlinux-fa6932577c073497379a1f5901ea5b208a38da10.tar.gz
linux-fa6932577c073497379a1f5901ea5b208a38da10.zip
bpf: Initialize used but uninit variable in propagate_liveness()
With input changed == NULL, a local variable is used for "changed". Initialize tmp properly, so that it can be used in the following: *changed |= err > 0; Otherwise, UBSAN will complain: UBSAN: invalid-load in kernel/bpf/verifier.c:18924:4 load of value <some random value> is not a valid value for type '_Bool' Fixes: dfb2d4c64b82 ("bpf: set 'changed' status if propagate_liveness() did any updates") Signed-off-by: Song Liu <song@kernel.org> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20250612221100.2153401-1-song@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions