Edit report at https://bugs.php.net/bug.php?id=61264&edit=1
ID: 61264 Updated by: ni...@php.net Reported by: ni...@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] ni...@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] ni...@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