xmlrpc_encode() Segmentation fault with recursive reference

Bug #32179 xmlrpc_encode() Segmentation fault with recursive reference
Submitted: 2005-03-03 18:28 UTC Modified: 2005-10-04 13:27 UTC
From: spmhere1 at lenivec dot com Assigned: tony2001 (profile)
Status: Closed Package: XMLRPC-EPI related
PHP Version: 5CVS, 4CVS (2005-03-09) OS: *
Private report: No CVE-ID: None

 [2005-03-03 18:28 UTC] spmhere1 at lenivec dot com

Description:
------------
Following code produces segmentation fault - because of recursive reference


Reproduce code:
---------------
$data = array();
$data['a'] =& $data;
$data_xml = xmlrpc_encode($data);



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2005-10-04 13:27 UTC] tony2001@php.net

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.