sas Tue Apr 1 14:14:47 2003 EDT
Modified files:
/php4/main output.c
Log:
Fix an uninitialized read, default to FAILURE
Index: php4/main/output.c
diff -u php4/main/output.c:1.150 php4/main/output.c:1.151
--- php4/main/output.c:1.150 Tue Mar 25 03:07:12 2003
+++ php4/main/output.c Tue Apr 1 14:14:47 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: output.c,v 1.150 2003/03/25 08:07:12 sebastian Exp $ */
+/* $Id: output.c,v 1.151 2003/04/01 19:14:47 sas Exp $ */
#include "php.h"
#include "ext/standard/head.h"
@@ -453,7 +453,7 @@
*/
static int php_ob_init(uint initial_size, uint block_size, zval *output_handler, uint
chunk_size, zend_bool erase TSRMLS_DC)
{
- int result, len;
+ int result = FAILURE, len;
char *handler_name, *next_handler_name;
HashPosition pos;
zval **tmp;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php