Index: net/base/x509_certificate_win.cc |
=================================================================== |
--- net/base/x509_certificate_win.cc (revision 29830) |
+++ net/base/x509_certificate_win.cc (working copy) |
@@ -204,6 +204,12 @@ |
PCERT_RDN_ATTR rdn_attr = &rdn->rgRDNAttr[j]; |
if (strcmp(rdn_attr->pszObjId, szOID_COMMON_NAME) == 0) { |
switch (rdn_attr->dwValueType) { |
+ // After the CryptoAPI ASN.1 security vulnerabilities described in |
+ // http://www.microsoft.com/technet/security/Bulletin/MS09-056.mspx |
+ // were patched, we get CERT_RDN_ENCODED_BLOB for a common name |
+ // that contains a NULL character. |
+ case CERT_RDN_ENCODED_BLOB: |
+ break; |
// Array of 8-bit characters. |
case CERT_RDN_PRINTABLE_STRING: |
case CERT_RDN_TELETEX_STRING: |