Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <71B72D33-A1D4-4B23-BFEB-6BFA01DF7523@gmail.com>
Date: Thu, 24 Sep 2015 12:27:22 +0200
From: Julien Ramseier <j.ramseier@...il.com>
To: musl@...ts.openwall.com
Subject: Re: getaddrinfo usage with wrong ip family


> 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.



—
Julien
Content of type "text/html" skipped

Download attachment "lookup_ipliteral-error-on-incorrect-family.patch" of type "application/octet-stream" (2053 bytes)

Content of type "text/html" skipped

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.