mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Re-Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type)
This commit is contained in:
parent
a811b5e38d
commit
d1dd9b4558
3 changed files with 26 additions and 3 deletions
|
@ -535,7 +535,7 @@ static XMLRPC_VALUE PHP_to_XMLRPC_worker (const char* key, zval* in_val, int dep
|
|||
xReturn = XMLRPC_CreateValueBoolean(key, Z_TYPE(val) == IS_TRUE);
|
||||
break;
|
||||
case xmlrpc_int:
|
||||
convert_to_long(&val);
|
||||
ZVAL_LONG(&val, zval_get_long(&val));
|
||||
xReturn = XMLRPC_CreateValueInt(key, Z_LVAL(val));
|
||||
break;
|
||||
case xmlrpc_double:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue