[wp-trac] [WordPress Trac] #52241: Infinite loop in clean_dirsize_cache()

WordPress Trac noreply at wordpress.org
Fri Oct 8 19:02:55 UTC 2021


#52241: Infinite loop in clean_dirsize_cache()
--------------------------------------------+-----------------------------
 Reporter:  raubvogel                       |       Owner:  hellofromTonya
     Type:  defect (bug)                    |      Status:  assigned
 Priority:  normal                          |   Milestone:  5.9
Component:  Filesystem API                  |     Version:  5.6
 Severity:  major                           |  Resolution:
 Keywords:  has-patch early has-unit-tests  |     Focuses:  multisite
--------------------------------------------+-----------------------------

Comment (by jrf):

 FYI: as a side-effect of the debug effort related to this ticket, a PR has
 been opened for the PHP Core Manual to warn about the use of `dirname()`
 in a loop in a Windows context and the risk of getting into an infinite
 loop.
 Ref: https://github.com/php/doc-en/pull/1005

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52241#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list