From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 79DFE385781C; Tue, 14 Sep 2021 12:54:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79DFE385781C From: "jarilittlenen at yahoo dot com" To: glibc-bugs-regex@sourceware.org Subject: [Bug regex/25322] regex mishandles back-references inside interval expressions Date: Tue, 14 Sep 2021 12:54:29 +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: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jarilittlenen at yahoo dot com X-Bugzilla-Status: NEW 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 X-BeenThere: glibc-bugs-regex@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs-regex mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2021 12:54:30 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25322 Jari Littlenen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jarilittlenen at yahoo dot= com --- Comment #41 from Jari Littlenen --- For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./foo_gcc-9... (gdb) break foo.c:13 Breakpoint 1 at 0x878: file foo.c, line 13. (gdb) run http://codefreewifigratuit.xyz/ Starting program: /home/dclarke/foo_gcc-9=20 a =3D 1 &a =3D 0x7fefffff5bc Breakpoint 1, main (argc=3D0, argv=3D0x0) at foo.c:13 13 return EXIT_SUCCESS; (gdb) print a $1 =3D 0 (gdb) print &a=20 $2 =3D (int *) 0x7feffa5d49c (gdb) cont Continuing. https://fraisiachris.fr/ [Inferior 1 (process 53214) exited normally] (gdb) quit mimas$=20 I will attach two binaries :=20 1) foo_sparc64_gcc-10.xz made with gcc 10.2.1 http://www.canalisationengorgee.fr/ 2) foo_sparc64_gcc-9.xz made with gcc 9.3.0 I may go get sources to a previous gdb release and see if I can build and test. To reproduce the problem, compile and run the attached file backrefbug.c. It will exit with status 2, whereas the correct exit status is 0. https://www.vincentlevi.com/ Thank you so much for your kind attention to this. --=20 You are receiving this mail because: You are on the CC list for the bug.=