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

Hiroki Sato hrs at FreeBSD.org
Sun Jan 7 05:22:49 PST 2007


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


More information about the cvs-src mailing list