summaryrefslogtreecommitdiff
path: root/Zend/zend_hash.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2011-12-01 13:58:29 +0000
committerDmitry Stogov <dmitry@php.net>2011-12-01 13:58:29 +0000
commitdc18f8427c00b558b25604038fc79c901c02f035 (patch)
tree3505707d46d37f68e2abef3bfcdbf3b01f206658 /Zend/zend_hash.c
parentd2de045007fdfe1b1668953ee1961c2f546addad (diff)
downloadphp-git-dc18f8427c00b558b25604038fc79c901c02f035.tar.gz
Fixed icorrect key length after updating constant index
Diffstat (limited to 'Zend/zend_hash.c')
-rw-r--r--Zend/zend_hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c
index ad3f46a08d..07fe739c81 100644
--- a/Zend/zend_hash.c
+++ b/Zend/zend_hash.c
@@ -1399,6 +1399,7 @@ ZEND_API int zend_hash_update_current_key_ex(HashTable *ht, int key_type, const
p->h = num_index;
} else {
p->h = h;
+ p->nKeyLength = str_length;
if (IS_INTERNED(str_index)) {
p->arKey = str_index;
} else {