]> granicus.if.org Git - php/commitdiff
Fix bug26639.phpt
authorYasuo Ohgaki <yohgaki@php.net>
Thu, 8 Sep 2016 05:07:57 +0000 (14:07 +0900)
committerYasuo Ohgaki <yohgaki@php.net>
Thu, 8 Sep 2016 05:07:57 +0000 (14:07 +0900)
ext/mbstring/mbstring.c

index 024da7d32b0836566046a7f71a6ed278431c8471..56f7cfaa3ea40d2069b01bbf96909efb2f377532 100644 (file)
@@ -3709,6 +3709,7 @@ detect_end:
                                                        stack[stack_level] = var;
                                                        stack_level++;
                                                        var = hash_entry;
+                                                       SEPARATE_ZVAL_IF_NOT_REF(hash_entry);
                                                        target_hash = HASH_OF(*var);
                                                        if (target_hash != NULL) {
                                                                zend_hash_internal_pointer_reset(target_hash);