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

Issue 2277133003: Fixed a crash in Chrome caused by duplicate certificates (Closed)

Created:
4 years, 3 months ago by Ivan Šandrk
Modified:
4 years, 3 months ago
Reviewers:
msw, emaxx
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed a crash in Chrome caused by duplicate certificates In some cases the certificates_ array would be empty thus selecting the first row (which is non-existing) would crash Chrome. BUG=630319 Committed: https://crrev.com/691e5d283a74fcc59967008d17f6068d071952fe Cr-Commit-Position: refs/heads/master@{#415352}

Patch Set 1 #

Patch Set 2 : Added comments, changed the fix #

Total comments: 9

Patch Set 3 : Nits #

Total comments: 8

Patch Set 4 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M chrome/browser/ui/views/certificate_selector.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (21 generated)
Ivan Šandrk
Emaxx ptal
4 years, 3 months ago (2016-08-25 16:42:34 UTC) #5
emaxx
lgtm with nits. And you also need the owners review for this change. https://codereview.chromium.org/2277133003/diff/20001/chrome/browser/ui/views/certificate_selector.cc File ...
4 years, 3 months ago (2016-08-29 14:16:40 UTC) #14
Ivan Šandrk
https://codereview.chromium.org/2277133003/diff/20001/chrome/browser/ui/views/certificate_selector.cc File chrome/browser/ui/views/certificate_selector.cc (right): https://codereview.chromium.org/2277133003/diff/20001/chrome/browser/ui/views/certificate_selector.cc#newcode133 chrome/browser/ui/views/certificate_selector.cc:133: // TODO(isandrk): See crbug.com/641440. A certificate that was previously ...
4 years, 3 months ago (2016-08-29 15:07:49 UTC) #15
Ivan Šandrk
Hi Mike, PTAL. Thanks! Ivan
4 years, 3 months ago (2016-08-29 15:51:22 UTC) #19
msw
https://codereview.chromium.org/2277133003/diff/40001/chrome/browser/ui/views/certificate_selector.cc File chrome/browser/ui/views/certificate_selector.cc (right): https://codereview.chromium.org/2277133003/diff/40001/chrome/browser/ui/views/certificate_selector.cc#newcode181 chrome/browser/ui/views/certificate_selector.cc:181: // TODO(isandrk): A certificate that was previously provided by ...
4 years, 3 months ago (2016-08-29 17:08:29 UTC) #20
Ivan Šandrk
https://codereview.chromium.org/2277133003/diff/40001/chrome/browser/ui/views/certificate_selector.cc File chrome/browser/ui/views/certificate_selector.cc (right): https://codereview.chromium.org/2277133003/diff/40001/chrome/browser/ui/views/certificate_selector.cc#newcode181 chrome/browser/ui/views/certificate_selector.cc:181: // TODO(isandrk): A certificate that was previously provided by ...
4 years, 3 months ago (2016-08-30 14:23:23 UTC) #23
msw
lgtm as a temporary workaround, please clean this up with the real fix.
4 years, 3 months ago (2016-08-30 17:03:44 UTC) #24
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/2277133003/60001
4 years, 3 months ago (2016-08-30 17:15:48 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-30 18:03:22 UTC) #29
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 18:06:22 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/691e5d283a74fcc59967008d17f6068d071952fe
Cr-Commit-Position: refs/heads/master@{#415352}

Powered by Google App Engine
This is Rietveld 408576698