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

Issue 1037123002: Work around a bug in the NCryptSignHash implementation of some smartcards. (Closed)

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

Description

Work around a bug in the NCryptSignHash implementation of some smartcards. Some smartcards do not properly handle the output length (either bounds checking or returning the output size) when the output buffer is non-NULL. Work around those by calling twice despite already having a pre-allocated buffer. BUG=470204 Committed: https://crrev.com/52850c1e665f3f18e3e6d6b9c46c7763e858c041 Cr-Commit-Position: refs/heads/master@{#322632}

Patch Set 1 #

Patch Set 2 : comments #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : sleevi comments #

Patch Set 5 : unnecessary churn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -8 lines) Patch
M net/ssl/openssl_platform_key_win.cc View 1 2 3 4 3 chunks +54 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
davidben
5 years, 9 months ago (2015-03-26 23:43:37 UTC) #2
Ryan Sleevi
lgtm https://codereview.chromium.org/1037123002/diff/40001/net/ssl/openssl_platform_key_win.cc File net/ssl/openssl_platform_key_win.cc (right): https://codereview.chromium.org/1037123002/diff/40001/net/ssl/openssl_platform_key_win.cc#newcode180 net/ssl/openssl_platform_key_win.cc:180: size_t* out_len, Why is this a size_t? Why ...
5 years, 9 months ago (2015-03-27 07:00:39 UTC) #3
davidben
https://codereview.chromium.org/1037123002/diff/40001/net/ssl/openssl_platform_key_win.cc File net/ssl/openssl_platform_key_win.cc (right): https://codereview.chromium.org/1037123002/diff/40001/net/ssl/openssl_platform_key_win.cc#newcode180 net/ssl/openssl_platform_key_win.cc:180: size_t* out_len, On 2015/03/27 07:00:38, Ryan Sleevi wrote: > ...
5 years, 9 months ago (2015-03-27 18:59:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1037123002/80001
5 years, 9 months ago (2015-03-27 19:00:08 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-27 20:24:51 UTC) #8
commit-bot: I haz the power
5 years, 9 months ago (2015-03-27 20:26:11 UTC) #9
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/52850c1e665f3f18e3e6d6b9c46c7763e858c041
Cr-Commit-Position: refs/heads/master@{#322632}

Powered by Google App Engine
This is Rietveld 408576698