Bug #60637 [Com]: Lexer is full of memory leaks
| From: | nikic@php.net | Date: | Fri, 02 Mar 2012 14:46:49 +0000 |
| Subject: | Bug #60637 [Com]: Lexer is full of memory leaks | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-168028@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60637&edit=1
ID: 60637
Comment by: nikic@php.net
Reported by: nlopess@php.net
Summary: Lexer is full of memory leaks
Status: Open
Type: Bug
Package: Scripting Engine problem
PHP Version: trunk-SVN-2012-01-02 (SVN)
Block user comment: N
Private report: N
New Comment:
I can't reproduce this. How did you detect these leaks / in which form did they manifest?
Previous Comments:
------------------------------------------------------------------------
[2012-01-02 14:02:34] nlopess@php.net
Description:
------------
zend_language_scanner.l has quite a big number of leaks:
- require('non-existent-file') - 2 leaks
- include('file-with-parse-error')
- every usage of zend_copy_value must be audited -- on a parse error it's likely the memory
will be leaked.
(run with USE_ZEND_ALLOC=0)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60637&edit=1