public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "aoliva at sourceware dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/14498] default /var/db/services.db triggers infinite CPU loop with getaddrinfo()
Date: Fri, 31 Oct 2014 06:02:00 -0000 [thread overview]
Message-ID: <bug-14498-131-c2RUSdI3ky@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-14498-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=14498
Alexandre Oliva <aoliva at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |ASSIGNED
CC| |aoliva at sourceware dot org
Assignee|unassigned at sourceware dot org |aoliva at sourceware dot org
--- Comment #7 from Alexandre Oliva <aoliva at sourceware dot org> ---
Created attachment 7872
--> https://sourceware.org/bugzilla/attachment.cgi?id=7872&action=edit
two patches in one, both fixing the problem
We use some code from nss_files in nss_db, and nss_files' code used “continue”
to skip a non-matching proto, but in nss_db this bypassed the code to advance
to the next entry. Both changes individually fix the problem; I'm undecided as
to which one to go with, or maybe even go with both. Thoughts?
--
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-26498-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Oct 31 07:14:04 2014
Return-Path: <glibc-bugs-return-26498-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 17902 invoked by alias); 31 Oct 2014 07:14:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 17786 invoked by uid 48); 31 Oct 2014 07:13:58 -0000
From: "aoliva at sourceware dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/16001] calls to getaddrinfo() leak memory.
Date: Fri, 31 Oct 2014 07:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aoliva at sourceware dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16001-131-iJeyf7aXcE@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16001-131@http.sourceware.org/bugzilla/>
References: <bug-16001-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg00134.txt.bz2
Content-length: 439
https://sourceware.org/bugzilla/show_bug.cgi?id\x16001
--- Comment #5 from Alexandre Oliva <aoliva at sourceware dot org> ---
If I were to do that, how would the testcase report the memory leak? The bug
report doesn't say that, and I don't see anything in the testcase that covers
that either.
Could this possibly have been fixed by the patch for bug 16002?
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2014-10-31 6:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-20 3:26 [Bug network/14498] New: " vapier at gentoo dot org
2012-12-30 20:07 ` [Bug network/14498] " cloos at jhcloos dot com
2013-01-15 11:04 ` schwab@linux-m68k.org
2013-01-15 17:51 ` vapier at gentoo dot org
2013-01-15 18:36 ` vapier at gentoo dot org
2013-01-15 18:37 ` vapier at gentoo dot org
2013-01-15 18:38 ` vapier at gentoo dot org
2013-01-15 18:42 ` vapier at gentoo dot org
2014-06-25 6:49 ` fweimer at redhat dot com
2014-10-31 6:02 ` aoliva at sourceware dot org [this message]
2014-11-21 5:42 ` cvs-commit at gcc dot gnu.org
2014-11-21 6:27 ` aoliva at sourceware dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-14498-131-c2RUSdI3ky@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=glibc-bugs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).