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

Issue 2141963002: Validate safe_browsing::dmg::UDIFBlock data before attempting to read at its offsets. (Closed)

Created:
4 years, 5 months ago by Robert Sesek
Modified:
4 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Validate safe_browsing::dmg::UDIFBlock data before attempting to read at its offsets. This change also validates that the blkx plist does not run past the end of the file. BUG=627355 TEST=Clusterfuzz coverage. R=mark@chromium.org Committed: https://crrev.com/41b7abbdb0a34bc77373673dd1400dfdf8c4d84c Cr-Commit-Position: refs/heads/master@{#404862}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -31 lines) Patch
M chrome/utility/safe_browsing/mac/hfs.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/utility/safe_browsing/mac/udif.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/utility/safe_browsing/mac/udif.cc View 1 5 chunks +63 lines, -25 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Robert Sesek
4 years, 5 months ago (2016-07-12 15:03:50 UTC) #2
Mark Mentovai
LGTM https://codereview.chromium.org/2141963002/diff/20001/chrome/utility/safe_browsing/mac/udif.cc File chrome/utility/safe_browsing/mac/udif.cc (right): https://codereview.chromium.org/2141963002/diff/20001/chrome/utility/safe_browsing/mac/udif.cc#newcode218 chrome/utility/safe_browsing/mac/udif.cc:218: chunk->compressed_length > block_size.ValueOrDie()) { Should this be checking ...
4 years, 5 months ago (2016-07-12 15:22:23 UTC) #3
Robert Sesek
https://codereview.chromium.org/2141963002/diff/20001/chrome/utility/safe_browsing/mac/udif.cc File chrome/utility/safe_browsing/mac/udif.cc (right): https://codereview.chromium.org/2141963002/diff/20001/chrome/utility/safe_browsing/mac/udif.cc#newcode218 chrome/utility/safe_browsing/mac/udif.cc:218: chunk->compressed_length > block_size.ValueOrDie()) { On 2016/07/12 15:22:23, Mark Mentovai ...
4 years, 5 months ago (2016-07-12 16:16:35 UTC) #4
Robert Sesek
+nparker for OWNERS
4 years, 5 months ago (2016-07-12 16:17:17 UTC) #6
Mark Mentovai
LGTM
4 years, 5 months ago (2016-07-12 16:17:57 UTC) #7
Nathan Parker
lgtm
4 years, 5 months ago (2016-07-12 21:13:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2141963002/40001
4 years, 5 months ago (2016-07-12 21:16:31 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 5 months ago (2016-07-13 00:10:24 UTC) #11
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 00:11:06 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 00:13:05 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/41b7abbdb0a34bc77373673dd1400dfdf8c4d84c
Cr-Commit-Position: refs/heads/master@{#404862}

Powered by Google App Engine
This is Rietveld 408576698