bug in fsread() in sys/boot/common/ufsread.c

Yuichiro Goto y7goto at gmail.com
Mon Jan 22 08:13:44 PST 2007


Sure.

On 1/23/07, YONETANI Tomokazu <qhwt+dfly at les.ath.cx> wrote:
On Mon, Jan 22, 2007 at 02:34:08AM +0900, Yuichiro Goto wrote:
> I found a bug in fsread() in sys/boot/common/ufsread.c.  Incorrect
> calculation
> of a virtual block address within a single indirect block causes
corruption
> of
> large file.  Please see the attached diff.
Thanks, committed!
Appears like this has been introduced in rev 1.7(in FreeBSD)
in the process of avoiding 64bit calculation in the boot code,
and it's still there.  Can you report this problem to FreeBSD
community too(if you haven't yet)?
Regards.






More information about the Bugs mailing list