From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9DBC9385842B; Mon, 18 Oct 2021 22:07:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9DBC9385842B From: "eggert at cs dot ucla.edu" To: glibc-bugs-regex@sourceware.org Subject: [Bug regex/28470] New: Buffer read overrun in regular expression searching Date: Mon, 18 Oct 2021 22:07:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: regex X-Bugzilla-Version: 2.34 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eggert at cs dot ucla.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: eggert at cs dot ucla.edu X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: 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: Mon, 18 Oct 2021 22:07:19 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28470 Bug ID: 28470 Summary: Buffer read overrun in regular expression searching Product: glibc Version: 2.34 Status: NEW Severity: normal Priority: P2 Component: regex Assignee: eggert at cs dot ucla.edu Reporter: eggert at cs dot ucla.edu CC: drepper.fsp at gmail dot com Target Milestone: --- Created attachment 13724 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13724&action=3Ded= it Patch glibc read buffer overrun in re_search_internal The glibc regular expression matcher can overrun a read buffer when ignoring case in a multibyte locale. Patch attached. I do not have a test case; I suppose a test case could be derived from Benno's email, cited in the patch. --=20 You are receiving this mail because: You are on the CC list for the bug.=