Leak (testcase inkl.)

From: Date: Mon, 31 Jan 2000 17:23:29 +0000
Subject: Leak (testcase inkl.)
Groups: php.version4 
Request: Send a blank email to php-version4+get-9593@lists.php.net to get a copy of this message
<?php function a() { global $a; $a = getenv("HOST"); return $a; } a(); ?> reports: /dot/dc4/zend/php-dev/php4/ext/standard/basic_functions.c(515) : Freeing 0x08136114 (21 bytes), script=init.inc ./../php4/Zend/zend_execute.c(1537) : Freeing 0x081360DC (12 bytes), script=init.inc seems to be related to return globals from a function. regards -- 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

« previous php.version4 (#9593) next »