[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 20:02:12 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:
--------------------------+---------------------
Comment (by ddenev):
I can confirm that the provided patch **does NOT** solve the problem for
me. PHP still crashes, this time the error in the debug.log is:
{{{
PHP Fatal error: Possible integer overflow in memory allocation (4 *
6661789698600755555 + 32) in wp-includes\functions.php on line 5237
}}}
5237 is the line where this code is:
{{{#!php
$wrapper = preg_quote( $wrapper, '!' );
}}}
I also get an error in the Windows event log:
{{{
Faulting application name: httpd.exe, version: 2.4.33.0, time stamp:
0x5abb6dc6
Faulting module name: php7ts.dll, version: 7.1.19.0, time stamp:
0x5b2aeea0
Exception code: 0xc0000005
Fault offset: 0x000000000012e030
Faulting process id: 0x4580
Faulting application start time: 0x01d419513cc36a2e
Faulting application path: D:\Applications\Apache\bin\httpd.exe
Faulting module path: D:\Applications\PHP7\php7ts.dll
Report Id: 83af3ff0-8544-11e8-9f0f-005056c00008
}}}
**Note**: if you use OPCache, you need to restart Apache so that the
changes take effect.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44532#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list