Bug #61264 [Opn->Csd]: xmlrpc_parse_method_descriptions leaks temporary variable
| From: | nikic@php.net | Date: | Sat, 03 Mar 2012 12:46:37 +0000 |
| Subject: | Bug #61264 [Opn->Csd]: xmlrpc_parse_method_descriptions leaks temporary variable | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-168066@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61264&edit=1
ID: 61264
Updated by: nikic@php.net
Reported by: nikic@php.net
Summary: xmlrpc_parse_method_descriptions leaks temporary
variable
-Status: Open
+Status: Closed
Type: Bug
Package: XMLRPC-EPI related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-03-03 12:46:10] nikic@php.net
Automatic comment from SVN on behalf of nikic
Revision: http://svn.php.net/viewvc/?view=revision&revision=323850
Log: Fix bug #61264: xmlrpc_parse_method_descriptions leaks temporary variable
------------------------------------------------------------------------
[2012-03-03 12:37:50] nikic@php.net
Description:
------------
<?php
$xml = <<<XML
<?xml version="1.0" encoding="utf-8"?>
<a>
<b>foo</b>
</a>
XML;
var_dump(xmlrpc_parse_method_descriptions($xml));
Leaks, because the retval (http://lxr.php.net/xref/PHP_TRUNK/ext/xmlrpc/xmlrpc-epi-php.c#1240) is
not dtor'd.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61264&edit=1