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

Issue 600223003: [GCM] Investigatory CHECKs for crash in parsing stream (Closed)

Created:
6 years, 3 months ago by Nicolas Zea
Modified:
6 years, 2 months ago
Reviewers:
fgorski
CC:
chromium-reviews, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[GCM] Investigatory CHECKs for crash in parsing stream The various places where size_t and uint64 were being used have been converted to int, so that we can better check to make sure they're non-negative (they're actually consumed as ints by the protobuf parsing code). Various CHECKS have therefore been added to verify assumptions. BUG=409985 Committed: https://crrev.com/f8bef1c6b2f9b3585af2dc619246359bba8cfbd1 Cr-Commit-Position: refs/heads/master@{#296741}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -25 lines) Patch
M google_apis/gcm/base/socket_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M google_apis/gcm/base/socket_stream.cc View 4 chunks +8 lines, -3 lines 0 comments Download
M google_apis/gcm/base/socket_stream_unittest.cc View 7 chunks +18 lines, -18 lines 0 comments Download
M google_apis/gcm/engine/connection_handler_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Nicolas Zea
PTAL
6 years, 3 months ago (2014-09-24 23:34:15 UTC) #2
fgorski
lgtm. Could you document the expectation for the CHECKs? I mean they will crash the ...
6 years, 2 months ago (2014-09-25 17:29:56 UTC) #3
Nicolas Zea
On 2014/09/25 17:29:56, fgorski wrote: > lgtm. > > Could you document the expectation for ...
6 years, 2 months ago (2014-09-25 17:32:25 UTC) #4
fgorski
On 2014/09/25 17:32:25, Nicolas Zea wrote: > On 2014/09/25 17:29:56, fgorski wrote: > > lgtm. ...
6 years, 2 months ago (2014-09-25 17:35:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/600223003/1
6 years, 2 months ago (2014-09-25 17:46:39 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as 33f6c51a4c5fbc8a058fe3ffe7066502b480cf92
6 years, 2 months ago (2014-09-25 17:58:40 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-09-25 17:59:27 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f8bef1c6b2f9b3585af2dc619246359bba8cfbd1
Cr-Commit-Position: refs/heads/master@{#296741}

Powered by Google App Engine
This is Rietveld 408576698