com php-src: Fixed bug #72936 (Zend API's zend_symtable_str _update() asserts key should end with '\ 0'): Zend/zend_hash.c

From: Date: Sun, 28 Aug 2016 16:10:31 +0000
Subject: com php-src: Fixed bug #72936 (Zend API's zend_symtable_str _update() asserts key should end with '\ 0'): Zend/zend_hash.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-94086@lists.php.net to get a copy of this message
Commit: 986d0f87ec873c88dedbac334fa5896c068ed987 Author: Xinchen Hui <laruence@gmail.com> Mon, 29 Aug 2016 00:10:31 +0800 Parents: 8fcfacf7465f7bdfa2f88f520af8ba35e77afd91 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=986d0f87ec873c88dedbac334fa5896c068ed987 Log: Fixed bug #72936 (Zend API's zend_symtable_str_update() asserts key should end with '\0') Bugs: https://bugs.php.net/72936 Changed paths: M Zend/zend_hash.c Diff: diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c index 5404187..efbc1e2 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++;

« previous php.cvs (#94086) next »