diff options
| author | Pierre Joye <pajoye@php.net> | 2011-09-06 17:41:08 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2011-09-06 17:41:08 +0000 |
| commit | eea14c09fcf7618e1301d75c6c482b004e92c9e9 (patch) | |
| tree | e75079d319bfeb302c29dc0fb79f7dc5a936d18b | |
| parent | d37605a5f12cb0f0b395a8362d3a758f7e238e83 (diff) | |
| download | php-git-eea14c09fcf7618e1301d75c6c482b004e92c9e9.tar.gz | |
- fix #55622, mem corruption on large input
| -rw-r--r-- | ext/standard/basic_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 9b704f1838..b70939789e 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -5938,7 +5938,7 @@ PHP_FUNCTION(parse_ini_file) PHP_FUNCTION(parse_ini_string) { char *string = NULL, *str = NULL; - int str_len = 0; + size_t str_len = 0; zend_bool process_sections = 0; long scanner_mode = ZEND_INI_SCANNER_NORMAL; zend_ini_parser_cb_t ini_parser_cb; |
