Req #65604 [Opn]: xmlrpc_decode return null when huge data

From: Date: Fri, 05 Feb 2021 14:29:10 +0000
Subject: Req #65604 [Opn]: xmlrpc_decode return null when huge data
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231961@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65604&edit=1

 ID:                 65604
 Updated by:         cmb@php.net
 Reported by:        pashak at ngs dot ru
 Summary:            xmlrpc_decode return null when huge data
 Status:             Open
 Type:               Feature/Change Request
-Package:            XMLRPC-EPI related
+Package:            XML related
 Operating System:   linux
 PHP Version:        5.4.19
 Block user comment: N
 Private report:     N

 New Comment:

This is not particularly related to xmlrpc, but a more general
libxml issue, so I'm reclassifying as such.


Previous Comments:
------------------------------------------------------------------------
[2015-09-11 00:06:47] camporter1 at gmail dot com

I've added a PR that should allow > 10 MB documents to be decoded properly.

------------------------------------------------------------------------
[2015-03-11 10:13:57] s1ay3r dot no0n3 at gmail dot com

I can duplicate this bug on PHP 5.5.9, libxml 2.9.1.

------------------------------------------------------------------------
[2014-05-13 21:25:18] 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

------------------------------------------------------------------------
[2013-09-02 09:12:10] 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.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=65604&edit=1


Thread (5 messages)

« previous php.bugs (#231961) next »