This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix memory leak in _nss_dns_gethostbyname4_r with big DNS answer
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 13 Feb 2014 13:28:26 +0100
- Subject: Re: [PATCH] Fix memory leak in _nss_dns_gethostbyname4_r with big DNS answer
- Authentication-results: sourceware.org; auth=none
- References: <mvmeh371awf dot fsf at hawking dot suse dot de>
On Thu, Feb 13, 2014 at 12:59:12PM +0100, Andreas Schwab wrote:
> As described in the BZ big DNS answers that trigger the allocation of a
> second answer buffer causes the allocation to be lost by the nss_dns
> module. In the failure case the deallocation is already handled by
> __libc_res_nsearch.
>
> Andreas.
>
looks ok.