public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/28470] New: Buffer read overrun in regular expression searching
@ 2021-10-18 22:07 eggert at cs dot ucla.edu
  2021-10-18 22:07 ` [Bug regex/28470] " eggert at cs dot ucla.edu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: eggert at cs dot ucla.edu @ 2021-10-18 22:07 UTC (permalink / raw)
  To: glibc-bugs-regex

https://sourceware.org/bugzilla/show_bug.cgi?id=28470

            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=13724&action=edit
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug regex/28470] Buffer read overrun in regular expression searching
  2021-10-18 22:07 [Bug regex/28470] New: Buffer read overrun in regular expression searching eggert at cs dot ucla.edu
@ 2021-10-18 22:07 ` eggert at cs dot ucla.edu
  2021-10-21 13:05 ` schwab@linux-m68k.org
  2021-11-24 22:31 ` eggert at cs dot ucla.edu
  2 siblings, 0 replies; 4+ messages in thread
From: eggert at cs dot ucla.edu @ 2021-10-18 22:07 UTC (permalink / raw)
  To: glibc-bugs-regex

https://sourceware.org/bugzilla/show_bug.cgi?id=28470

eggert at cs dot ucla.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug regex/28470] Buffer read overrun in regular expression searching
  2021-10-18 22:07 [Bug regex/28470] New: Buffer read overrun in regular expression searching eggert at cs dot ucla.edu
  2021-10-18 22:07 ` [Bug regex/28470] " eggert at cs dot ucla.edu
@ 2021-10-21 13:05 ` schwab@linux-m68k.org
  2021-11-24 22:31 ` eggert at cs dot ucla.edu
  2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2021-10-21 13:05 UTC (permalink / raw)
  To: glibc-bugs-regex

https://sourceware.org/bugzilla/show_bug.cgi?id=28470

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Please provide a test case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug regex/28470] Buffer read overrun in regular expression searching
  2021-10-18 22:07 [Bug regex/28470] New: Buffer read overrun in regular expression searching eggert at cs dot ucla.edu
  2021-10-18 22:07 ` [Bug regex/28470] " eggert at cs dot ucla.edu
  2021-10-21 13:05 ` schwab@linux-m68k.org
@ 2021-11-24 22:31 ` eggert at cs dot ucla.edu
  2 siblings, 0 replies; 4+ messages in thread
From: eggert at cs dot ucla.edu @ 2021-11-24 22:31 UTC (permalink / raw)
  To: glibc-bugs-regex

https://sourceware.org/bugzilla/show_bug.cgi?id=28470

eggert at cs dot ucla.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.35
             Status|WAITING                     |RESOLVED

--- Comment #2 from eggert at cs dot ucla.edu ---
I installed the patch and am resolving the bug as fixed. Unfortunately I don't
have a test case (not always trivial for read overruns).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-24 22:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18 22:07 [Bug regex/28470] New: Buffer read overrun in regular expression searching eggert at cs dot ucla.edu
2021-10-18 22:07 ` [Bug regex/28470] " eggert at cs dot ucla.edu
2021-10-21 13:05 ` schwab@linux-m68k.org
2021-11-24 22:31 ` eggert at cs dot ucla.edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).