cvs: ZendEngine2 / zend_ini.c

From: Date: Fri, 19 May 2006 15:39:36 +0000
Subject: cvs: ZendEngine2 / zend_ini.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4901@lists.php.net to get a copy of this message
dmitry Fri May 19 15:39:36 2006 UTC Modified files: /ZendEngine2 zend_ini.c Log: Fixed random crashes in ZTS mode becouse of uninitialized EG(modified_ini_directives). http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_ini.c?r1=1.46&r2=1.47&diff_format=u Index: ZendEngine2/zend_ini.c diff -u ZendEngine2/zend_ini.c:1.46 ZendEngine2/zend_ini.c:1.47 --- ZendEngine2/zend_ini.c:1.46 Mon May 15 14:53:47 2006 +++ ZendEngine2/zend_ini.c Fri May 19 15:39:36 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_ini.c,v 1.46 2006/05/15 14:53:47 dmitry Exp $ */ +/* $Id: zend_ini.c,v 1.47 2006/05/19 15:39:36 dmitry Exp $ */ #include "zend.h" #include "zend_qsort.h" @@ -120,6 +120,7 @@ { zend_ini_entry ini_entry; + EG(modified_ini_directives) = NULL; EG(ini_directives) = (HashTable *) malloc(sizeof(HashTable)); if (zend_hash_init_ex(EG(ini_directives), registered_zend_ini_directives->nNumOfElements, NULL, NULL, 1, 0)==FAILURE) { return FAILURE;

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