summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2024-10-26 13:26:58 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-10-29 13:34:10 +0300
commitca959e328b2243687aa0b95de01414d13e4f3ade (patch)
treea8fdb159b4254f9ad25c5069f9efcb25e65d58de /tools/perf/scripts/python/exported-sql-viewer.py
parent778ac324ccfad7b941bba604118e38a19800657b (diff)
downloadlinux-ca959e328b2243687aa0b95de01414d13e4f3ade.tar.xz
bcachefs: fix possible null-ptr-deref in __bch2_ec_stripe_head_get()
The function ec_new_stripe_head_alloc() returns nullptr if kzalloc() fails. It is crucial to verify its return value before dereferencing it to avoid a potential nullptr dereference. Fixes: 035d72f72c91 ("bcachefs: bch2_ec_stripe_head_get() now checks for change in rw devices") Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions