Skip to content
Snippets Groups Projects
Commit 0c395e9a authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Merge pull request #2834 from owncloud/suppress-setup-warning

Suppress the notice from the nullbyte check
parents 8db76ef7 f9b77e39
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ $hasOracle = is_callable('oci_connect');
$hasMSSQL = is_callable('sqlsrv_connect');
$datadir = OC_Config::getValue('datadirectory', OC::$SERVERROOT.'/data');
$vulnerableToNullByte = false;
if(file_exists(__FILE__."\0Nullbyte")) { // Check if the used PHP version is vulnerable to the NULL Byte attack (CVE-2006-7243)
if(@file_exists(__FILE__."\0Nullbyte")) { // Check if the used PHP version is vulnerable to the NULL Byte attack (CVE-2006-7243)
$vulnerableToNullByte = true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment