Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 24 Sep 2015 21:48:56 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: getaddrinfo usage with wrong ip family

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@...t70.net> a écrit :
> > > 
> > > * Julien Ramseier <j.ramseier@...il.com> [2015-09-24 12:27:22 +0200]:
> > >>> Le 22 sept. 2015 à 17:16, Rich Felker <dalias@...c.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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.