Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 2007 13:22:49 +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:  <200701071322.l07DMn4m001384@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
hrs         2007-01-07 13:22:49 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6_2)
    sys/nfsserver        nfs_srvsubs.c nfsm_subs.h 
  Log:
  MFC: 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.
  
  Approved by:    re (kensmith)
  
  Revision       Changes    Path
  1.136.2.5.2.1  +18 -0     src/sys/nfsserver/nfs_srvsubs.c
  1.37.8.1       +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?200701071322.l07DMn4m001384>