Patch p.diff for XMLRPC-EPI related Bug #72155
Patch version 2016-05-04 14:18 UTC
Return to Bug #72155 |
Download this patch
Patch Revisions:
Developer: shm@php.net
--- php-7.0.6-orig/ext/xmlrpc/xmlrpc-epi-php.c 2016-04-28 20:12:47.000000000 +0200
+++ php-7.0.6/ext/xmlrpc/xmlrpc-epi-php.c 2016-05-04 16:07:06.959840393 +0200
@@ -1369,9 +1369,11 @@ XMLRPC_VALUE_TYPE get_zval_xmlrpc_type(z
if ((type == xmlrpc_base64 && Z_TYPE_P(value) == IS_OBJECT) || type == xmlrpc_datetime) {
if ((val = zend_hash_str_find(Z_OBJPROP_P(value), OBJECT_VALUE_ATTR, sizeof(OBJECT_VALUE_ATTR) - 1)) != NULL) {
ZVAL_COPY_VALUE(newvalue, val);
+ zval_copy_ctor(newvalue);
}
} else {
ZVAL_COPY_VALUE(newvalue, value);
+ zval_copy_ctor(newvalue);
}
}
}
|