Fix an uninitialized read, default to FAILURE

This commit is contained in:
Sascha Schumann 2003-04-01 19:14:47 +00:00
parent 20ea550235
commit e2333fd1df

View File

@ -453,7 +453,7 @@ static zval* php_ob_handler_from_string(const char *handler_name TSRMLS_DC)
*/
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;