Bug #68722 [Opn->Nab]: Memory leaks
| From: | cmb@php.net | Date: | Thu, 30 Sep 2021 15:03:57 +0000 |
| Subject: | Bug #68722 [Opn->Nab]: Memory leaks | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236942@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68722&edit=1
ID: 68722
Updated by: cmb@php.net
Reported by: bugreports at internot dot info
Summary: Memory leaks
-Status: Open
+Status: Not a bug
Type: Bug
Package: XMLRPC-EPI related
Operating System: Linux Ubuntu 14.04
PHP Version: master-Git-2015-01-02 (Git)
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> 818 xml_element_to_DANDARPC_REQUEST(request, root_elem);
> leaks memory, as it actually returns storage.
Can a function leak memory if it is never called[1]? I don't
think so. This is why such code review especially in a bundled
third-party library is pretty useless. Feel free to report
upstream[2].
[1] <https://heap.space/search?project=PHP-7.4&full=&defs=&refs=XMLRPC_VALUE_FromXML&path=&hist=&type=>
[2] <http://xmlrpc-epi.sourceforge.net/>
Previous Comments:
------------------------------------------------------------------------
[2021-05-22 21:31:53] cristinagrca at yahoo dot com
The following pull request has been associated:
Patch Name: Provide documentation for many ext/sodium functions
On GitHub: https://github.com/php/doc-en/pull/592
Patch: https://github.com/php/doc-en/pull/592.patch
------------------------------------------------------------------------
[2021-05-22 21:31:31] cristinagrca at yahoo dot com
The following pull request has been associated:
Patch Name: Update ext/oci8 methodsynopses based on stubs
On GitHub: https://github.com/php/doc-en/pull/601
Patch: https://github.com/php/doc-en/pull/601.patch
------------------------------------------------------------------------
[2015-01-02 09:22:09] 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'
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68722&edit=1