[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
Wed Jul 11 19:00:50 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     |     Focuses:
--------------------------+---------------------
Changes (by JPry):

 * keywords:  needs-patch => has-patch


Comment:

 Replying to [comment:17 ddenev]:
 > 1. Apply the workaround in the link I provided above

 Hard-coding the stream wrappers is not the best solution. You could be
 breaking functionality that a plugin is relying on.

 > 2. Stop automatic updates by adding define( 'WP_AUTO_UPDATE_CORE', false
 ); to wp-config.php

 You should only do this if you remember to remove it later. Disabling auto
 updates is usually not a good option, especially since 4.9.7 is a security
 release, not just a bug fix release.

 > 3. Wait for a proper fix

 For those experiencing the issues, can you confirm whether the attached
 patch fixes your issues? I believe the issue actually stems from the call
 to `preg_match()`.

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


More information about the wp-trac mailing list