php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68722 Memory leaks
Submitted: 2015-01-02 09:22 UTC Modified: -
From: bugreports at internot dot info Assigned:
Status: Open Package: XMLRPC-EPI related
PHP Version: master-Git-2015-01-02 (Git) OS: Linux Ubuntu 14.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugreports at internot dot info
New email:
PHP Version: OS:

 

 [2015-01-02 09:22 UTC] bugreports at internot dot info
Description:
------------
Hi,

In the file /ext/xmlrpc/libxmlrpc/xmlrpc.c:


 818            xml_element_to_DANDARPC_REQUEST(request, root_elem);
leaks memory, as it actually returns storage.

as does
 822                                xml_element_to_SOAP_REQUEST (request, root_elem);

and

 826            xml_element_to_XMLRPC_REQUEST(request, root_elem);



And in /ext/xmlrpc/libxmlrpc/xml_to_soap.c:

662                        }
leaks 'rpc'




and in /ext/xmlrpc/libxmlrpc/system_methods.c:

366   return xReturn;
leaks 'xIntro', and 'xFaults'


and in /ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c:

240      }

leaks 'xTypesArray'







Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 09:01:27 2019 UTC