cvs: php4 /main main.c
| From: | Sascha Schumann | Date: | Wed, 16 Apr 2003 12:44:08 +0000 |
| Subject: | cvs: php4 /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20313@lists.php.net to get a copy of this message | ||
sas Wed Apr 16 08:44:08 2003 EDT
Modified files:
/php4/main main.c
Log:
Fix uninitialized reads
==32323== Conditional jump or move depends on uninitialised value(s)
==32323== at 0x80F5A5C: zend_ini_color_displayer_cb (/home/sas/src/php4/Zend/zend_ini.c:374)
==32323== by 0x80C5B7F: php_ini_displayer_cb (/home/sas/src/php4/main/php_ini.c:60)
==32323== by 0x80C5D15: php_ini_displayer (/home/sas/src/php4/main/php_ini.c:115)
==32323== by 0x80F0168: zend_hash_apply_with_argument (/home/sas/src/php4/Zend/zend_hash.c:707)
Index: php4/main/main.c
diff -u php4/main/main.c:1.546 php4/main/main.c:1.547
--- php4/main/main.c:1.546 Mon Mar 31 14:14:18 2003
+++ php4/main/main.c Wed Apr 16 08:44:08 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.546 2003/03/31 19:14:18 helly Exp $ */
+/* $Id: main.c,v 1.547 2003/04/16 12:44:08 sas Exp $ */
/* {{{ includes
*/
@@ -1292,6 +1292,7 @@
return FAILURE;
}
+ zuv.html_errors = 1;
zuv.import_use_extension = ".php";
php_startup_auto_globals(TSRMLS_C);
zend_set_utility_values(&zuv);