[PATCH] resolv: Do not copy IPv4 addresses to IPv6 address array

Carlos O'Donell carlos@redhat.com
Tue Jul 4 18:05:00 GMT 2017


On 07/04/2017 12:53 PM, Andreas Schwab wrote:
> On Jul 04 2017, Carlos O'Donell <carlos@redhat.com> wrote:
> 
>> A design that puts malloc'd pointers directly into _res is not a good idea
>> for the reasons you note. I agree with your solution.
> 
> That's what we do.

And it's not a good idea.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list