X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 12 Aug 2009 12:12:48 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com, cygwin-xfree AT cygwin DOT com Subject: Re: [1.7] IPv6 accept() fails if address_len is < sizeof(sockaddr_in6) [was Re: PATCH /usr/include/X11/Xtrans/Xtranssock.c [WAS: Re: xhost package not compiled for IPv6]] Message-ID: <20090812161248.GF23876@ednor.casa.cgf.cx> Reply-To: cygwin-xfree AT cygwin DOT com, cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com, cygwin-xfree AT cygwin DOT com References: <4A78A511 DOT 8020109 AT sipxx DOT com> <4A803D7C DOT 6070800 AT dronecode DOT org DOT uk> <4A825EE5 DOT 5020709 AT sipxx DOT com> <4A82BB83 DOT 1090908 AT dronecode DOT org DOT uk> <4A82C835 DOT 9030504 AT dronecode DOT org DOT uk> <20090812135941 DOT GD13438 AT calimero DOT vinschen DOT de> <4A82DDC1 DOT 6050800 AT dronecode DOT org DOT uk> <20090812153511 DOT GD14291 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090812153511.GD14291@calimero.vinschen.de> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Wed, Aug 12, 2009 at 05:35:11PM +0200, Corinna Vinschen wrote: >I have applied a patch to accept(), btw. This should now work in the >given scenario. It occured to me that the returned value is incorrect >for AF_UNIX/AF_LOCAL sockets, but that was always the case and it's not >a regression. Usually the peer address of an AF_UNIX socket is not of >interest anyway. I added that to my TODO list and probably fix that in >a later release. A snapshot is coming soon. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple