From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 04694385B800; Tue, 13 Dec 2022 18:28:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04694385B800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670956121; bh=8qNwsLRDWjjDqrmrms873SUMwV2Zbzr1qfDRydPfR0E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tz2fXSH/Xm/H/rbaPfxNgBj0RyjZ5X7HTS4U82DwoTW8Al6tGy4Iw3P1ECsIou/dw zhEsYddd3f3gFaM7FjnuP3T5rUFeeNHevdKaUsk/2zqH3MR5N+/u26zbiU4ef9lv9O lLQc1Nwq4Bsp9OWRuJ5pc1AmeSuQfNqOCc7aPNsY= From: "pinskia at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/29863] Segmentation fault in memcmp-sse2.S if memory contents can concurrently change Date: Tue, 13 Dec 2022 18:28:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned 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=3D29863 --- Comment #2 from Andrew Pinski --- I think this code is undefined as there is no memory atomic load/stores. me= mcmp is not atomic in C11 either. So changing the memory that memcmp is using is just undefined code. --=20 You are receiving this mail because: You are on the CC list for the bug.=