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

bcachefs: Add missing validation for superblock section clean



We were forgetting to check for jset entries that overrun the end of the
section - both in validate and to_text(); to_text() needs to be safe for
types that fail to validate.

Reported-by: default avatar <syzbot+c48865e11e7e893ec4ab@syzkaller.appspotmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 6b8cbfc3
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