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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file contains the zip file analysis implementation for download 5 // This file contains the zip file analysis implementation for download
6 // protection, which runs in a sandboxed utility process. 6 // protection, which runs in a sandboxed utility process.
7 7
8 #include "chrome/common/safe_browsing/zip_analyzer_results.h" 8 #include "chrome/common/safe_browsing/zip_analyzer_results.h"
9 9
10 namespace safe_browsing { 10 namespace safe_browsing {
11 namespace zip_analyzer { 11 namespace zip_analyzer {
12 12
13 Results::Results() : success(false), has_executable(false), has_archive(false) { 13 Results::Results()
14 : success(false),
15 has_executable(false),
16 has_archive(false),
17 has_unsafe_file(false) {
14 } 18 }
15 19
16 Results::~Results() { 20 Results::~Results() {
17 } 21 }
18 22
19 } // namespace zip_analyzer 23 } // namespace zip_analyzer
20 } // namespace safe_browsing 24 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698