cvs commit: src/sys/fs/msdosfs bpb.h

Craig Rodrigues rodrigc at FreeBSD.org
Mon Dec 18 18:31:59 PST 2006


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


More information about the cvs-src mailing list