diff options
author | Kent Overstreet <[email protected]> | 2023-11-07 10:30:22 -0500 |
---|---|---|
committer | Kent Overstreet <[email protected]> | 2023-11-13 21:42:22 -0500 |
commit | 03cc1e67a243cbb2c85d5fd84f369449f94d4269 (patch) | |
tree | 5aa73c5a8e96b44e93599c0ec558347c35dbc5d4 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 274c2f8fd27158d15524abe63c3df6fb96707dd3 (diff) |
bcachefs: Fix null ptr deref in bch2_backpointer_get_node()
bch2_btree_iter_peek_node() can return a NULL ptr (when the tree is
shorter than the search depth); handle this with an early return.
Signed-off-by: Kent Overstreet <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Fixes: https://lore.kernel.org/linux-bcachefs/[email protected]/T/
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions