This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]