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

Xin LI delphij at FreeBSD.org
Wed Oct 13 09:27:27 PDT 2004


delphij     2004-10-13 16:27:27 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/fs/msdosfs       msdosfs_fat.c 
  Log:
  MFC revision 1.36
  date: 2004/09/08 10:57:09;  author: tjr;  state: Exp;  lines: +5 -0
  Merge from NetBSD:
  Fix a panic that occurred when trying to traverse a corrupt msdosfs
  filesystem.  With this particular corruption, the code in pcbmap()
  would compute an offset into an array that was way out of bounds,
  so check the bounds before trying to access and return an error if
  the offset would be out of bounds.
  
  Approved by:    re (scottl)
  Approved by:    murray (mentor)
  
  Revision  Changes    Path
  1.35.2.1  +5 -0      src/sys/fs/msdosfs/msdosfs_fat.c


More information about the cvs-src mailing list