This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][PATCH 2/4][BZ 17083] NSS: Parse zone identifier of IPv6 addresses in /etc/hosts
- From: Florian Weimer <fweimer at redhat dot com>
- To: Łukasz Stelmach <stlman at poczta dot fm>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 12 Sep 2017 12:00:28 +0200
- Subject: Re: [RFC][PATCH 2/4][BZ 17083] NSS: Parse zone identifier of IPv6 addresses in /etc/hosts
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C8C43356CD
- References: <20170905160530.19525-1-stlman@poczta.fm> <20170905160530.19525-3-stlman@poczta.fm>
On 09/05/2017 06:05 PM, Łukasz Stelmach wrote:
> + ret = getaddrinfo(addr, NULL, &hints, &res);
That makes me rather nervous due to the potential for recursion. Can we
factor out the AI_NUMERICHOST code into a separate function instead?
Thanks,
Florian