patches for easier mirroring, to eliminate a special copy, to make www.freebsd.org/security a full copy of security.freebsd.org and be eventually be the same. For now files are just sitting there. The symlinks are missing. Discussed on: www (repository location) Discussed with: simon (so)
11 lines
378 B
Diff
11 lines
378 B
Diff
--- sys/nfs/nfs_socket.c 26 Mar 2003 01:44:46 -0000 1.60.2.6
|
|
+++ sys/nfs/nfs_socket.c 26 Feb 2006 19:00:39 -0000
|
|
@@ -2189,7 +2189,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);
|
|
}
|