|  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: -
Avg. Score:4.9 ± 0.3
Reproduced:8 of 8 (100.0%)
Same Version:1 (12.5%)
Same OS:5 (62.5%)
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
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.


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


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.
 [2015-09-11 00:06 UTC] camporter1 at gmail dot com
I've added a PR that should allow > 10 MB documents to be decoded properly.
PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 03:01:30 2015 UTC