Bug #61264 [NEW]: xmlrpc_parse_method_descriptions leaks temporary variable
| From: | nikic@php.net | Date: | Sat, 03 Mar 2012 12:37:50 +0000 |
| Subject: | Bug #61264 [NEW]: xmlrpc_parse_method_descriptions leaks temporary variable | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-168065@lists.php.net to get a copy of this message | ||
From: nikic
Operating system:
PHP version: Irrelevant
Package: XMLRPC-EPI related
Bug Type: Bug
Bug description:xmlrpc_parse_method_descriptions leaks temporary variable
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 bug report at https://bugs.php.net/bug.php?id=61264&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61264&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61264&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61264&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61264&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61264&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61264&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61264&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61264&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61264&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61264&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61264&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61264&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61264&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61264&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61264&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61264&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61264&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61264&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61264&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61264&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61264&r=mysqlcfg