[wp-trac] [WordPress Trac] #12690: Square brackets breaking links that contain square brackets
WordPress Trac
noreply at wordpress.org
Wed Jul 23 13:42:51 UTC 2014
#12690: Square brackets breaking links that contain square brackets
-----------------------------------+-----------------------------
Reporter: iandstewart | Owner: wonderboymusic
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.0
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: wptexturize has-patch | Focuses:
-----------------------------------+-----------------------------
Comment (by soulseekah):
Replying to [comment:31 kovshenin]:
> r28727 has too much backtracking which can cause segfaults in libpcre.
To add to the discussion on segfaults in libpcre:
https://lists.exim.org/lurker/message/20100430.100815.4f7be374.en.html
(especially point number 4)
Basically it's a stack overflow due to too much recursion.
Setting `ulimit -s 65535` will increase the stack size on the machine. But
still, a large enough string will eventually overflow. Setting a good
`backtrack_limit` to a reasonable value would prevent PHP from faulting at
least, although it's probably difficult to find a good limit since it's
not the count that matters but rather the amount of memory on the stack.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12690#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list