From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 99FC73858437; Tue, 20 Sep 2022 11:07:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 99FC73858437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663672057; bh=mCFnjKXrKPdNDZ8Y37IRptoUTd3XwqFjFwOJ0CqxUSo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KD+H8pDMvFl9fcVZBFH94BQU46u9EXIKZi5As8/x/phMicsUtF88Vfz5MOmDnkSWf W+pSnRIB0pNgDc7XOu/6w4iW+H6ljPgWmdf6MVAoZ954J6wpvIGzmvh5nx60mKCKnC znPQ+6eNl0pQzBVfaPWAVBhyNLY5M6yPfNVLVRyY= From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug network/29305] Inefficient buffer space usage in nss_dns for gethostbyname and other functions Date: Tue, 20 Sep 2022 11:07:35 +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: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.37 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29305 --- Comment #5 from cvs-commit at gcc dot gnu.org --- The release/2.35/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3Dee74c14325a1d6577dd= 55cc314832d684ddecf68 commit ee74c14325a1d6577dd55cc314832d684ddecf68 Author: Florian Weimer Date: Tue Aug 30 10:02:49 2022 +0200 nss_dns: Rewrite getanswer_r to match getanswer_ptr (bug 12154, bug 293= 05) Allocate the pointer arrays only at the end, when their sizes are known. This addresses bug 29305. Skip over invalid names instead of failing lookups. This partially fixes bug 12154 (for gethostbyname, fixing getaddrinfo requires different changes). Reviewed-by: Siddhesh Poyarekar (cherry picked from commit d101d836e7e4bd1d4e4972b0e0bd0a55c9b650fa) --=20 You are receiving this mail because: You are on the CC list for the bug.=