mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: getaddrinfo usage with wrong ip family
Date: Thu, 24 Sep 2015 21:48:56 -0400	[thread overview]
Message-ID: <20150925014856.GM17773@brightrain.aerifal.cx> (raw)
In-Reply-To: <20150924153904.GK17773@brightrain.aerifal.cx>

On Thu, Sep 24, 2015 at 11:39:04AM -0400, Rich Felker wrote:
> On Thu, Sep 24, 2015 at 05:11:03PM +0200, Julien Ramseier wrote:
> > 
> > > Le 24 sept. 2015 à 12:59, Szabolcs Nagy <nsz@port70.net> a écrit :
> > > 
> > > * Julien Ramseier <j.ramseier@gmail.com> [2015-09-24 12:27:22 +0200]:
> > >>> Le 22 sept. 2015 à 17:16, Rich Felker <dalias@libc.org> a écrit :
> > >>> 
> > >>> 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.
> > >> 
> > >> This seems the simplest solution in the meantime.
> > >> 
> > >> Here???s the patch I applied to my trunk.
> > >> 
> > > 
> > > forgot to attach the patch?
> > 
> > No, but maybe my mail client screwed it up.
> 
> It was there, just deeply embedded in multiple layers of MIME.

The patch conflicted with commit
cb1c88d42b0ee5e950d85e933c6eb6ecb8175e1d, but I've adapted and applied
it. Let me know if you see anything I did wrong.

Rich


      reply	other threads:[~2015-09-25  1:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-22 14:40 Julien Ramseier
2015-09-22 15:16 ` Rich Felker
2015-09-24 10:27   ` Julien Ramseier
2015-09-24 10:59     ` Szabolcs Nagy
2015-09-24 15:11       ` Julien Ramseier
2015-09-24 15:39         ` Rich Felker
2015-09-25  1:48           ` Rich Felker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150925014856.GM17773@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).