From: Antony Dovgal Date: Fri, 12 Aug 2005 16:49:20 +0000 (+0000) Subject: fix array_merge() adding one superfluous byte to the key X-Git-Tag: PRE_NEW_OCI8_EXTENSION~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e458e4548668c5b077289ad1097931d9aa806c27;p=php fix array_merge() adding one superfluous byte to the key --- diff --git a/ext/standard/array.c b/ext/standard/array.c index adf690b213..c7b1675ecf 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2364,7 +2364,7 @@ ukey: } else { (*src_entry)->refcount++; - zend_u_hash_update(dest, utype, string_key, string_key_len+1, + zend_u_hash_update(dest, utype, string_key, string_key_len, src_entry, sizeof(zval *), NULL); } break;