aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorGaosheng Cui <[email protected]>2024-10-26 18:26:58 +0800
committerKent Overstreet <[email protected]>2024-10-29 06:34:10 -0400
commitca959e328b2243687aa0b95de01414d13e4f3ade (patch)
treea8fdb159b4254f9ad25c5069f9efcb25e65d58de /tools/perf/scripts/python/gecko.py
parent778ac324ccfad7b941bba604118e38a19800657b (diff)
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 <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions