Date: Tue, 19 Dec 2006 02:31:59 +0000 (UTC) From: Craig Rodrigues <rodrigc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs bpb.h Message-ID: <200612190231.kBJ2VxjA091897@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rodrigc 2006-12-19 02:31:58 UTC
FreeBSD src repository
Modified files:
sys/fs/msdosfs bpb.h
Log:
For big-endian version of getulong() macro, cast result to u_int32_t.
This macro was written expecting a 32-bit unsigned long, and
doesn't work properly on 64-bit systems. This bug caused vn_stat()
to return incorrect values for files larger than 2gb on msdosfs filesystems
on 64-bit systems.
PR: 106703
Submitted by: Axel Gonzalez <loox e-shell net>
MFC after: 3 days
Revision Changes Path
1.13 +1 -1 src/sys/fs/msdosfs/bpb.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612190231.kBJ2VxjA091897>
