[Bug 218592] [patch] fsck_ffs(8): incorrect bounds check in preen mode when softdep is enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 12 23:18:54 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218592

--- Comment #2 from Kirk McKusick <mckusick at FreeBSD.org> ---
The patch looks fine to me.

I'll note that inosused will always be a multiple of CHAR_BIT, so in fact the
loop will always work. However, I am a strong believer in having code that will
work absent these "known" invariants, so am in favor of the change.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list