#3955: regex checking crashes on long lines with UTF-8 locale
-----------------------------+----------------------
  Reporter:  thorsten        |      Owner:  mutt-dev
      Type:  defect          |     Status:  closed
  Priority:  major           |  Milestone:  1.8
 Component:  user interface  |    Version:  1.8.3
Resolution:  fixed           |   Keywords:  regex
-----------------------------+----------------------
Changes (by Kevin McCarthy <kevin@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"c4e507003aa0a06feff57a6b64205488822d7b5b"
 7106:c4e507003aa0]:
 {{{
 #!CommitTicketReference repository=""
 revision="c4e507003aa0a06feff57a6b64205488822d7b5b"
 Decrease regex failure stack limit. (closes #3955)

 When using alloca(), the built-in regexp library limited the failure
 stack to 20,000 entries.  This value is too large, and causes alloca()
 to segfault in the example provided in the ticket.

 Decrease the limit to 8000.

 Thanks to Thorsten Wißmann for the excellent bug report, which made
 debugging this much easier.
 }}}

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3955#comment:5>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to