From owner-cvs-all Tue Aug 13 9:25:41 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 65EE837B400; Tue, 13 Aug 2002 09:25:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A33D43E6E; Tue, 13 Aug 2002 09:25:39 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7DGPcJU027830; Tue, 13 Aug 2002 09:25:39 -0700 (PDT) (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7DGPc7b027829; Tue, 13 Aug 2002 09:25:38 -0700 (PDT) Message-Id: <200208131625.g7DGPc7b027829@freefall.freebsd.org> From: Ian Dowse Date: Tue, 13 Aug 2002 09:25:38 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/rsh rsh.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/08/13 09:25:38 PDT Modified files: usr.bin/rsh rsh.c Log: If a timeout is specified, make sure that rcmd() completes within the specified time. Previously, rsh could potentially hang indefinitely at this point even when a timeout was set, for example if the server accepts the connection and then never sends any reply. PR: bin/20042 Submitted by: Keith White MFC after: 1 week Revision Changes Path 1.29 +18 -0 src/usr.bin/rsh/rsh.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message