com php-src: Prevented unintended SHM modification: ext/opcache/zend_accelerator_util_funcs.c
| From: | Dmitry Stogov | Date: | Wed, 16 Apr 2014 17:01:11 +0000 |
| Subject: | com php-src: Prevented unintended SHM modification: ext/opcache/zend_accelerator_util_funcs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77367@lists.php.net to get a copy of this message | ||
Commit: 05817f1a9393f225a3a4a690de4caf9b3458b3cc
Author: Dmitry Stogov <dmitry@zend.com> Wed, 16 Apr 2014 21:01:11 +0400
Parents: a9aa5224e7a02a1a15097e5d310a1bc79f1fa560
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=05817f1a9393f225a3a4a690de4caf9b3458b3cc
Log:
Prevented unintended SHM modification
Changed paths:
M ext/opcache/zend_accelerator_util_funcs.c
Diff:
diff --git a/ext/opcache/zend_accelerator_util_funcs.c b/ext/opcache/zend_accelerator_util_funcs.c
index 08051b4..51051dd 100644
--- a/ext/opcache/zend_accelerator_util_funcs.c
+++ b/ext/opcache/zend_accelerator_util_funcs.c
@@ -409,7 +409,6 @@ static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind)
q->key = NULL;
} else {
q->key = zend_clone_str(p->key TSRMLS_CC);
- GC_FLAGS(q->key) = GC_FLAGS(p->key);
}
/* Copy data */