From owner-cvs-all Sun Apr 21 9:15: 1 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 99E5137B41B; Sun, 21 Apr 2002 09:14:54 -0700 (PDT) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3LGEsG94002; Sun, 21 Apr 2002 09:14:54 -0700 (PDT) (envelope-from iedowse) Message-Id: <200204211614.g3LGEsG94002@freefall.freebsd.org> From: Ian Dowse Date: Sun, 21 Apr 2002 09:14:54 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsserver nfs_serv.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2002/04/21 09:14:54 PDT Modified files: sys/nfsserver nfs_serv.c Log: Limit to the maximum allowed reply size the amount of data that nfsrv_readdir and nfsrv_readdirplus can return. A client request containing an over-large `count' field could trigger the "Bad nfs svc reply" panic in nfs_syscalls.c. Spotted while trying to reproduce kern/37304, which turned out to be fixed in FreeBSD a long time ago. MFC after: 1 week Revision Changes Path 1.118 +4 -0 src/sys/nfsserver/nfs_serv.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message