diff options
author | hrs <hrs@FreeBSD.org> | 2007-01-02 20:42:08 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2007-01-02 20:42:08 +0000 |
commit | 7c35092b088bdb23a7ea3a3f98006256c004dfc0 (patch) | |
tree | 69df2c6126a7b9aaff116a9782dbf5b36b5f9471 /sbin | |
parent | fa85787a847721ae7f307f82717f81991dfed9a0 (diff) | |
download | FreeBSD-src-7c35092b088bdb23a7ea3a3f98006256c004dfc0.zip FreeBSD-src-7c35092b088bdb23a7ea3a3f98006256c004dfc0.tar.gz |
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
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions