From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E2023857C5B; Tue, 4 Oct 2022 22:44:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E2023857C5B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664923448; bh=Uz1O+rRDC1SayY+wdNW2ZKA0j8zcY3lI5UrZLNSJz/U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jjuqqUxhtmi6UuvlEl895mRSPYJA/ddYM5vvyOWY3IzHUNjD/v7gwEdjLvcaVizJG 1QcLXE85u2VNX8U8mmPO5jHxJODRiufoEKqTW+txapIVKnkfU78mNkVFym6+yET6S8 BGfKH0Jf+88h7J+5ujVzVf4g1DEzRVks+VejLMlc= From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug nscd/29607] nscd repeatably crashes calling __strlen_avx2 when hosts cache is enabled Date: Tue, 04 Oct 2022 22:44:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nscd X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: siddhesh at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: 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=3D29607 --- Comment #17 from cvs-commit at gcc dot gnu.org --- The release/2.36/master branch has been updated by Siddhesh Poyarekar : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D2bd815d8347851212b9= a91dbdca8053f4dbdac87 commit 2bd815d8347851212b9a91dbdca8053f4dbdac87 Author: Siddhesh Poyarekar Date: Tue Oct 4 18:43:50 2022 -0400 nscd: Drop local address tuple variable [BZ #29607] When a request needs to be resent (e.g. due to insufficient buffer space), the references to subsequent tuples in the local variable are stale and should not be used. This used to work by accident before, but since 1d495912a it no longer does. Instead of trying to reset it, just let gethostbyname4_r write into TUMPBUF6 for us, thus maintaining a consistent state at all times. This is now consistent with what is done in gaih_inet for getaddrinfo. Resolves: BZ #29607 Reported-by: Holger Hoffst=C3=A4tte Tested-by: Holger Hoffst=C3=A4tte Reviewed-by: Carlos O'Donell (cherry picked from commit 6e33e5c4b73cea7b8aa3de0947123db16200fb65) --=20 You are receiving this mail because: You are on the CC list for the bug.=