cvs: Zend(PHP_4_3) / zend.c

From: Date: Wed, 22 Oct 2003 23:47:17 +0000
Subject: cvs: Zend(PHP_4_3) / zend.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1930@lists.php.net to get a copy of this message
iliaa Wed Oct 22 19:47:17 2003 EDT Modified files: (Branch: PHP_4_3) /Zend zend.c Log: MFH: Fixed bug #25922 (Crash in error handler when 5th argument is modified) This also fixes bug #25547 in PHP 4.3.X Index: Zend/zend.c diff -u Zend/zend.c:1.162.2.13 Zend/zend.c:1.162.2.14 --- Zend/zend.c:1.162.2.13 Mon Sep 22 00:22:06 2003 +++ Zend/zend.c Wed Oct 22 19:47:17 2003 @@ -798,8 +798,7 @@ z_context->value.ht = EG(active_symbol_table); z_context->type = IS_ARRAY; - z_context->is_ref = 1; - z_context->refcount = 2; /* we don't want this one to be freed */ + ZVAL_ADDREF(z_context); /* we don't want this one to be freed */ params = (zval ***) emalloc(sizeof(zval **)*5); params[0] = &z_error_type;

« previous php.zend-engine.cvs (#1930) next »