[Bug libc/21336] __libc_res_nsearch() leak?

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Tue Apr 4 13:18:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21336

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Rob Krakora from comment #0)
> 		if (answerp && *answerp != answer) {
> 			answer = *answerp;
> 			anslen = MAXPACKET;
> 		}

I don't see how this could make a difference because the answer and anslen
variables are dead at this point.

> ...a leak occurred in this spot in eglibc 2.19 provided by openembedded for
> Yocto Daisy...

Can you provide more information how to reproduce the leak?  Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list