From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19039 invoked by alias); 31 Oct 2014 06:02:53 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 18986 invoked by uid 48); 31 Oct 2014 06:02:49 -0000 From: "aoliva at sourceware dot 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at sourceware dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc assigned_to attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg00133.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D14498 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED CC| |aoliva at sourceware dot o= rg Assignee|unassigned at sourceware dot org |aoliva at sourcewar= e dot org --- Comment #7 from Alexandre Oliva --- Created attachment 7872 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D7872&action=3Dedit two patches in one, both fixing the problem We use some code from nss_files in nss_db, and nss_files' code used =E2=80= =9Ccontinue=E2=80=9D to skip a non-matching proto, but in nss_db this bypassed the code to advan= ce to the next entry. Both changes individually fix the problem; I'm undecide= d as to which one to go with, or maybe even go with both. Thoughts? --=20 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: 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: List-Subscribe: List-Post: List-Help: , 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" 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: In-Reply-To: References: 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=16001 --- Comment #5 from Alexandre Oliva --- 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.