Skip to content
  • Kevin J. McCarthy's avatar
    Decrease regex failure stack limit. (closes #3955) · 367b012a
    Kevin J. McCarthy authored
    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.
    367b012a