Skip to content
Commit 0ec5b3b7 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix shift-by-64 in bformat_needs_redo()



Ancient versions of bcachefs produced packed formats that could
represent keys that our in memory format cannot represent;
bformat_needs_redo() has some tricky shifts to check for this sort of
overflow.

Reported-by: default avatar <syzbot+594427aebfefeebe91c6@syzkaller.appspotmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 2bb9600d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment