Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Held <ilovemilk@wusa.io>2018-09-06 12:42:43 +0300
committerMatthias Held <ilovemilk@wusa.io>2018-09-06 12:42:43 +0300
commitec7097b374a2f15af5821248e99fab9d1aa1f00f (patch)
tree8cc0fc3286ecb6aa1e2f9430d165c2ae8be2a9a1
parentd3cd494524ded45fca831762925e317c038877fb (diff)
Fix unknown file extension can not be corrupted
-rw-r--r--lib/Analyzer/FileCorruptionAnalyzer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analyzer/FileCorruptionAnalyzer.php b/lib/Analyzer/FileCorruptionAnalyzer.php
index 2d8058e..5b034cf 100644
--- a/lib/Analyzer/FileCorruptionAnalyzer.php
+++ b/lib/Analyzer/FileCorruptionAnalyzer.php
@@ -89,7 +89,7 @@ class FileCorruptionAnalyzer
}
}
- return new FileCorruptionResult(true);
+ return new FileCorruptionResult(false);
} catch (\OCP\Files\NotPermittedException $exception) {
$this->logger->debug('isCorrupted: Not permitted.', array('app' => Application::APP_ID));