php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #65604 xmlrpc_decode return null when huge data
Submitted: 2013-09-02 09:12 UTC Modified: -
Votes:7
Avg. Score:5.0 ± 0.0
Reproduced:7 of 7 (100.0%)
Same Version:1 (14.3%)
Same OS:5 (71.4%)
From: pashak at ngs dot ru Assigned:
Status: Open Package: XMLRPC-EPI related
PHP Version: 5.4.19 OS: linux
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-09-02 09:12 UTC] pashak at ngs dot ru
Description:
------------
Xml_rpc php extension uses libxml. For correct parsing huge data libxml contains a constant - LIBXML_PARSEHUGE, but I can't use it in xml_rpc extension.
I can use it, for example, in simplexml extension:
$res = simplexml_load_file($file, 'SimpleXMLElement', LIBXML_PARSEHUGE);

Now I can't process a large file (more then 10Mb) with xmlrpc_decode as he will always return null.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-13 21:25 UTC] scott_mosbrucker at doosan dot com
I can duplicate this problem on PHP 5.5.8, libxml 2.7.6

It works fine for us using php 5.1.6, libxml 2.6.26
 [2015-03-11 10:13 UTC] s1ay3r dot no0n3 at gmail dot com
I can duplicate this bug on PHP 5.5.9, libxml 2.9.1.
 
PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Fri Mar 27 22:02:22 2015 UTC