[wp-trac] [WordPress Trac] #16892: make_clickable segfault

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 19 12:22:02 UTC 2011


#16892: make_clickable segfault
--------------------------+------------------------------
 Reporter:  westi         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by hakre):

 Replying to [comment:7 westi]:
 > The segfault only occurs when you have enough of the urls in the comment
 for it to trigger - reduce the number of urls and the segfault goes away.

 Then you're triggering some boundary on your system most probably. PHP
 should do an error instead I think.

 I don't have this problem with your script, when I
 `make_clickable($comment.$comment);` (double the comment), I get a
 internal server error.

 Looks like that this is PHP error (triggered by an error in libpcre).

 Have you reported this upstream for PHP pcre / libpcre?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16892#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list