--- sys/nfsserver/nfs_srvsock.c 28 Jan 2006 19:24:40 -0000 1.96 +++ sys/nfsserver/nfs_srvsock.c 25 Feb 2006 21:27:10 -0000 @@ -592,7 +592,7 @@ slp->ns_flag |= SLP_LASTFRAG; else slp->ns_flag &= ~SLP_LASTFRAG; - if (slp->ns_reclen > NFS_MAXPACKET) { + if (slp->ns_reclen > NFS_MAXPACKET || slp->ns_reclen <= 0) { slp->ns_flag &= ~SLP_GETSTREAM; return (EPERM); }