[wp-trac] [WordPress Trac] #36184: Eternal loop under certain conditions

WordPress Trac noreply at wordpress.org
Fri Mar 10 23:06:56 UTC 2023


#36184: Eternal loop under certain conditions
----------------------------+--------------------------
 Reporter:  Mikk3lRo        |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Filesystem API  |     Version:  4.4.2
 Severity:  normal          |  Resolution:  duplicate
 Keywords:  has-patch       |     Focuses:  performance
----------------------------+--------------------------
Changes (by costdev):

 * status:  reopened => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 This appears to have been fixed in [42801], which stops the `while` loop
 when `dirname( $target_parent ) === $target_parent`, i.e. `dirname( '/' )
 === '/'`.

 While this ticket is older, I'll close this as a duplicate of #43417 as
 it's been resolved.

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


More information about the wp-trac mailing list