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

Issue 1025523004: Removed implicit cast from size_t to int, prevent an unlikely but theoretically possible integer ov… (Closed)

Created:
5 years, 9 months ago by fahl
Modified:
5 years, 9 months ago
Reviewers:
felt, meacer
CC:
chromium-reviews, Ryan Sleevi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removed implicit cast from size_t to int, prevent an unlikely but theoretically possible integer overflow. BUG=none Committed: https://crrev.com/0d104215876d5e7737a76b505ec7a4b00a3e28b5 Cr-Commit-Position: refs/heads/master@{#321908}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Made it a void function since the return value is never used. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -11 lines) Patch
M chrome/browser/ssl/ssl_error_info.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ssl/ssl_error_info.cc View 1 3 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
fahl
5 years, 9 months ago (2015-03-23 21:45:05 UTC) #2
meacer
https://codereview.chromium.org/1025523004/diff/1/chrome/browser/ssl/ssl_error_info.h File chrome/browser/ssl/ssl_error_info.h (right): https://codereview.chromium.org/1025523004/diff/1/chrome/browser/ssl/ssl_error_info.h#newcode56 chrome/browser/ssl/ssl_error_info.h:56: static size_t GetErrorsForCertStatus(int cert_id, I was going to suggest ...
5 years, 9 months ago (2015-03-23 21:54:30 UTC) #3
fahl
On 2015/03/23 21:54:30, Mustafa Emre Acer wrote: > https://codereview.chromium.org/1025523004/diff/1/chrome/browser/ssl/ssl_error_info.h > File chrome/browser/ssl/ssl_error_info.h (right): > > ...
5 years, 9 months ago (2015-03-23 22:05:05 UTC) #4
felt
On 2015/03/23 22:05:05, fahl wrote: > On 2015/03/23 21:54:30, Mustafa Emre Acer wrote: > > ...
5 years, 9 months ago (2015-03-23 22:19:54 UTC) #5
fahl
5 years, 9 months ago (2015-03-23 22:44:35 UTC) #6
felt
lgtm, assuming the trybot gods are pleased with this offering
5 years, 9 months ago (2015-03-23 22:49:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1025523004/20001
5 years, 9 months ago (2015-03-23 23:29:58 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-24 00:25:11 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 00:26:12 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0d104215876d5e7737a76b505ec7a4b00a3e28b5
Cr-Commit-Position: refs/heads/master@{#321908}

Powered by Google App Engine
This is Rietveld 408576698