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

Tim J. Robbins tjr at FreeBSD.org
Wed Sep 8 04:25:42 PDT 2004


tjr         2004-09-08 11:25:42 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/msdosfs       msdosfs_lookup.c 
  Log:
  Merge from NetBSD:
  Fix a problem in previous: we can't blindly assume that we have
  wincnt entries available at the offset the file has been found. If the dos
  directory entry is not preceded by appropriate number of long name
  entries (happens e.g. when the filesystem is corrupted, or when
  the filename complies to DOS rules and doesn't use any long name entry),
  we would overwrite random directory entries.
  
  There are still some problems, the whole thing has to be revisited and solved
  right.
  
  Submitted by:   Xin LI
  
  Revision  Changes    Path
  1.41      +18 -3     src/sys/fs/msdosfs/msdosfs_lookup.c


More information about the cvs-src mailing list