This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] getaddrinfo: Always allocate canonical name on the heap
On 02/06/2017 11:37, Florian Weimer wrote:
> On 06/02/2017 04:10 PM, Adhemerval Zanella wrote:
>> I noticed on x86_64 (gcc 5.4), powerpc64le (gcc 5.4), aarch64 (gcc 4.9.2),
>> and sparc64 (gcc 6.3.1). My guess is newer GCC versions are inline it.
> Fair enough. What about the attached patch? I spotted one missing heap
> allocation (which is not visible as a bug because the code doesn't try
> to pass the pointer to free), and included that as well.