[wp-trac] [WordPress Trac] #44532: Extreme memory leak related to wp_is_stream in wp-includes/functions.php in WordPress 4.9.7

WordPress Trac noreply at wordpress.org
Sat Jul 14 16:50:33 UTC 2018


#44532: Extreme memory leak related to wp_is_stream in wp-includes/functions.php in
WordPress 4.9.7
-----------------------------------------+---------------------
 Reporter:  timbowesohft                 |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  high                         |   Milestone:  4.9.8
Component:  Media                        |     Version:  4.9.7
 Severity:  major                        |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+---------------------

Comment (by pbiron):

 Replying to [comment:38 ddenev]:
 > The only thing that I still do not understand (and that was actually my
 initial question but I guess I did not state it well enough) is the
 following (and that is based purely on curiosity as 99% is pretty good
 success rate :)
 >
 > In what cases (the mentioned 1%) the `$path` variable will NOT be a file
 system path? Any potential scenarios and use cases?

 Some plugins may call WP core functions that eventually call
 `wp_is_stream()` with a URL as `$path`.  You may not have any such plugins
 active and so would never see that case.  Sorry I can't be more specific
 than that.

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


More information about the wp-trac mailing list