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

Issue 1262753002: [SafeBrowsing] Send pings for Zip files that contain other archives. (Closed)

Created:
5 years, 4 months ago by asanka
Modified:
5 years, 4 months ago
CC:
grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SafeBrowsing] Send pings for Zip files that contain other archives. BUG=515216 Committed: https://crrev.com/04a4eb914ba76b0a1ee8b776bcf53a429ba45fe2 Cr-Commit-Position: refs/heads/master@{#341475}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : Ping on zip files with archives along with archive file types. #

Patch Set 5 : Fix tests #

Total comments: 6

Patch Set 6 : Address asvitkine comments #

Total comments: 4

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -56 lines) Patch
M chrome/browser/safe_browsing/download_protection_service.cc View 1 2 3 4 5 6 4 chunks +44 lines, -11 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service_unittest.cc View 1 2 3 4 5 6 7 2 chunks +56 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc View 1 2 3 4 5 6 5 chunks +92 lines, -21 lines 0 comments Download
M chrome/common/chrome_utility_messages.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/safe_browsing/csd.proto View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/safe_browsing/download_protection_util.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/safe_browsing/download_protection_util.cc View 1 2 3 4 5 2 chunks +39 lines, -9 lines 0 comments Download
M chrome/common/safe_browsing/zip_analyzer.cc View 1 2 3 3 chunks +14 lines, -11 lines 0 comments Download
M chrome/common/safe_browsing/zip_analyzer_results.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/test/data/safe_browsing/download_protection/zipfile_archive_and_binaries.zip View Binary file 0 comments Download
A chrome/test/data/safe_browsing/download_protection/zipfile_archive_no_binaries.zip View Binary file 0 comments Download
A chrome/test/data/safe_browsing/download_protection/zipfile_one_jse_file.zip View 1 2 Binary file 0 comments Download
A chrome/test/data/safe_browsing/download_protection/zipfile_rar_archive_no_binaries.zip View Binary file 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 2 chunks +25 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (6 generated)
asanka
PTAL?
5 years, 4 months ago (2015-07-29 21:41:43 UTC) #3
mattm
https://codereview.chromium.org/1262753002/diff/40001/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): https://codereview.chromium.org/1262753002/diff/40001/chrome/browser/safe_browsing/download_protection_service.cc#newcode789 chrome/browser/safe_browsing/download_protection_service.cc:789: if (zipped_executable_) should archived_binary be set for zipped_archive too? ...
5 years, 4 months ago (2015-07-29 22:53:26 UTC) #4
asanka
PTAL? Of the archive types, we only consider .zip to be a supported type. However ...
5 years, 4 months ago (2015-07-31 01:04:42 UTC) #5
asanka
https://codereview.chromium.org/1262753002/diff/40001/chrome/browser/safe_browsing/download_protection_service_unittest.cc File chrome/browser/safe_browsing/download_protection_service_unittest.cc (right): https://codereview.chromium.org/1262753002/diff/40001/chrome/browser/safe_browsing/download_protection_service_unittest.cc#newcode1081 chrome/browser/safe_browsing/download_protection_service_unittest.cc:1081: EXPECT_EQ(ClientDownloadRequest_DownloadType_WIN_EXECUTABLE, On 2015/07/29 at 22:53:25, mattm wrote: > Seems ...
5 years, 4 months ago (2015-07-31 01:06:34 UTC) #6
mattm
lgtm
5 years, 4 months ago (2015-07-31 18:40:10 UTC) #7
asanka
mattm: Thanks! Could you take a look? +palmer: chrome/common/chrome_utility_messages.h +asvitkine: tools/metrics/histograms/histograms.xml
5 years, 4 months ago (2015-07-31 20:35:25 UTC) #10
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1262753002/diff/80001/chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc File chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc (right): https://codereview.chromium.org/1262753002/diff/80001/chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc#newcode171 chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc:171: { Nit: Not sure if this is the ...
5 years, 4 months ago (2015-07-31 20:49:36 UTC) #11
asanka
asvitkine: Thanks! https://codereview.chromium.org/1262753002/diff/80001/chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc File chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc (right): https://codereview.chromium.org/1262753002/diff/80001/chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc#newcode171 chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc:171: { On 2015/07/31 at 20:49:36, Alexei Svitkine ...
5 years, 4 months ago (2015-07-31 21:13:03 UTC) #12
palmer
IPC security LGTM. https://codereview.chromium.org/1262753002/diff/100001/chrome/common/safe_browsing/csd.proto File chrome/common/safe_browsing/csd.proto (right): https://codereview.chromium.org/1262753002/diff/100001/chrome/common/safe_browsing/csd.proto#newcode249 chrome/common/safe_browsing/csd.proto:249: ZIPPED_ARCHIVE = 5; // .zip file ...
5 years, 4 months ago (2015-07-31 22:48:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1262753002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1262753002/140001
5 years, 4 months ago (2015-08-02 03:43:11 UTC) #16
asanka
https://codereview.chromium.org/1262753002/diff/100001/chrome/common/safe_browsing/csd.proto File chrome/common/safe_browsing/csd.proto (right): https://codereview.chromium.org/1262753002/diff/100001/chrome/common/safe_browsing/csd.proto#newcode249 chrome/common/safe_browsing/csd.proto:249: ZIPPED_ARCHIVE = 5; // .zip file containing another archive. ...
5 years, 4 months ago (2015-08-02 03:43:32 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 4 months ago (2015-08-02 04:38:07 UTC) #18
commit-bot: I haz the power
5 years, 4 months ago (2015-08-02 04:38:59 UTC) #19
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/04a4eb914ba76b0a1ee8b776bcf53a429ba45fe2
Cr-Commit-Position: refs/heads/master@{#341475}

Powered by Google App Engine
This is Rietveld 408576698