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

Issue 1103603003: Gracefully handle NULL CertVerifiers in SSLClientSocket. (Closed)

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

Description

Gracefully handle NULL CertVerifiers in SSLClientSocket. remoting does this. It's in the sandbox, so X509Certificate handles usually aren't createable anyway. Explicitly check for this and return ERR_CERT_INVALID rather than crash should that not happen on accident. BUG=none

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M net/socket/ssl_client_socket_nss.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
davidben
We can also yell at remoting, but I suspect everyone in the sandbox does this. ...
5 years, 8 months ago (2015-04-23 00:57:12 UTC) #2
Ryan Sleevi
On 2015/04/23 00:57:12, David Benjamin (OOO sick) wrote: > We can also yell at remoting, ...
5 years, 8 months ago (2015-04-23 01:23:19 UTC) #3
davidben
On 2015/04/23 01:23:19, Ryan Sleevi wrote: > On 2015/04/23 00:57:12, David Benjamin (OOO sick) wrote: ...
5 years, 8 months ago (2015-04-23 01:33:39 UTC) #4
Ryan Sleevi
On 2015/04/23 01:33:39, David Benjamin (OOO sick) wrote: > I could stuff in a CertVerifier ...
5 years, 8 months ago (2015-04-23 01:44:27 UTC) #5
davidben
5 years, 8 months ago (2015-04-23 18:41:51 UTC) #6
(Closing this one since the new version isn't going to share any code anyway.)

Powered by Google App Engine
This is Rietveld 408576698