[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
Mon Jul 16 20:56:14 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:41 itowhid06]:
> Is it possible that a filepath is being passed as "file://path/file.ext"
?
> In that case the following code won't execute and we are back to square
one!
> {{{
> if ( false === strpos( $path, '://' ) ) {
> return false;
> }
> }}}
Good catch! Nothing in core does so, but there is always the possibility
that plugins do.
I'll have to think about the cleanest way to check for that case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44532#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list