diff options
author | Dmitry Stogov <dmitry@php.net> | 2006-05-19 15:31:25 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2006-05-19 15:31:25 +0000 |
commit | cdb0ed7587b183f76a913af1989c0f1a609c7806 (patch) | |
tree | 246e0cf902be55d513371d76bee96d3b1495504d /Zend/zend_ini.c | |
parent | ab8329ec31ddfd8a970a043cc9802cd42c2fa465 (diff) | |
download | php-git-cdb0ed7587b183f76a913af1989c0f1a609c7806.tar.gz |
Fixed random crashes in ZTS mode becouse of uninitialized EG(modified_ini_directives).
Diffstat (limited to 'Zend/zend_ini.c')
-rw-r--r-- | Zend/zend_ini.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_ini.c b/Zend/zend_ini.c index 056eb03ff8..92bb40e12e 100644 --- a/Zend/zend_ini.c +++ b/Zend/zend_ini.c @@ -120,6 +120,7 @@ ZEND_API int zend_copy_ini_directives(TSRMLS_D) { 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; |