Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2004 10:57:09 +0000 (UTC)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/msdosfs msdosfs_fat.c
Message-ID:  <200409081057.i88Av9UJ065089@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2004-09-08 10:57:09 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/msdosfs       msdosfs_fat.c 
  Log:
  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.
  
  Submitted by:   Xin LI
  
  Revision  Changes    Path
  1.36      +5 -0      src/sys/fs/msdosfs/msdosfs_fat.c



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