diff options
-rw-r--r-- | Zend/zend_reflection_api.c | 2 | ||||
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index b90b62e2e9..08eda3c105 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -71,7 +71,7 @@ typedef struct _string { void string_init(string *str) { - str->string = (char *) emalloc(1042); + str->string = (char *) emalloc(1024); str->len = 1; str->alloced = 1024; *str->string = '\0'; diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index b90b62e2e9..08eda3c105 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -71,7 +71,7 @@ typedef struct _string { void string_init(string *str) { - str->string = (char *) emalloc(1042); + str->string = (char *) emalloc(1024); str->len = 1; str->alloced = 1024; *str->string = '\0'; |