Subject: Re: ares_init.c +1295, missing else?

Re: ares_init.c +1295, missing else?

From: Tommie Gannert <tommie_at_spotify.com>
Date: Wed, 23 Feb 2011 08:55:49 +0100

On 02/22/2011 06:24 PM, Dima Tisnek wrote:
> On 22 February 2011 05:54, Tommie Gannert<tommie_at_spotify.com> wrote:
>> I agree it sounds reasonable only one of the branches in the loop
>> is executed. It's probably not an issue in practice as something can't
>> be parsed as both IPv6 and IPv4 (right?)
>
> my primary concern is that 2nd call to ares_inet_net_pton calls
> inet_net_pton_ipv4 which can clobber pat

Ah, right.

-- 
Tommie
Received on 2011-02-23