Date: Tue, 13 Aug 2002 09:25:38 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/rsh rsh.c Message-ID: <200208131625.g7DGPc7b027829@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <Keith.White@site.uottawa.ca>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208131625.g7DGPc7b027829>
