From: Stanislav Malyshev Date: Thu, 29 Apr 2004 09:47:29 +0000 (+0000) Subject: Fix bug #27876 X-Git-Tag: RELEASE_0_1~334 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=239ae7b5fc6e6e15428a2c9e9af631ff7055e5e4;p=php Fix bug #27876 --- 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);