This is the mail archive of the glibc-bugs@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]

[Bug network/19865] Assertion failure or memory leak in _nss_dns_getcanonname_r


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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Memory leak in              |Assertion failure or memory
                   |_nss_dns_getcanonname_r     |leak in
                   |                            |_nss_dns_getcanonname_r

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
With assertions enabled I, get instead:

tst-canonname: res_query.c:226: __libc_res_nquery: Assertion `answerp == NULL
|| (void *) *answerp == (void *) answer' failed.

This is not a regression introduced by the fix for bug 18665.  The line number
above corresponds to commit 2c8f75f79bd6f3f4b3400a9f1a01a75e3086006b.

This is further evidence that the function is dead code.

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

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