aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2024-04-17 19:19:50 +0000
committerKent Overstreet <[email protected]>2024-04-20 04:16:53 +0000
commitfcdbc1d7a4b638e5d5668de461f320386f3002aa (patch)
tree48c7ec295107f215e3983ace40aea1b88b2a480c /rust/helpers.c
parentbcachefs: Fix bio alloc in check_extent_checksum() (diff)
downloadkernel-fcdbc1d7a4b638e5d5668de461f320386f3002aa.tar.gz
kernel-fcdbc1d7a4b638e5d5668de461f320386f3002aa.zip
bcachefs: Check for journal entries overruning end of sb clean section
Fix a missing bounds check in superblock validation. Note that we don't yet have repair code for this case - repair code for individual items is generally low priority, since the whole superblock is checksummed, validated prior to write, and we have backups. Reported-by: lei lu <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions