[wp-trac] [WordPress Trac] #11903: insert_with_markers is not threadsafe

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 15 06:32:20 UTC 2010


#11903: insert_with_markers is not threadsafe
--------------------------+-------------------------------------------------
 Reporter:  strings28     |       Owner:  ryan              
     Type:  defect (bug)  |      Status:  new               
 Priority:  normal        |   Milestone:  Unassigned        
Component:  Permalinks    |     Version:  2.9               
 Severity:  major         |    Keywords:  .htaccess, threads
--------------------------+-------------------------------------------------

Comment(by strings28):

 As an added note the patch file is what I have used on one server that was
 seeing a corrupted .htaccess file (and thus a 500 error) multiple times a
 week and it didn't matter which PHP configuration we setup our bluehost
 account with, the corruption took place.  By using lock files it returns
 early - I also setup an adaptation of the mark string, which could
 possibly be adjusted to use the wp-prefix variable so as to help make it
 more obvious to those looking at the file that it is being inserted by a
 unique Wordpress installation.

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


More information about the wp-trac mailing list