cvs: php-src /ext/standard file.c
| From: | Sara Golemon | Date: | Fri, 14 Apr 2006 17:44:56 +0000 |
| Subject: | cvs: php-src /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-37808@lists.php.net to get a copy of this message | ||
pollita Fri Apr 14 17:44:56 2006 UTC
Modified files:
/php-src/ext/standard file.c
Log:
MFB (r-1.409.2.6) copy() should not disrespect open_basedir on source file
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/file.c?r1=1.435&r2=1.436&diff_format=u
Index: php-src/ext/standard/file.c
diff -u php-src/ext/standard/file.c:1.435 php-src/ext/standard/file.c:1.436
--- php-src/ext/standard/file.c:1.435 Sat Apr 1 00:05:31 2006
+++ php-src/ext/standard/file.c Fri Apr 14 17:44:56 2006
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.435 2006/04/01 00:05:31 pollita Exp $ */
+/* $Id: file.c,v 1.436 2006/04/14 17:44:56 pollita Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -1786,7 +1786,7 @@
}
safe_to_copy:
- srcstream = php_stream_open_wrapper(src, "rb", STREAM_DISABLE_OPEN_BASEDIR |
REPORT_ERRORS, NULL);
+ srcstream = php_stream_open_wrapper(src, "rb", REPORT_ERRORS, NULL);
if (!srcstream) {
return ret;