summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-21 15:55:56 +0200
committerAnatol Belski <ab@php.net>2014-08-21 15:55:56 +0200
commit21a45d9acaad2e53b6a7b2a6798ceb8e255e106f (patch)
treeb059178eed28be69c9216f7705a50950bbf774bc /Zend/zend_API.c
parentc1b65ac66b1bb7d14c3fc6c302cc124b97e4c5e8 (diff)
parentb9a5db2b5534f696ca102fc161b302eabacd401f (diff)
downloadphp-git-21a45d9acaad2e53b6a7b2a6798ceb8e255e106f.tar.gz
Merge remote-tracking branch 'php/master'
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 1f7004267a..35b3c8ac7a 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -2908,7 +2908,7 @@ static int zend_is_callable_check_class(zend_string *name, zend_fcall_info_cache
ALLOCA_FLAG(use_heap);
STR_ALLOCA_ALLOC(lcname, name_len, use_heap);
- zend_str_tolower_copy(lcname->val, name->val, name_len + 1);
+ zend_str_tolower_copy(lcname->val, name->val, name_len);
*strict_class = 0;
if (name_len == sizeof("self") - 1 &&