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

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 15 10:44:14 UTC 2010


#11903: insert_with_markers is not threadsafe
--------------------------+-------------------------------------------------
 Reporter:  strings28     |       Owner:  ryan       
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  Permalinks    |     Version:  2.9        
 Severity:  major         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
Changes (by miqrogroove):

  * keywords:  .htaccess, threads => needs-patch
  * milestone:  Unassigned => 3.0


Comment:

 I like this bug.  I don't like the patch for two reasons:  It doesn't
 prevent fopen() races.  It doesn't handle error recovery.

 I think the correct way to handle this is with flock() and no extra file.

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


More information about the wp-trac mailing list