Re: [PHP4BETA] fd-leak in libzend is closed!
| From: | Thies C. Arntzen | Date: | Thu, 02 Dec 1999 19:03:42 +0000 |
| Subject: | Re: [PHP4BETA] fd-leak in libzend is closed! | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7259@lists.php.net to get a copy of this message | ||
On Thu, 2 Dec 1999 zeev@zend.com wrote:
> It doesn't look right, that is, the entire situation isn't supposed to
> happen (ZEND_HANDLE_FILENAME are never supposed to be closed, the .fp
> property isn't supposed to be valid). Can you send us a test case?
any include will leak without that patch -
file "1":
hallo
file "test.php"
<?
include "1";
?>
included files are opened thru php3_fopen_wrappers and those fd's are
*not* put into any list! no list, no *_dtor, no close:-(
this bug was new btw (i think it was the "use/import" patch which
introduced it.
tc
>
> Zeev
>
> On Thu, 2 Dec 1999, Thies C. Arntzen wrote:
>
> > not sure if this is the way we want it though?!
> >
> > tc
> >
> >
> >
>
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany