]> granicus.if.org Git - php/commitdiff
Fixed bug #72936 (Zend API's zend_symtable_str_update() asserts key should end with...
authorXinchen Hui <laruence@gmail.com>
Sun, 28 Aug 2016 16:10:31 +0000 (00:10 +0800)
committerXinchen Hui <laruence@gmail.com>
Sun, 28 Aug 2016 16:10:31 +0000 (00:10 +0800)
Zend/zend_hash.c

index 5404187a973a36ad7348279afa3bba377c836154..efbc1e2ae4ff3f290cfff3693aa340d65bf4968c 100644 (file)
@@ -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++;