[PHP-DEV] PHP 4.0 Bug #2795: Memory Leak in base64_encode() From: evan715 <email protected>
Date: 11/23/99

From: evan715 <email protected>
Operating system: Red Hat Linux 6.0
PHP version: 4.0 Latest CVS (23/11/1999)
PHP Bug Type: Misbehaving function
Bug description: Memory Leak in base64_encode()

When compiled as a CGI, PHP prints the following:

[root <email protected> php4]# ./php -f cy
cgi_main.c(323) : Freeing 0x080F4010 (3 bytes), script=cy
ZGZkZmRmZA==[root <email protected> php4]#

The script 'cy' contains:

<?
$i = "dfdfdfd";
echo base64_encode($i);
?>

This does not occur in interactive mode.

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