From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 80E8D3858C55; Thu, 8 Sep 2022 12:36:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80E8D3858C55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1662640561; bh=mCbx2vWTmoTfKDUXL6KdrC22huhUAGs+ZPYFp3v7mH4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KjX9Sx+d6zL8HnMscd08PWbER2R7oTb0cZhi2HPFthvLVeNb6hvpaOWmdN86BNVYr ux2Q9pF5MCDAw+LIoib1UIKGDj061j4YeiJlHUXDlJAHnfw2xEuF6Go751FU3u112c X+/Do0Zrjx9TZJMob4NLBHqZ86yuQyfHFJbploFY= From: "vincent-srcware at vinc17 dot net" To: glibc-bugs@sourceware.org Subject: [Bug regex/17356] regex assertion violation with triple backreferences Date: Thu, 08 Sep 2022 12:36:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: regex X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-srcware at vinc17 dot net X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc 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=3D17356 Vincent Lef=C3=A8vre changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vincent-srcware at vinc17 = dot net --- Comment #4 from Vincent Lef=C3=A8vre --- (In reply to eggert from comment #3) > Apparently I was incorrect when I wrote that this was a duplicate of > Bug#11053 as that other bug is fixed but this one is not. More precisely, the assertion violation was Bug#11053, which is fixed in gl= ibc 2.35, but the test now fails: it gives no matches, while there should be a match, since the regexp matches the empty string. Test with grep: vinc17@gcc92:~$ echo 'a' | grep -E '(.{0,1})(.{0,1})\2\1' a vinc17@gcc92:~$ echo 'a' | grep -E '(.{0,1})(.{0,1})(.{0,1})\3\2\1' vinc17@gcc92:~$=20 (with only 2 backreferences, this is OK, but not with 3). The bug could be retitled. --=20 You are receiving this mail because: You are on the CC list for the bug.=