diff options
author | Xinchen Hui <laruence@gmail.com> | 2016-08-29 00:10:31 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2016-08-29 00:10:31 +0800 |
commit | 986d0f87ec873c88dedbac334fa5896c068ed987 (patch) | |
tree | d249de41a751622156660e9a99392e685c9fe86c /Zend/zend_hash.c | |
parent | 8fcfacf7465f7bdfa2f88f520af8ba35e77afd91 (diff) | |
download | php-git-986d0f87ec873c88dedbac334fa5896c068ed987.tar.gz |
Fixed bug #72936 (Zend API's zend_symtable_str_update() asserts key should end with '\0')
Diffstat (limited to 'Zend/zend_hash.c')
-rw-r--r-- | Zend/zend_hash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c index 5404187a97..efbc1e2ae4 100644 --- a/Zend/zend_hash.c +++ b/Zend/zend_hash.c @@ -2465,7 +2465,6 @@ ZEND_API int ZEND_FASTCALL _zend_handle_numeric_str_ex(const char *key, size_t l register const char *tmp = key; const char *end = key + length; - ZEND_ASSERT(*end == '\0'); if (*tmp == '-') { tmp++; |