Browse Source

Fix bug #27876

PHP-5.0
Stanislav Malyshev 23 years ago
parent
commit
239ae7b5fc
  1. 2
      Zend/zend_execute.c

2
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)); FREE_OP(Ts, op2, EG(free_op2));
if (result) { if (result) {
T(result->u.var).var.ptr = value; 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); SELECTIVE_PZVAL_LOCK(value, result);
} }
zval_ptr_dtor(&value); zval_ptr_dtor(&value);

Loading…
Cancel
Save