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 | c74679be0a95ab37f1df5fe7c8a00615e62e1990 (patch) | |
tree | 192b02bcd6cb6a2ce9959907771e9988423b36d4 | |
parent | 58e167974c3ea15bad90705896b796d63ede0e18 (diff) | |
download | php-git-c74679be0a95ab37f1df5fe7c8a00615e62e1990.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 ea5c3683fb..b3e7a10811 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -6022,7 +6022,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; |