|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35590 memoryleak in xmlrpc (son of #33523)
Submitted: 2005-12-07 20:08 UTC Modified: 2005-12-08 04:01 UTC
From: bkw at weisshuhn dot de Assigned:
Status: Closed Package: XMLRPC-EPI related
PHP Version: 4.4.1 OS: Linux Fedora Core 2,3,4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bkw at weisshuhn dot de
New email:
PHP Version: OS:


 [2005-12-07 20:08 UTC] bkw at weisshuhn dot de
The Memory Leak of Bug #33523 was fixed in the php-5-Branch only.
php-4.4.1 still has it.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-07 20:57 UTC] bkw at weisshuhn dot de
Patch against cvs PHP_4_4:

Index: ext/xmlrpc/xmlrpc-epi-php.c
RCS file: /repository/php-src/ext/xmlrpc/xmlrpc-epi-php.c,v
retrieving revision
diff -u -p -r1. xmlrpc-epi-php.c
--- ext/xmlrpc/xmlrpc-epi-php.c 5 Oct 2005 16:41:18 -0000
+++ ext/xmlrpc/xmlrpc-epi-php.c 7 Dec 2005 19:55:12 -0000
@@ -686,6 +686,9 @@ PHP_FUNCTION(xmlrpc_encode_request)
          XMLRPC_RequestFree(xRequest, 1);
+   if (out.xmlrpc_out.xml_elem_opts.encoding != ENCODING_DEFAULT) {
+      efree(out.xmlrpc_out.xml_elem_opts.encoding);
+   }
 /* }}} */
 [2005-12-08 04:01 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Apr 16 15:01:24 2021 UTC