From 239ae7b5fc6e6e15428a2c9e9af631ff7055e5e4 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Thu, 29 Apr 2004 09:47:29 +0000 Subject: [PATCH] Fix bug #27876 --- Zend/zend_execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1