Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 3 Nov 2003 13:39:56 -0500 From: "Pierre A. Humblet" To: cygwin AT cygwin DOT com Subject: Re: Segmentation Fault of ssh3.7.1 with cygwin1.5.5-1 in W95 Message-ID: <20031103183956.GA223527@Worldnet> References: <3 DOT 0 DOT 5 DOT 32 DOT 20031031190541 DOT 00826670 AT incoming DOT verizon DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20031030202558 DOT 00828400 AT incoming DOT verizon DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20031029214604 DOT 0082b8c0 AT incoming DOT verizon DOT net> <200310291905 DOT h9TJ5eG5028353 AT pion DOT ivic DOT ve> <3 DOT 0 DOT 5 DOT 32 DOT 20031029214604 DOT 0082b8c0 AT incoming DOT verizon DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20031030202558 DOT 00828400 AT incoming DOT verizon DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20031031190541 DOT 00826670 AT incoming DOT verizon DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20031102094314 DOT 00839710 AT incoming DOT verizon DOT net> <20031103163115 DOT GH18706 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031103163115.GH18706@cygbert.vinschen.de> User-Agent: Mutt/1.4i On Mon, Nov 03, 2003 at 05:31:15PM +0100, Corinna Vinschen wrote: > On Sun, Nov 02, 2003 at 09:43:14AM -0500, Pierre A. Humblet wrote: > > Pierre A. Humblet wrote: > > > > > The real problem is that the s_proto pointer of the struct servent > > > returned by the Windows getservbyname on Win95 is invalid. > > > > Looking at net.cc, this problem seems to be well known. > > However the workaround is only applied when copying the string, > > not when computing its length. > > I see. I'll create a patch. I started one already, must still compile and test. Let me know if you proceed on your side. Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/