From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B1F49382F990; Fri, 7 Oct 2022 14:34:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B1F49382F990 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665153281; bh=L15rZOndQR5YxPj8VyZnkNu7hOze+ZhRtbMU26OYTy4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=naSmqMZbgxLFGBFii9HLWRwWbzzNO3XlLyrNBIWRnmNAWbRAo42hLKgpKcPY9LuRt Ou21Y/i0LXNU8zwGLbCE7YrKaiw02qm3Or9xhquNgHjn4/Hx2lnmxrfhPIL30cNMOC 0OZ4IGnvNO3TBgInMLlRU9LYZFpWLsUr6JcEMSyA= 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: Fri, 07 Oct 2022 14:34:41 +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: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: siddhesh at sourceware dot org X-Bugzilla-Target-Milestone: 2.37 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 #20 from cvs-commit at gcc dot gnu.org --- The release/2.34/master branch has been updated by Arjun Shankar : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3De3976287b22422787f3= cc6fc9adda58304b55bd9 commit e3976287b22422787f3cc6fc9adda58304b55bd9 Author: Siddhesh Poyarekar Date: Tue Oct 4 18:40:25 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.=