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

Issue 1263133002: Fix SSL bad clock interstitial crash (Closed)

Created:
5 years, 4 months ago by felt
Modified:
5 years, 4 months ago
Reviewers:
estark
CC:
chromium-reviews, asvitkine+watch_chromium.org, Nathan Parker
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix SSL bad clock interstitial crash security_interstitials::MetricsHelper shouldn't try to send Rappor reports if the Rappor report type hasn't been set, even if the caller specified a RapporService. A crash was happening because the MetricsHelper *was* trying to send reports with an invalid report type. The root cause of the bug is that the constructor was setting |rappor_service| instead of |rappor_service_|. BUG=515564 R=estark@chromium.org Committed: https://crrev.com/159abd0551976b9a6c5095314c0b7696b383f753 Cr-Commit-Position: refs/heads/master@{#341264}

Patch Set 1 : Ready for review #

Patch Set 2 : Same mistake on the next line #

Patch Set 3 : And for good measure, history_service_ too #

Total comments: 2

Patch Set 4 : I hate underscores (history service) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M components/security_interstitials/metrics_helper.cc View 1 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
felt
estark, PTAL? P.S. please be nice and muffle your laughter
5 years, 4 months ago (2015-07-31 00:26:55 UTC) #2
estark
I successfully did not laugh until I heard you curse and saw the "Same mistake ...
5 years, 4 months ago (2015-07-31 00:53:34 UTC) #3
felt
https://codereview.chromium.org/1263133002/diff/60001/components/security_interstitials/metrics_helper.cc File components/security_interstitials/metrics_helper.cc (right): https://codereview.chromium.org/1263133002/diff/60001/components/security_interstitials/metrics_helper.cc#newcode36 components/security_interstitials/metrics_helper.cc:36: if (history_service_) { On 2015/07/31 00:53:34, estark wrote: > ...
5 years, 4 months ago (2015-07-31 00:56:56 UTC) #4
estark
LGTM
5 years, 4 months ago (2015-07-31 00:59:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1263133002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1263133002/80001
5 years, 4 months ago (2015-07-31 01:33:23 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 4 months ago (2015-07-31 01:38:30 UTC) #8
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 01:39:07 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/159abd0551976b9a6c5095314c0b7696b383f753
Cr-Commit-Position: refs/heads/master@{#341264}

Powered by Google App Engine
This is Rietveld 408576698