Date: Tue, 9 Mar 1999 08:17:55 -0800 (PST) From: mclaughj@segasoft.com To: freebsd-gnats-submit@freebsd.org Subject: misc/10509: Cvs can hang system when used with pserver over ssh forwarded connection Message-ID: <19990309161755.85DED14CA8@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 10509 >Category: misc >Synopsis: Cvs can hang system when used with pserver over ssh forwarded connection >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 9 08:20:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: John McLaughlin >Release: 2.2.8-STABLE >Organization: Segasoft Ireland >Environment: FreeBSD jmcl.segasoft.com 2.2.8-STABLE FreeBSD 2.2.8-STABLE #1: Thu Jan 21 10:08:21 GMT 1999 mclaughj@jmcl.segasoft.com:/usr/src/sys/compile/JMCL i386 >Description: Doing any cvs operation, via pserver, when the pserver port (2401) is forwarded over an SSH session to a host which for some reason refuses the connection, will eventually cause the system to exhaust virtual and/or physical memory, use 80-90% CPU and eventually hange the system >How-To-Repeat: $ ssh -L 2401:bad.cvs.pserver:2401 some.remote.host (in another terminal window) $ cvs -d :pserver:username@localhost:/path/to/repository login (any cvs command will perform similarly - co, update etc) >Fix: None known. The problem is in recv_line() in client.c. Due to recv() returning 0 (it *does* have a valid connection to sshd), the function keeps reallocing buffers until it runs out of space >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990309161755.85DED14CA8>