[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 12:44:39 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 ddenev):

 I can confirm that the provided patch DOES indeed solve the crashes.

 I enabled debug mode with XDebug and set a breakpoint after the return
 statement to check if it will be hit. I did testing for half a day and the
 breakpoint was never hit, so it looks promising.

 What would be the scenarios in which
 {{{#!php
 if ( false === strpos( $path, '://' ) )
 }}}
 would return true and then we will have the crashes again?

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


More information about the wp-trac mailing list