com php-src: Fixed bug #70656 (require() statement broken after opcache_reset() or a few hours of use): ext/opcache/ZendAccelerator.c

From: Date: Sun, 08 Nov 2015 01:32:58 +0000
Subject: com php-src: Fixed bug #70656 (require() statement broken after opcache_reset() or a few hours of use): ext/opcache/ZendAccelerator.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89706@lists.php.net to get a copy of this message
Commit: c600bdcb79af7582c9de526ba569ac26515a9f62 Author: Xinchen Hui <laruence@gmail.com> Mon, 26 Oct 2015 17:28:19 -0700 Committer: Anatol Belski <ab@php.net> Sun, 8 Nov 2015 02:32:58 +0100 Parents: b29501f5873878562b27996d4deaf740ca1f3d05 Branches: PHP-7.0.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c600bdcb79af7582c9de526ba569ac26515a9f62 Log: Fixed bug #70656 (require() statement broken after opcache_reset() or a few hours of use) Bugs: https://bugs.php.net/70656 Changed paths: M ext/opcache/ZendAccelerator..c Diff: diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 14dce59..8f79246 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -249,6 +249,8 @@ static void accel_interned_strings_restore_state(void) uint nIndex; Bucket *p; + memset(ZCSG(interned_strings_saved_top), + 0, ZCSG(interned_strings_top) - ZCSG(interned_strings_saved_top)); ZCSG(interned_strings_top) = ZCSG(interned_strings_saved_top); while (idx > 0) { idx--;

« previous php.cvs (#89706) next »