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

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 10 13:42:17 UTC 2012


#16892: make_clickable segfault
-------------------------------------------------+-------------------------
 Reporter:  westi                                |       Owner:  duck_
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  3.4
Component:  Formatting                           |     Version:  3.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-testing 3.4-early    |
  westi-likes                                    |
-------------------------------------------------+-------------------------
Changes (by duck_):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [19899]:
 {{{
 #!CommitTicketReference repository="" revision="19899"
 Improve efficiency of make_clickable(). Props mdawaffe. Fixes #16892.

 Not only does this improve general performance, but also helps to prevent
 segfaults caused by malicious input to the regular expression. The regular
 expression is also simplified to help readability and maintenance.
 }}}

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


More information about the wp-trac mailing list