ID:               38493
 User updated by:  giunta dot gaetano at sea-aeroportimilano dot it
 Reported By:      giunta dot gaetano at sea-aeroportimilano dot it
-Status:           Open
+Status:           Closed
 Bug Type:         XMLRPC-EPI related
 Operating System: windows 2000
 PHP Version:      4.4.4
 New Comment:

DOH, I was offline this week while doing some testing of the xmlrpc
extension. Just peeked into CVS and found out that the bug has already
been fixed by Antony - but without an entry in the 444/514 changelog...


Previous Comments:
------------------------------------------------------------------------

[2006-08-18 10:02:43] giunta dot gaetano at sea-aeroportimilano dot it

Description:
------------
xmlrpc_encode_request(666, array()) brings apache and php down in
flames.

I know that a user would better not use this, but instead
xmlrpc_encode_request('666', array()), but
- the xmlrpc spec allows method names to be made of numbers only
- php is weakly typed
- a php error msg would be better than a php crash anyway

BTW: the bug is on line 674 of xmlrpc-epi.php.c (as of 4.4.3), where
the zval string value is used without proper checking for its type
first. Afaict a cast to string before using the value would fix it.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38493&edit=1

Reply via email to