summaryrefslogtreecommitdiff
path: root/fs/unicode
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-07 10:30:22 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-11-13 21:42:22 -0500
commit03cc1e67a243cbb2c85d5fd84f369449f94d4269 (patch)
tree5aa73c5a8e96b44e93599c0ec558347c35dbc5d4 /fs/unicode
parent274c2f8fd27158d15524abe63c3df6fb96707dd3 (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 <kent.overstreet@linux.dev> Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Fixes: https://lore.kernel.org/linux-bcachefs/5fc3c28b-c232-4ec7-b0ac-4ef220ddf976@moroto.mountain/T/ Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/unicode')
0 files changed, 0 insertions, 0 deletions