[php-maint] Bug#361856: patch

Allard Hoeve allard at byte.nl
Wed Apr 12 09:01:08 UTC 2006


tags patch
thanks

Dear Maintainers,

This is the patch from CVS (5.1.x) backported to 4.3.10-16.

Please review.

http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/file.c?r1=1.409.2.5&r2=1.409.2.6&pathrev=PHP_5_1

Regards,

Allard
-------------- next part --------------
Index: file.c
===================================================================
--- file.c	(revision 61)
+++ file.c	(working copy)
@@ -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)


More information about the pkg-php-maint mailing list