projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e1679
)
- fix #55622, mem corruption on large input
author
Pierre Joye
<pajoye@php.net>
Tue, 6 Sep 2011 17:41:08 +0000
(17:41 +0000)
committer
Pierre Joye
<pajoye@php.net>
Tue, 6 Sep 2011 17:41:08 +0000
(17:41 +0000)
ext/standard/basic_functions.c
patch
|
blob
|
history
diff --git
a/ext/standard/basic_functions.c
b/ext/standard/basic_functions.c
index ea5c3683fbbbe29d85f99811c468e53651e7469b..b3e7a10811da73a5ead4b408ff58c64f2de22c45 100644
(file)
--- 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;
-
in
t 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;