Re: cvs: php4 /main safe_mode.c

From: Date: Fri, 16 Aug 2002 11:57:51 +0000
Subject: Re: cvs: php4 /main safe_mode.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13405@lists.php.net to get a copy of this message
On 08/16/02, "Ilia A." <ilia@prohost.org> wrote: > I've tried the patch and it appears to work fine and does what it should. Good! > Here is an example: > php -r ' var_dump(fopen("ftp://localhost", > "r")); ' > Command line code(1) : Warning - fopen(ftp://localhost) > [http://www.php.net/function.fopen]: failed to create stream: FTP server > reports 500 localhost FTP server shut down -- please try again later. > > bool(false) > /home/rei/PHP_CVS/php4/main/streams.c(1386) : Freeing 0x0823572C (82 bytes), > script=- Is that really latest CVS? line 1386 is a strlen() call. Also, does this leak occur for http? (I'm slightly too busy to delve in deeper than that for the moment) --Wez.

« previous php.cvs (#13405) next »