|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38898 #38431 once again (xmlrpc segfault)
Submitted: 2006-09-20 13:12 UTC Modified: 2006-09-25 11:20 UTC
From: grzegorz dot nosek at netart dot pl Assigned:
Status: Closed Package: XMLRPC-EPI related
PHP Version: 5.1.6 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: grzegorz dot nosek at netart dot pl
New email:
PHP Version: OS:


 [2006-09-20 13:12 UTC] grzegorz dot nosek at netart dot pl
Guys, you broke it again in 5.1.5 (5.1.6 is still broken, btw.)

This patch seems to fix it. Why was it reverted?

Is there any reason for the commit linked below?

Test case below, taken from 5.1.6 distribution (ext/xmlrpc/tests/bug38431.phpt), fails with a segfault.

Reproduce code:
Bug #38431 (xmlrpc_get_type() crashes PHP on objects)
<?php if (!extension_loaded("xmlrpc")) print "skip"; ?>

var_dump(xmlrpc_get_type(new stdclass));
$var = array(1,2,3);
$var = array("test"=>1,2,3);
$var = array("test"=>1,"test2"=>2);

echo "Done\n";
string(5) "array"
string(5) "array"
string(5) "array"
string(5) "mixed"
string(6) "struct"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-23 11:37 UTC]
Please try using this CVS snapshot:
For Windows:

 [2006-09-25 11:14 UTC] grzegorz dot nosek at netart dot pl
I see that 5.2-cvs has the fix applied so I assume it works (if it doesn't, it's a different issue). Unfortunately, I am not in position to test it. However, I think that it is 5.1.7 material and should be incorporated in the next 5.1 release.
 [2006-09-25 11:20 UTC]
5.2 is the next PHP5 release, there are no 5.1.x releases planned.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Apr 11 07:01:24 2021 UTC