cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

Bruce Evans bde at FreeBSD.org
Sat Feb 21 14:47:20 PST 2004


bde         2004/02/21 14:47:20 PST

  FreeBSD src repository

  Modified files:
    sys/fs/msdosfs       msdosfs_vfsops.c 
  Log:
  Fixed a serious off by 1 error.  The cluster-in-use bitmap was overrun
  by 1 u_int if the number of clusters was 1 more than a multiple of
  (8 * sizeof(u_int)).  The bitmap is malloced and large (often huge), so
  fatal overrun probably only occurred if the number of clusters was 1
  more than 1 multiple of PAGE_SIZE/8.
  
  Revision  Changes    Path
  1.118     +1 -2      src/sys/fs/msdosfs/msdosfs_vfsops.c


More information about the cvs-src mailing list