From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8559 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: getaddrinfo usage with wrong ip family Date: Thu, 24 Sep 2015 12:59:01 +0200 Message-ID: <20150924105901.GI10551@port70.net> References: <06898546-AC9C-40F0-A2F5-2F1CC02E185C@gmail.com> <20150922151625.GX17773@brightrain.aerifal.cx> <71B72D33-A1D4-4B23-BFEB-6BFA01DF7523@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1443092359 10765 80.91.229.3 (24 Sep 2015 10:59:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2015 10:59:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8571-gllmg-musl=m.gmane.org@lists.openwall.com Thu Sep 24 12:59:19 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Zf4FA-0005cD-Rf for gllmg-musl@m.gmane.org; Thu, 24 Sep 2015 12:59:17 +0200 Original-Received: (qmail 13457 invoked by uid 550); 24 Sep 2015 10:59:13 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 13424 invoked from network); 24 Sep 2015 10:59:12 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <71B72D33-A1D4-4B23-BFEB-6BFA01DF7523@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:8559 Archived-At: * Julien Ramseier [2015-09-24 12:27:22 +0200]: > > Le 22 sept. 2015 =E0 17:16, Rich Felker a =E9crit : > >=20 > > Another approach might be having __lookup_numeric always parse with > > AF_UNSPEC, but return error rather than 0 results if the resulting > > family does not match the requested family. >=20 > This seems the simplest solution in the meantime. >=20 > Here???s the patch I applied to my trunk. >=20 forgot to attach the patch?