Re: cvs: ZendEngine2(PHP_5_3) / zend_builtin_functions.c

Antony Dovgal <[email protected]>
Newsgroups gmane.comp.php.cvs.zend
Message-ID <[email protected]>
MFB ?

On 19.06.2008 15:27, Dmitry Stogov wrote:
> dmitry		Thu Jun 19 11:27:41 2008 UTC
> 
>   Modified files:              (Branch: PHP_5_3)
>     /ZendEngine2	zend_builtin_functions.c 
>   Log:
>   Fixed #45307 (define() crashes because of uninitialized variable)
>   
>   
> http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_builtin_functions.c?r1=1.277.2.12.2.25.2.18&r2=1.277.2.12.2.25.2.19&diff_format=u
> Index: ZendEngine2/zend_builtin_functions.c
> diff -u ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.18 ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.19
> --- ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.18	Wed Jun 18 23:38:37 2008
> +++ ZendEngine2/zend_builtin_functions.c	Thu Jun 19 11:27:41 2008
> @@ -17,7 +17,7 @@
>     +----------------------------------------------------------------------+
>  */
>  
> -/* $Id: zend_builtin_functions.c,v 1.277.2.12.2.25.2.18 2008/06/18 23:38:37 stas Exp $ */
> +/* $Id: zend_builtin_functions.c,v 1.277.2.12.2.25.2.19 2008/06/19 11:27:41 dmitry Exp $ */
>  
>  #include "zend.h"
>  #include "zend_API.h"
> @@ -472,7 +472,8 @@
>  {
>  	char *name;
>  	int name_len;
> -	zval *val, *val_free;
> +	zval *val;
> +	zval *val_free = NULL;
>  	zend_bool non_cs = 0;
>  	int case_sensitive = CONST_CS;
>  	zend_constant c;
> 
> 
> 


-- 
Wbr, 
Antony Dovgal

-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.