|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-08-18 10:20 UTC] giunta dot gaetano at sea-aeroportimilano dot it
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 01:00:02 2025 UTC |
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.