cvs: ZendEngine2 / zend_builtin_functions.c

"Antony Dovgal" <[email protected]>
Newsgroups gmane.comp.php.cvs.zend
Message-ID <cvstony20011214903863@cvsserver>
tony2001		Tue Jul  1 09:17:43 2008 UTC

  Modified files:              
    /ZendEngine2	zend_builtin_functions.c 
  Log:
  fix crash in define()
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_builtin_functions.c?r1=1.375&r2=1.376&diff_format=u
Index: ZendEngine2/zend_builtin_functions.c
diff -u ZendEngine2/zend_builtin_functions.c:1.375 ZendEngine2/zend_builtin_functions.c:1.376
--- ZendEngine2/zend_builtin_functions.c:1.375	Tue Jul  1 07:21:24 2008
+++ ZendEngine2/zend_builtin_functions.c	Tue Jul  1 09:17:43 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_builtin_functions.c,v 1.375 2008/07/01 07:21:24 tony2001 Exp $ */
+/* $Id: zend_builtin_functions.c,v 1.376 2008/07/01 09:17:43 tony2001 Exp $ */
 
 #include "zend.h"
 #include "zend_API.h"
@@ -460,7 +460,7 @@
 	zstr name;
 	int name_len;
 	zend_uchar name_type;
-	zval *val, *val_free;
+	zval *val, *val_free = NULL;
 	zend_bool non_cs = 0;
 	int case_sensitive = CONST_CS;
 	zend_constant c;



-- 
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.