[PATCH] getaddrinfo: Always allocate canonical name on the heap
Florian Weimer
fweimer@redhat.com
Fri Jun 2 14:05:00 GMT 2017
On 06/02/2017 03:56 PM, Adhemerval Zanella wrote:
>> +static char *
>> +getcanonname (service_user *nip, struct gaih_addrtuple *at, const char *name)
>> +{
>> + return strdup (name);
>> +}
> I think you need to use __strdup here, I am seeing check-local-plt failures on
> master.
On which architecture? I don't get see it on x86-64.
I can push a fix blindly (based on the headers, it indeed needs to be
__strdup).
Thanks,
Florian
More information about the Libc-alpha
mailing list