cvs commit: src/sys/dev/disk/vn vn.c
YONETANI Tomokazu
y0netan1 at crater.dragonflybsd.org
Mon Jan 29 06:18:07 PST 2007
y0netan1 2007/01/29 06:17:39 PST
DragonFly src repository
Modified files: (Branch: DragonFly_RELEASE_1_6)
sys/dev/disk/vn vn.c
Log:
MFC rev 1.30:
pbn * vn->sc_secsize may wraparound, because both pbn and vn->sc_secsize
are of type int. Cast to off_t before multiplication.
Revision Changes Path
1.24.2.1 +1 -1 src/sys/dev/disk/vn/vn.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/vn/vn.c.diff?r1=1.24&r2=1.24.2.1&f=u
More information about the Commits
mailing list