diff options
author | Jeongjun Park <[email protected]> | 2024-10-24 01:13:45 +0900 |
---|---|---|
committer | Kent Overstreet <[email protected]> | 2024-10-25 13:17:06 -0400 |
commit | a25a83de45b435cf89e55c7fb8733f83c7826004 (patch) | |
tree | 2a7ba3448fc5df63cafef80f3bf87664fb63bb9d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5c41f75d1b921b9eaf79588cdd3b22b00fb4ec52 (diff) |
bcachefs: fix null-ptr-deref in have_stripes()
c->btree_roots_known[i].b can be NULL. In this case, a NULL pointer dereference
occurs, so you need to add code to check the variable.
Reported-by: [email protected]
Fixes: 7773df19c35f ("bcachefs: metadata version bucket_stripe_sectors")
Signed-off-by: Jeongjun Park <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions