[PATCH COMMITTED] nss_dns: Remove superfluous dn_expand call from network handling

Florian Weimer fweimer@redhat.com
Wed Apr 5 06:51:00 GMT 2017


On 04/04/2017 10:15 PM, Andreas Schwab wrote:
> On Apr 04 2017, fweimer@redhat.com (Florian Weimer) wrote:
>
>> 	* resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
>> 	call whose result is not used.
>
> What about the side effect?

The result buffer is overwritten by the subsequent ns_name_ntop call.

Thanks,
Florian



More information about the Libc-alpha mailing list