|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46099 Xsltprocessor::setProfiling - memory leak
Submitted: 2008-09-16 18:57 UTC Modified: 2008-09-18 11:50 UTC
From: Assigned: rrichards
Status: Closed Package: XSLT related
PHP Version: 5.3CVS-2008-09-16 (CVS) OS:
Private report: No CVE-ID:
 [2008-09-16 18:57 UTC]
See below.

The intern->profiling isn't freed and not checked when calling setProfiling() two or more times.

Reproduce code:

$x = new xsltprocessor();

Actual result:
Memory leak.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-16 18:59 UTC]
A probable fix:

 [2008-09-18 11:51 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-2015 The PHP Group
All rights reserved.
Last updated: Mon Nov 30 15:01:37 2015 UTC