[wp-trac] [WordPress Trac] #29557: PHP ≤ 5.4.8 Crashes on '[' Character in Posts

WordPress Trac noreply at wordpress.org
Sat Sep 13 02:12:50 UTC 2014


#29557: PHP ≤ 5.4.8 Crashes on '[' Character in Posts
-----------------------------------+--------------------
 Reporter:  MrBobDobolina          |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  highest omg bbq        |   Milestone:  4.0.1
Component:  Formatting             |     Version:  4.0
 Severity:  blocker                |  Resolution:
 Keywords:  wptexturize has-patch  |     Focuses:
-----------------------------------+--------------------

Comment (by miqrogroove):

 Replying to [comment:48 miqrogroove]:
 > I can't yet explain why some people seem to be having better luck with
 the .5 patch than the .4 patch.  My comparison of the two is inconclusive,
 but I'm comfortable using the .5 patch based on the results so far.

 Found the answer to that now.  The .4 patch did not include the second
 possessive quantifier, and without it the number of backtracks skyrockets
 to the order of 1000 in my test case.  So if we need an alternative patch
 for some reason, that would be a possible tweak.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29557#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list