[Bug network/19257] New: Per-thread memory leak in __res_vinit with IPv6 nameservers

mschiffer+misc@universe-factory.net sourceware-bugzilla@sourceware.org
Wed Nov 18 02:30:00 GMT 2015


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

            Bug ID: 19257
           Summary: Per-thread memory leak in __res_vinit with IPv6
                    nameservers
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: mschiffer+misc@universe-factory.net
  Target Milestone: ---

The sockaddr_in6 allocated in resolv/res_init.c:317 is not freed, leaking 28
bytes per thread using the resolver (according to valgrind).

This is a regression in glibc 2.22, probably caused by commit
2212c1420c92a33b0e0bd9a34938c9814a56c0f7 "Simplify handling of nameserver
configuration in resolver".

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


More information about the Glibc-bugs mailing list