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] Fix resource leak in resolver (bug 19257)


On 02/09/2016 02:00 PM, Andreas Schwab wrote:
> Florian Weimer <fweimer@redhat.com> writes:
> 
>> On 02/09/2016 12:40 PM, Andreas Schwab wrote:
>>> The number of currently defined nameservers is stored in ->nscount,
>>> whereas ->_u._ext.nscount is set by __libc_res_nsend only after local
>>> initializations.
>>
>> Is it possible to test this without a chroot?
> 
> I don't know how.  You need at least one IPv6 nameserver in
> /etc/resolv.conf to trigger the leak.

I posted a patch to help with testing:

  https://sourceware.org/ml/libc-alpha/2016-02/msg00376.html

Florian


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