com php-src: Merge branch 'PHP-7.3' into PHP-7.4: NEWS Zend/zend_closures.c
| From: | Nikita Popov | Date: | Wed, 09 Oct 2019 15:00:55 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.3' into PHP-7.4: NEWS Zend/zend_closures.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108831@lists.php.net to get a copy of this message | ||
Commit: 91eb6324728e576b65ff0d55672bc77ac104af9b
Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 9 Oct 2019 17:00:47 +0200
Parents: a4d7f4c3e17431d6229a15d4218d1c91eb69ed6c 6fd6ad8f53f68154fa23de25f400d89ae29d54d0
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=91eb6324728e576b65ff0d55672bc77ac104af9b
Log:
Merge branch 'PHP-7.3' into PHP-7.4
Changed paths:
MM NEWS
MM Zend/zend_closures.c
Diff:
diff --cc NEWS
index 2a54015954d,e96d88f4c1c..43791a4b7e9
--- a/NEWS
+++ b/NEWS
@@@ -1,19 -1,10 +1,20 @@@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? ????, PHP 7.3.12
+?? ??? ????, PHP 7.4.0RC4
- Core:
+ . Fixed bug #78614 (Does not compile with DTRACE anymore).
+ (tz at FreeBSD dot org)
+ . Fixed bug #78620 (Out of memory error). (cmb, Nikita)
+ . Fixed bug #78632 (method_exists() in php74 works differently from php73 in
+ checking priv. methods). (Nikita)
+ . Fixed bug #78644 (SEGFAULT in ZEND_UNSET_OBJ_SPEC_VAR_CONST_HANDLER).
+ (Nikita)
+ . Fixed bug #78658 (Memory corruption using Closure::bindTo). (Nikita)
+- COM:
+ . Fixed bug #78650 (new COM Crash). (cmb)
+
- Iconv:
. Fixed bug #78642 (Wrong libiconv version displayed). (gedas at martynas,
cmb).
diff --cc Zend/zend_closures.c
index ae22ea3ecd3,fce69f12ff9..de809028528
--- a/Zend/zend_closures.c
+++ b/Zend/zend_closures.c
@@@ -214,9 -198,9 +214,9 @@@ ZEND_METHOD(Closure, bind
zend_string *class_name = zval_get_tmp_string(scope_arg, &tmp_class_name);
if (zend_string_equals_literal(class_name, "static")) {
ce = closure->func.common.scope;
- } else if ((ce = zend_lookup_class_ex(class_name, NULL, 1)) == NULL) {
+ } else if ((ce = zend_lookup_class(class_name)) == NULL) {
zend_error(E_WARNING, "Class '%s' not found", ZSTR_VAL(class_name));
- zend_string_release_ex(class_name, 0);
+ zend_tmp_string_release(tmp_class_name);
RETURN_NULL();
}
zend_tmp_string_release(tmp_class_name);