cvs commit: src/sbin/fsck_ffs pass1.c

Xin LI delphij at FreeBSD.org
Tue Feb 26 03:08:23 UTC 2008


delphij     2008-02-26 03:08:22 UTC

  FreeBSD src repository

  Modified files:
    sbin/fsck_ffs        pass1.c 
  Log:
  In pass1(), cap inosused to fs_ipg rather than allowing arbitrary
  number read from cylinder group.  Chances that we read a smarshed
  cylinder group, and we can not 100% trust information it has
  supplied.  fsck_ffs(8) will crash otherwise for some cases.
  
  Revision  Changes    Path
  1.44      +4 -2      src/sbin/fsck_ffs/pass1.c


More information about the cvs-src mailing list