(patch by Christian Hoffmann)
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2008, PHP 5.2.7
+- Fixed securities issue detailed in CVE-2008-2665 and CVE-2008-2666.
+ (Christian Hoffmann)
+
- Reverted fix for bug #44197 due to change in behaviour in minor version.
(Felipe)
mode = CHECKUID_CHECK_FILE_AND_DIR;
}
}
-
- /*
- * If given filepath is a URL, allow - safe mode stuff
- * related to URL's is checked in individual functions
- */
- wrapper = php_stream_locate_url_wrapper(filename, NULL, STREAM_LOCATE_WRAPPERS_ONLY TSRMLS_CC);
- if (wrapper != NULL)
- return 1;
/* First we see if the file is owned by the same user...
* If that fails, passthrough and check directory...