From owner-cvs-all Tue Jul 16 18: 7:12 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B95FC37B400; Tue, 16 Jul 2002 18:07:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70A1D43E31; Tue, 16 Jul 2002 18:07:08 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Received: from freefall.freebsd.org (dillon@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6H178JU020918; Tue, 16 Jul 2002 18:07:08 -0700 (PDT) (envelope-from dillon@freefall.freebsd.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6H1780U020917; Tue, 16 Jul 2002 18:07:08 -0700 (PDT) Message-Id: <200207170107.g6H1780U020917@freefall.freebsd.org> From: Matt Dillon Date: Tue, 16 Jul 2002 18:07:08 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsserver nfs_srvsock.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 dillon 2002/07/16 18:07:08 PDT Modified files: sys/nfsserver nfs_srvsock.c Log: 'recm' was not being unconditionally cleared for each loop, leading to system lockups (infinite loops) when a zero-length RPC is received. Linux clients will sometimes send zero-length RPC requests. Reorganize the use of recm in the loop. Cc: security@freebsd.org Submitted by: Mike Junk MFC after: 3 days Revision Changes Path 1.78 +6 -1 src/sys/nfsserver/nfs_srvsock.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message