From: Xinchen Hui Date: Sun, 28 Aug 2016 16:10:31 +0000 (+0800) Subject: Fixed bug #72936 (Zend API's zend_symtable_str_update() asserts key should end with... X-Git-Tag: php-7.0.11RC1~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=986d0f87ec873c88dedbac334fa5896c068ed987;p=php Fixed bug #72936 (Zend API's zend_symtable_str_update() asserts key should end with '\0') --- 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++;