cvs commit: src/sys/nfsserver nfs_srvsubs.c nfsm_subs.h

Hiroki Sato hrs at FreeBSD.org
Tue Jan 2 12:42:09 PST 2007


hrs         2007-01-02 20:42:08 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsserver        nfs_srvsubs.c nfsm_subs.h 
  Log:
  The nfsm_srvpathsiz() macro in nfsrv_symlink() in nfs_serv.c should
  check length of the pathname in the range 0<=n<=NFS_MAXPATHLEN,
  not 0<n<=NFS_MAXPATHLEN.  This fixes a minor interoperability problem
  that the FreeBSD NFS server did not allow a symlink pointing the empty
  pathname.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.145     +18 -0     src/sys/nfsserver/nfs_srvsubs.c
  1.38      +2 -1      src/sys/nfsserver/nfsm_subs.h


More information about the cvs-src mailing list