aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2024-05-25 12:38:53 -0400
committerKent Overstreet <[email protected]>2024-05-26 12:44:12 -0400
commit9242a34b760648b722f4958749ad83ef7d0f7525 (patch)
tree67102d898eb4f22da94965969e872f6673718594 /lib/test_fortify/write_overflow-strncpy-src.c
parentd509cadc3a48fee394d68757e4b685f7c143ed64 (diff)
bcachefs: Fix sb-downgrade validation
Superblock downgrade entries are only two byte aligned, but section sizes are 8 byte aligned, which means we have to be careful about overrun checks; an entry that crosses the end of the section is allowed (and ignored) as long as it has zero errors. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions