[Tickets #11671] Re: The dynamic view crashes on some Inboxes

bugs at horde.org bugs at horde.org
Mon Nov 26 19:26:31 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11671
------------------------------------------------------------------------------
  Ticket             | 11671
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | The dynamic view crashes on some Inboxes
  Queue              | IMP
  Version            | 6.0.1
  Type               | Bug
  State              | Not A Bug
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2012-11-26 12:26) wrote:

> The default pcre.recursion_limit in PHP is set to 100000.
> This value is too high for my setup, for an unknown reason. It may  
> be too high for other installations as well. This means that PHP  
> will crash before reaching that limit due to other limitations.

PHP is seriously broken if this somehow causes a segfault

It is generally accepted that addition of this recursion_limit was one  
of the worst core PHP changes that was made in the last few years.

> Not sure if Horde should change its default settings, but for people  
> running into the same problem, add this to the root .htaccess file:
> php_value pcre.recursion_limit 5000

5000 is **WAY** too low.  That value is going to cause all sorts of  
issues with any sort of even moderately complex regex that contains  
backreferences.  For that matter, 100000 is also arguably too low.





More information about the bugs mailing list