From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27224 invoked by alias); 3 Nov 2003 18:17:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27217 invoked from network); 3 Nov 2003 18:17:01 -0000 Received: from unknown (HELO phumblet.no-ip.org) (68.160.7.143) by sources.redhat.com with SMTP; 3 Nov 2003 18:17:01 -0000 Received: from pierre by phumblet.no-ip.org with local (Exim 4.24) id HNSH6L-006FFN-J7 for cygwin@cygwin.com; Mon, 03 Nov 2003 13:39:57 -0500 Date: Mon, 03 Nov 2003 18:17:00 -0000 From: "Pierre A. Humblet" To: cygwin@cygwin.com Subject: Re: Segmentation Fault of ssh3.7.1 with cygwin1.5.5-1 in W95 Message-ID: <20031103183956.GA223527@Worldnet> References: <3.0.5.32.20031031190541.00826670@incoming.verizon.net> <3.0.5.32.20031030202558.00828400@incoming.verizon.net> <3.0.5.32.20031029214604.0082b8c0@incoming.verizon.net> <200310291905.h9TJ5eG5028353@pion.ivic.ve> <3.0.5.32.20031029214604.0082b8c0@incoming.verizon.net> <3.0.5.32.20031030202558.00828400@incoming.verizon.net> <3.0.5.32.20031031190541.00826670@incoming.verizon.net> <3.0.5.32.20031102094314.00839710@incoming.verizon.net> <20031103163115.GH18706@cygbert.vinschen.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 X-SW-Source: 2003-11/txt/msg00097.txt.bz2 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/