Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Unified Diff: chrome/common/safe_browsing/zip_analyzer_results.cc

Issue 1028243002: Validate that zip entry filenames are UTF8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/safe_browsing/zip_analyzer_results.cc
diff --git a/chrome/common/safe_browsing/zip_analyzer_results.cc b/chrome/common/safe_browsing/zip_analyzer_results.cc
index f0da179cf8f8a43a57d22ff254afbd9ceb5e7a7e..ad02096b6dc2c3577d5291e44e88965a71e42794 100644
--- a/chrome/common/safe_browsing/zip_analyzer_results.cc
+++ b/chrome/common/safe_browsing/zip_analyzer_results.cc
@@ -10,7 +10,11 @@
namespace safe_browsing {
namespace zip_analyzer {
-Results::Results() : success(false), has_executable(false), has_archive(false) {
+Results::Results()
+ : success(false),
+ has_executable(false),
+ has_archive(false),
+ has_unsafe_file(false) {
}
Results::~Results() {

Powered by Google App Engine
This is Rietveld 408576698