[PHP4BETA] Leak (testcase inkl.) From: thies <email protected>
Date: 01/31/00

<?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

-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>