cvs: php-src(PHP_4_3) /ext/standard file.c

From: Date: Fri, 14 Apr 2006 17:47:51 +0000
Subject: cvs: php-src(PHP_4_3) /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-37811@lists.php.net to get a copy of this message
pollita Fri Apr 14 17:47:51 2006 UTC Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: MFH (r-1.436) copy() should not disrespect open_basedir on source file http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/file.c?r1=1.279.2.70&r2=1.279.2.71&diff_format=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.70 php-src/ext/standard/file.c:1.279.2.71 --- php-src/ext/standard/file.c:1.279.2.70 Sun Mar 27 15:53:59 2005 +++ php-src/ext/standard/file.c Fri Apr 14 17:47:51 2006 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.279.2.70 2005/03/27 15:53:59 iliaa Exp $ */ +/* $Id: file.c,v 1.279.2.71 2006/04/14 17:47:51 pollita Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -2143,7 +2143,7 @@ int ret = FAILURE; srcstream = php_stream_open_wrapper(src, "rb", - STREAM_DISABLE_OPEN_BASEDIR | REPORT_ERRORS, + ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); if (!srcstream)

« previous php.cvs (#37811) next »