mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
Fixed bug: #17732.
xmlrpc_decode_request() and xmlrpc_set_type() expect some parameters to be passed by reference.
This commit is contained in:
parent
b9637a0bc5
commit
d8a361b8d5
2 changed files with 10 additions and 4 deletions
|
@ -77,13 +77,16 @@ ZEND_DECLARE_MODULE_GLOBALS(xmlrpc)
|
|||
|
||||
static int le_xmlrpc_server;
|
||||
|
||||
static unsigned char second_arg_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE, BYREF_NONE };
|
||||
static unsigned char first_arg_force_ref[] = { 2, BYREF_FORCE, BYREF_NONE };
|
||||
|
||||
function_entry xmlrpc_functions[] = {
|
||||
PHP_FE(xmlrpc_encode, NULL)
|
||||
PHP_FE(xmlrpc_decode, NULL)
|
||||
PHP_FE(xmlrpc_decode_request, NULL)
|
||||
PHP_FE(xmlrpc_decode_request, second_arg_force_ref)
|
||||
PHP_FE(xmlrpc_encode_request, NULL)
|
||||
PHP_FE(xmlrpc_get_type, NULL)
|
||||
PHP_FE(xmlrpc_set_type, NULL)
|
||||
PHP_FE(xmlrpc_set_type, first_arg_force_ref)
|
||||
PHP_FE(xmlrpc_server_create, NULL)
|
||||
PHP_FE(xmlrpc_server_destroy, NULL)
|
||||
PHP_FE(xmlrpc_server_register_method, NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue