mirror of
https://github.com/php/php-src.git
synced 2024-12-04 07:14:10 +08:00
Fix an uninitialized read, default to FAILURE
This commit is contained in:
parent
20ea550235
commit
e2333fd1df
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user