summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2004-04-29 09:47:29 +0000
committerStanislav Malyshev <stas@php.net>2004-04-29 09:47:29 +0000
commit239ae7b5fc6e6e15428a2c9e9af631ff7055e5e4 (patch)
tree6cbb54fae9ef1428e70f129dd1670d650ed95085
parentbf5f758c9343d9fde7e8d6b94619a4ca3e2c0b56 (diff)
downloadphp-git-239ae7b5fc6e6e15428a2c9e9af631ff7055e5e4.tar.gz
Fix bug #27876
-rw-r--r--Zend/zend_execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 147bf668b7..82361d3e6d 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -447,7 +447,7 @@ static inline void zend_assign_to_object(znode *result, zval **object_ptr, znode
FREE_OP(Ts, op2, EG(free_op2));
if (result) {
T(result->u.var).var.ptr = value;
- T(result->u.var).var.ptr_ptr = NULL; /* see if we can remove this */
+ T(result->u.var).var.ptr_ptr = &T(result->u.var).var.ptr; /* this is so that we could use it in FETCH_DIM_R, etc. - see bug #27876 */
SELECTIVE_PZVAL_LOCK(value, result);
}
zval_ptr_dtor(&value);