Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2017 23:18:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 218592] [patch] fsck_ffs(8): incorrect bounds check in preen mode when softdep is enabled
Message-ID:  <bug-218592-8-rtxO2YWmqz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218592-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218592-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218592

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

I'll note that inosused will always be a multiple of CHAR_BIT, so in fact t=
he
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218592-8-rtxO2YWmqz>