From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ACE39382F9BC; Fri, 7 Oct 2022 14:34:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACE39382F9BC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665153260; bh=j3C03WZaPxiOSJnREgW+55WslcYjwxoC9QgnhCKUMac=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oWaN4qm+G0NDU7eEI1GWixynUguu5dqiQQ1sUARMYF6thPVDVATwzSx6ZQE7yZijr by2x9KvUN7f15uGjxrR48xfSqfooZDd/l/AR1e7OReCo5ziDt0+twHuR8qfoMsDN1a dpDRj9XH2Xnc2zeAa75Djo9xWOM03i0Lhaba9aSM= 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:19 +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 #19 from cvs-commit at gcc dot gnu.org --- The release/2.35/master branch has been updated by Arjun Shankar : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3Dbca80a916e1a7fda51d= 0f30e9cfb5b111f8a2a7a commit bca80a916e1a7fda51d0f30e9cfb5b111f8a2a7a 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.=