public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/16574] New: Memory leak in _nss_dns_gethostbyname4_r with big DNS answer
@ 2014-02-13 11:51 schwab@linux-m68k.org
  2014-02-13 12:38 ` [Bug network/16574] " schwab@linux-m68k.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2014-02-13 11:51 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=16574

            Bug ID: 16574
           Summary: Memory leak in _nss_dns_gethostbyname4_r with big DNS
                    answer
           Product: glibc
           Version: 2.11
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org

When resolving both IPv4 and IPv6 and the answers from the DNS server are too
big to fit together in the supplied buffer then a new buffer for the second
answer is allocated by send_vc / send_dg, but _nss_dns_gethostbyname4_r fails
to deallocate it.  This is the only place where the resolver functions are
called in such a way that they may work with two buffers.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug network/16574] Memory leak in _nss_dns_gethostbyname4_r with big DNS answer
  2014-02-13 11:51 [Bug network/16574] New: Memory leak in _nss_dns_gethostbyname4_r with big DNS answer schwab@linux-m68k.org
@ 2014-02-13 12:38 ` schwab@linux-m68k.org
  2014-02-19 10:53 ` schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2014-02-13 12:38 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=16574

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.20

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
http://permalink.gmane.org/gmane.comp.lib.glibc.alpha/39632

Fixed by d668061.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug network/16574] Memory leak in _nss_dns_gethostbyname4_r with big DNS answer
  2014-02-13 11:51 [Bug network/16574] New: Memory leak in _nss_dns_gethostbyname4_r with big DNS answer schwab@linux-m68k.org
  2014-02-13 12:38 ` [Bug network/16574] " schwab@linux-m68k.org
@ 2014-02-19 10:53 ` schwab@linux-m68k.org
  2014-02-19 13:40 ` schwab@linux-m68k.org
  2014-06-13  8:38 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2014-02-19 10:53 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=16574

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
The patch was wrong.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug network/16574] Memory leak in _nss_dns_gethostbyname4_r with big DNS answer
  2014-02-13 11:51 [Bug network/16574] New: Memory leak in _nss_dns_gethostbyname4_r with big DNS answer schwab@linux-m68k.org
  2014-02-13 12:38 ` [Bug network/16574] " schwab@linux-m68k.org
  2014-02-19 10:53 ` schwab@linux-m68k.org
@ 2014-02-19 13:40 ` schwab@linux-m68k.org
  2014-06-13  8:38 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2014-02-19 13:40 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=16574

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
Properly fixed by ab09bf6.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug network/16574] Memory leak in _nss_dns_gethostbyname4_r with big DNS answer
  2014-02-13 11:51 [Bug network/16574] New: Memory leak in _nss_dns_gethostbyname4_r with big DNS answer schwab@linux-m68k.org
                   ` (2 preceding siblings ...)
  2014-02-19 13:40 ` schwab@linux-m68k.org
@ 2014-06-13  8:38 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13  8:38 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security+

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-13  8:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-13 11:51 [Bug network/16574] New: Memory leak in _nss_dns_gethostbyname4_r with big DNS answer schwab@linux-m68k.org
2014-02-13 12:38 ` [Bug network/16574] " schwab@linux-m68k.org
2014-02-19 10:53 ` schwab@linux-m68k.org
2014-02-19 13:40 ` schwab@linux-m68k.org
2014-06-13  8:38 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).