Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2004 14:47:20 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c
Message-ID:  <200402212247.i1LMlKJ5033386@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402212247.i1LMlKJ5033386>