Project

General

Profile

Actions

Bug #529

closed

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

Added by y7goto over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hello,

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.

Regards,

Yuichiro Goto


Files

ufsread.c.diff (586 Bytes) ufsread.c.diff y7goto, 01/21/2007 05:38 PM
Actions #1

Updated by qhwt+dfly over 17 years ago

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.

Actions #2

Updated by y7goto over 17 years ago

Sure.

Actions

Also available in: Atom PDF