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

Issue 261016: Detect NULL characters in certificate Subject common... (Closed)

Created:
11 years, 2 months ago by wtc
Modified:
9 years, 7 months ago
Reviewers:
hawk
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

Detect NULL characters in certificate Subject common names. R=hawk BUG=24190 TEST=the X509CertificateTest.PaypalNullCertParsing test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28434

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : Add IA5String and VisibleString #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -17 lines) Patch
M net/base/x509_certificate_win.cc View 1 2 3 chunks +87 lines, -17 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
wtc
Adam, please review. I will also ask someone familiar with CryptoAPI to review this CL.
11 years, 2 months ago (2009-10-07 23:23:18 UTC) #1
hawk
http://codereview.chromium.org/261016/diff/1/2 File net/base/x509_certificate_win.cc (right): http://codereview.chromium.org/261016/diff/1/2#newcode216 Line 216: default: This will allow rarely-used string encodings through ...
11 years, 2 months ago (2009-10-07 23:51:59 UTC) #2
wtc
hawk: thanks for your review! http://codereview.chromium.org/261016/diff/1/2 File net/base/x509_certificate_win.cc (right): http://codereview.chromium.org/261016/diff/1/2#newcode216 Line 216: default: The reason ...
11 years, 2 months ago (2009-10-08 00:00:16 UTC) #3
abarth-chromium
I'm not familiar with the crypto API, but this looks great if it works. Thanks ...
11 years, 2 months ago (2009-10-08 01:44:57 UTC) #4
wtc
Adam, thanks for taking a look. I'll let hawk do the code review.
11 years, 2 months ago (2009-10-08 01:50:32 UTC) #5
wtc
hawk: How does Patch Set 2 look? http://codereview.chromium.org/261016/diff/1/2 File net/base/x509_certificate_win.cc (right): http://codereview.chromium.org/261016/diff/1/2#newcode216 Line 216: default: ...
11 years, 2 months ago (2009-10-08 18:38:59 UTC) #6
hawk
LGTM with one small change. If you haven't see it, Peter Gutmann's X.509 Style Guide ...
11 years, 2 months ago (2009-10-08 19:02:35 UTC) #7
wtc
11 years, 2 months ago (2009-10-08 20:35:17 UTC) #8
hawk: I made the change you suggested and committed the CL.
Thanks for the link to the X.509 Style Guide.  I knew about it but
have never read it.

Powered by Google App Engine
This is Rietveld 408576698