Date: Tue, 2 Jan 2007 20:42:08 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsserver nfs_srvsubs.c nfsm_subs.h Message-ID: <200701022042.l02Kg81W049377@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701022042.l02Kg81W049377>
