Re: [PHP4BETA] more leaks.
| From: | Thies C. Arntzen | Date: | Mon, 25 Oct 1999 18:07:20 +0000 |
| Subject: | Re: [PHP4BETA] more leaks. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5693@lists.php.net to get a copy of this message | ||
here you go...
<?php
function zeev($maskvals = "")
{ if (! isset($maskvals[ "sortorder" ]))
$maskvals[ "sortorder" ] = 1;
}
function andi($maskvals)
{ $maskvals = "";
}
andi(&$maskvals);
zeev(&$maskvals);
?>
i'm sure i could cut it down even more - but i want to see the "x-file" on
tv now;-)
i'll be back later -
please don't get offended by the function names - i just couldn't write
tubu() thies() test() etc any more....
regards,
tc
On Mon, 25 Oct 1999, Andi Gutmans wrote:
> Any chance of getting a short script reproducing this leak?
>
> Andi
>
> On Mon, 25 Oct 1999, Thies C. Arntzen wrote:
>
> > andi, zeev -
> > i think those are new:
> >
> > /dot/dc4/zend/php-dev/php4_apxs/../php4/libzend/zend_execute.c(1592) : Freeing 0x00552798
> > "" (16 bytes), script=/dot/dgs/opi/dclsite/search/search.php3
> > /dot/dc4/zend/php-dev/php4_apxs/../php4/libzend/zend_execute.c(1806) : Freeing 0x004A71A0
> > "" (16 bytes), script=/dot/dgs/opi/dclsite/search/search.php3
> > /dot/dc4/zend/php-dev/php4_apxs/../php4/libzend/zend_hash.c(100) : Freeing 0x009152C8
> > "" (20 bytes), script=/dot/dgs/opi/dclsite/search/search.php3
> > /dot/dc4/zend/php-dev/php4_apxs/../php4/libzend/zend_API.c(192) : Freeing 0x00534E98
> > "" (44 bytes), script=/dot/dgs/opi/dclsite/search/search.php3
> > /dot/dc4/zend/php-dev/php4_apxs/../php4/libzend/zend_execute.c(1810) : Freeing 0x003C6008
> > "datedesc" (9 bytes), script=/dot/dgs/opi/dclsite/search/search.php3
> > /dot/dc4/zend/php-dev/php4_apxs/../php4/libzend/zend_variables.c(128) : Actual location
> > (location was relayed)
> > /dot/dc4/zend/php-dev/php4_apxs/../php4/libzend/zend_hash.c(180) : Freeing 0x00823AF8
> > "^Ko
> > <B0>" (45 bytes), script=/dot/dgs/opi/dclsite/search/search.php3
> > /dot/dc4/zend/php-dev/php4_apxs/../php4/libzend/zend_execute.c(1592) : Freeing 0x00103BE0
> > "" (16 bytes), script=/dot/dgs/opi/dclsite/search/search.php3
> >
> >
> > 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
> >
> >
> > --
> > PHP 4 Beta
> >
>
>
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