Bug#818178: libc6: getaddrinfo/freeadrinfo memory leak

2016-03-14 Thread Aurelien Jarno
On 2016-03-14 20:09, Samuel Thibault wrote: > Aurelien Jarno, on Mon 14 Mar 2016 20:01:44 +0100, wrote: > > While this is definitely a bug, the leakage happens only once per > > nameserver and per program, and doesn't increase with the number of > > calls to getaddrinfo. Moreover it is actually

Bug#818178: libc6: getaddrinfo/freeadrinfo memory leak

2016-03-14 Thread Samuel Thibault
Aurelien Jarno, on Mon 14 Mar 2016 20:01:44 +0100, wrote: > While this is definitely a bug, the leakage happens only once per > nameserver and per program, and doesn't increase with the number of > calls to getaddrinfo. Moreover it is actually useful to keep this > information up to the end of the

Bug#818178: libc6: getaddrinfo/freeadrinfo memory leak

2016-03-14 Thread Aurelien Jarno
control: tag -1 + confirmed control: severity -1 minor On 2016-03-14 15:54, Tim Ruehsen wrote: > Package: libc6 > Severity: important > > Dear Maintainer, > > getaddrinfo/freeaddrinfo seems to have a memory leak. > > Testcode: > #include > #include > #include > #include > #include > >

Bug#818178: libc6: getaddrinfo/freeadrinfo memory leak

2016-03-14 Thread Tim Ruehsen
Package: libc6 Severity: important Dear Maintainer, getaddrinfo/freeaddrinfo seems to have a memory leak. Testcode: #include #include #include #include #include int main(void) { struct addrinfo *addrinfo, hints; memset(, 0 ,sizeof(hints)); hints.ai_family =