Disable-support-for-RAR-files-inspection.patch

This commit is contained in:
none 2021-03-05 20:07:18 +01:00
parent aaedce58b4
commit 63afa60022

View file

@ -2,10 +2,13 @@ From: Michael Gilbert <mgilbert@debian.org>
Date: Wed, 21 Nov 2018 02:37:35 +0000
Subject: Disable support for RAR files inspection
FILE:Disable-support-for-RAR-files-inspection.patch
---
.../download_protection/file_analyzer.cc | 2 +-
chrome/common/safe_browsing/BUILD.gn | 34 -------------------
.../file_util/safe_archive_analyzer.cc | 4 +--
3 files changed, 2 insertions(+), 38 deletions(-)
diff --git a/chrome/browser/safe_browsing/download_protection/file_analyzer.cc b/chrome/browser/safe_browsing/download_protection/file_analyzer.cc
index 2d0ac6077b..7c53fde35f 100644
--- a/chrome/browser/safe_browsing/download_protection/file_analyzer.cc
+++ b/chrome/browser/safe_browsing/download_protection/file_analyzer.cc
@@ -90,7 +90,7 @@ void FileAnalyzer::Start(const base::FilePath& target_path,
@ -18,7 +21,6 @@ index 2d0ac6077b..7c53fde35f 100644
} else if (inspection_type == DownloadFileType::DMG) {
StartExtractDmgFeatures();
diff --git a/chrome/common/safe_browsing/BUILD.gn b/chrome/common/safe_browsing/BUILD.gn
index ce5fb4c593..edfd60ea2d 100644
--- a/chrome/common/safe_browsing/BUILD.gn
+++ b/chrome/common/safe_browsing/BUILD.gn
@@ -45,39 +45,6 @@ if (safe_browsing_mode == 1) {
@ -70,7 +72,6 @@ index ce5fb4c593..edfd60ea2d 100644
]
diff --git a/chrome/services/file_util/safe_archive_analyzer.cc b/chrome/services/file_util/safe_archive_analyzer.cc
index 351b32eadf..29848fe62d 100644
--- a/chrome/services/file_util/safe_archive_analyzer.cc
+++ b/chrome/services/file_util/safe_archive_analyzer.cc
@@ -7,7 +7,6 @@
@ -91,3 +92,6 @@ index 351b32eadf..29848fe62d 100644
- std::move(rar_file), std::move(temporary_file), &results);
std::move(callback).Run(results);
}
--
2.17.1